Tamalpais Valley Railroad

We move stuff there and back again

 

Home

Community

Contact

Humor

Links

Wireless DCC

Arduino

Articles

Micro Book

X2011 Convention

LED Lighting

Donner Summit Progress

Feb 18 Frog Power

Jan 18 DIY DCC Decoders

Jan 8 - Donner Summit v3

Jan 6 09 - Slim Princess

Oct 23 - Sound Xperiment

Oct 15-Construction Start

Sep15 - Main St Colfax

Sep 1 08 - Focus Stacking

Aug 15 08 - Colfax Depot

Aug 4 08 New Layout 2

Jul 31 08 New Layout Plan

Jul 22 08 - Snow in Ogden

Jul 19 08 McCloud Railway

Jul 8 Solar and Profits

Jun 27 08 AC-12 4294

Jun 23 08 Donner Trip

Jun 19 08 SP GP9 #5623

Jun 18 08 Depth of Field

Jun 16 2008 Craftsman Kit

Jun 15 2008 Cab Forwards

Jun 14 2008 Rivet Count

Jun 13 2008 Why?

Jun 12 2008 White Balance

Jun 11 2008 Photography

Blog

Gallery

Gallery 2

Videos

Construction

How-to

Water

Trees

Grass

Terrain

Servo Switch Decoder

Trackplan

Prototype

SP Railroad Atlas

Click on picture to download Chapter 1
My New Project:
Microcontrollers for Model Railroads Book

Welcome to the start of a new electronics book for model railroaders, Microcontrollers for Model Railroads.  There are several books on model railroad electronics but most of them use old technology that you would never actually find on most modern day layouts.  The modern layout is filled with embedded microcontollers - they are in your DCC system, your locomotives, your circuit breakers. While, there are many hundreds of books out on microcontrollers, they almost all concentrate on projects that are not directly applicable to a model railroad.  This book is going to directly tackle the subject of
microcontrollers for model railroads.  This is not a topic for everyone but my feeling is that there are many of you that can tackle this subject and would like to read this book.  It would be a great opportunity for learning about embedded systems using your hobby. And many of you want to build more sophisticated electronics for your model railroad than can be done easily with passive components.

The book will cover building a grade crossing with train detection, flashing lights and servo actuated gates based on a PIC
microcontroller.  I picked this project because it covers numerous circuit modules that could be reused in a number of situations.  For example, the servo driver could just as easily be used to switch turnouts.

The first chapter is available for download.  The rest will come along slowly.  I have to fit this project in amongst my other projects and I suspect the time scale will be somewhat faster than continental drift - but maybe not much.  Please don't email me and ask when as it will only make them happen more slowly :-)  However, this first chapter makes a perfectly usable turnout control based on a servo and can also be used for animation projects.  That is why I decided to make it the first so it could standalone while I work on the rest.  Enjoy!


© Copyright 2012 by Duncan McRee, All Rights Rreserved - dmcree at tamvalleyrr dot com

Website powered by Network Solutions®