PICAXE circuit - 9
Parts list and kit availability
The parts used to build the controller include:
PICAXE 18M2
18 pin socket
circuit board
L298N H-bridge
7805 voltage regulator
4 @ 2 amp Schottky diodes or 1N4001 silicon diodes
3 @ 0.1 mfd bypass capacitors
4.7 mf tantalum capacitor
3 @ 5mm LEDs, red, green, amber
3 @ 3mm LEDs, blue, green, amber
6 @ 470 ohm resistors
10K resistor
22K resistor
Vishay TSOP4838 infrared receiver
3 pin header for programming
2 @ 2 pin headers for power to track and DC power in
heat sink for L298N
fuse or poly fuse - 3 amps - either in the power supply or added
between the power supply and circuit board
TV remote control that can generate Sony codes
Dave Bodnar’s interest in microcon-
trollers, electronics and computers
fits beautifully into model railroading
and allows him to solve his and cli-
ents’ model railroad challenges.
Dave has three railroads. The first is
in the back yard, traversing more than
200 feet of track over two bridges,
through tunnels and past a garden
pond. The second railroad is an HO
module he sets up at various train
and community events with other members of the South
Hills Model Railroad Club. His third railroad is one built by
Dave and other members of the Pittsburgh Garden Railway
Society at Pittsburgh’s Children’s Hospital.
His website,
, contains scores of arti-
cles on his various projects. Many of his presentations are
also on YouTube.
When he is not in his workshop, you will usually find him
on his road bike traversing the back roads in Western
Pennsylvania.
Kit available from the author
I sell a kit that contains all the parts shown in the article. Just
email
All you need is a power supply
and a motor to control. The cost of the kit is $65 + shipping. I
can also supply a wired and tested unit, but I hope most read-
ers will enjoy the experience of building the kit themselves.
MRH-Jun 2014