As mentioned elsewhere, I have resolved to start my garden RR with a battery system. Because I have more time than sense (and who among us does not), I plan to control the train with a system of my own design. The architecture is as follows: Bachmann Big Hauler, driven by NiCad battery. Motor speed by Pololu speed controller Speed controller managed by Xbee wireless link Xbee will be controlled by either an arduino in a dedicated device, or a pc or browser thing. We shall see. For today, step 1. I opened up the Loco, cut a coupla wires (feeding the smoke unit and holding the boiler to the chassis anyway), and connected them to the speed controller. The controller can be driven by PWM, USB, an analog signal, or Serial. For the test, we use USB and a 12V Bench Power supply. Success! Using the supplied program, I was immediately able to control speed very finely (3200 steps), as well as program in a really cool acceleration rate that should look good. Woo hoo! As a bonus, the controller looks like it’d fit perfectly in the front part of the boiler. Next step: Control it with serial commands like the xbee will use.

