- The previous design had all the electronics in a carriage towed behind the main engine. While this was asthetically nicer and would allow me to put a nice looking cover on the engine and keep all the electronics hidden, it was somewhat impractical. This was mainly because there were quite a few wires that needed to go between the electronics carriage and the engine (track power pickup +/-, motor drive +/-, front reed switch input. At this stage of the project I want to keep things as simple as possible, so I've moved everything onto a single engine. It's not pretty, but it's much easier to work with. Plus it looks like a robo-train from THE FUTURE, which I kinda like.
- Previously I used a DPDT relay wired in a crossover configuration to reverse the connections to the motor when the train was moving backwards. While I generally like to try and find an excuse to use a relay whenever I can (love that relay *click*), this was a bit of a silly solution - not least because it meant the train used considerably more current when reversing because of the relay coil. I'm now using a 2675 H-Bridge chip borrowed from my housemate for motor direction control. It's a nice little chip to use - although sadly it needs a 5v supply which means I've got two linear regulators on the board (the other is 3v). At some point I'll find a 3v H-bridge. Speed control is using PWM from the microcontroller.


The train firmware is very simple at the moment. It accepts messages on the radio from my PC that allow me to start/stop and set the speed. Each time it reaches a reed-switch (positioned at every end of my test track) it automatically stops and reverses direction. Here's an ever so slightly more exciting video!