A more functional train microcontroller. Consists of an open-source Arduino microcontroller (http://arduino.cc/) with Lada Ada's motor shield kit (http://www.ladyada.net/make/mshield/). Power is coming from a 12V wall transformer which powers both the Arduino (at 5V), and the shield(at 12V). The shield provides pulse-width modulated DC to the rails. The microcontroller is programmed to control direction, maximum speed, and rate of change. I am using a momentary toggle switch with center off to increase or decrease speed. The computer is reading the current settings from the controller over a USB connection. Hitting the reset button automatically stops the train.
Are the trains that you're using equipped with stepper motors, or does PWM also work on DC motors? I've never tried to work with a DC motor in this case
uberstupidmove 1 month ago
awesome
numex106 2 years ago