53. MRH14-07-Jul2014-L - page 123

4
5. The LED above shows the state of the relay. When
the relay is open (off) the LED is off. When it is closed
the LED is on. An LED of any color or size can be used.
An optional “Start” button can be used to initiate each play-
back session, which is ideal for a public train display where
viewers push a button to start a train. As I mentioned in part 1,
I plan to install and use this controller at the Children’s Hospital
layout that I help to maintain.
This unit also makes an ideal point-to-point controller for a
trolley or small train. Adding diodes at each end of the track
creates two sync points that can provide a very repeatable
sequence of movements with an almost unlimited number of
station stops, pauses, reverses, and so-on.
4. This photo shows the board with everything but the
relay installed. The IR sensor has been removed and
a push button installed in its place. The pushbutton
connects to the two contacts on the IR sensor socket
that are closest to the PICAXE chip. The two switches
at the bottom are the play/record toggle switch and
the sync block push button switch. They have been
installed on short lengths of wire so that they can be
mounted externally.
5
PICAXE circuit part 2 - 3
MRH-Jul 2014
1...,113,114,115,116,117,118,119,120,121,122 124,125,126,127,128,129,130,131,132,133,...157
Powered by FlippingBook