01 May 2013
Three Rail Train Detection, using a 9 Vac Wall Wart.

Train Detection Whistle Interface PCB
[ Completed - 'As Is', no support to be provided ]
Schematic Diagram 01

Train Detection Whistle Interface PCB - Parts List
Component Description Part Number Retailer
C1 2200 uF, 16 Vdc Capacitor 609490 Jameco
C2 0.33 uF, 50 Vdc Capacitor 138237 Jameco
C3 0.1 uF, 50 Vdc Capacitor 544921 Jameco
D1 Full Wave Bridge Rectifier 103034 Jameco
D2, D3 1N4001 Diode 35991 Jameco
F1 0.5 A Fast Blow Fuse (4 Pack) 270-1003 Radio Shack
K1 5 Vdc, 0.04 A Relay 174450 Jameco
P1 2.5 mm Power male Connector 101187 Jameco
Q1 2N2222 NPN Transistor 38236 Jameco
R1 22 KΩ, 0.25 W Resistor (5 Pack) 271-1339 Radio Shack
R2, R3 10 KΩ, 0.25 W Resistor (5 Pack) 271-1335 Radio Shack
R4 4.7 KΩ, 0.25 W Resistor (5 Pack) 271-1124 Radio Shack
R5, R6, R7, R8 5 KΩ Linear Potentiometer 255549 Jameco
U1 PICAXE-14M2 PICAXE-14M2 Revolution Edu.
U2 LM 7805 5 V, 1 A Voltage Reg. 786138 Jameco
Misc. 9 Vdc, 1A Wall Adapter 2099905 Jameco
Fuse Holder 270-739 Radio Shack
Printed Circuit Boards (2 Pack) 276-159 Radio Shack

Three Rail Train Detection - 9 Vac Wall Wart
[ Completed - 'As Is', no support to be provided ]

Although this Block Diagram shows the AC Ground of the Distribution PCB connected to the Lockon
of the Lionel Transformer, it can connect to any non-insulated outside Rail anywhere along the layout.
Block Diagram 01
Includes Schematic Diagrams of Distribution PCB and Isolated Block Relay Board

Distribution PCB and Wall Wart - Parts List
Component Description Part Number Retailer
F1 0.5 A Fast Blow Fuse (4 Pack) 270-1003 Radio Shack
P1 2.1 mm Power male Connector 2144690 Jameco
Misc. 9 Vac, 1A Wall Adapter 202198 Jameco
Fuse Holder 270-739 Radio Shack
Printed Circuit Boards (2 Pack) 276-159 Radio Shack

Isolated Block Relay Board - Parts List
Component Description Part Number Retailer
D1 Full Wave Bridge Rectifier 103034 Jameco
D2 1N4001 Diode 35991 Jameco
K1 5 Vdc, 0.04 A Relay 174450 Jameco
R1 47 Ω, 0.5 W Resistor (100 Pack) 661183 Jameco
Misc. Printed Circuit Boards (2 Pack) 276-159 Radio Shack


PICAXE-14M2 Source Code.

PICAXE-14M2 Source Code.
(Actual Source Code '.txt.' file, provided 'as is', is here.)

PICAXE Home Page Link.

Track Crossing Two Track Train Detection Example
[ Completed - 'As Is', no support to be provided ]
The Wall Wart is a 9 Vac type. See Block Diagram 01, above, for the Isolated Block Relay Board Schematic.
Block Diagram 02

Return to Three Rail Train Detection Main Page
Created: 12.05.2013, Modified: 12.05.2013
©2008 - 2099, Alle Rechte vorbehalten, SJWL