Model Train Interface
With USB connection and Windows script editor
With this small circuit your model railway will have a few additional features and more intelligence, without the need to buy intelligent trains and other expensive model railway equipment.
Materials
Gerber file
CAM/CAD data for the PCB referred to in this article is available as a Gerber file. Elektor GREEN and GOLD members can exclusively download these files for free as part of their membership. Gerber files allow a PCB to be produced on an appropriate device available locally, or through an online PCB manufacturing service.
Elektor recommends the Elektor PCB Service service from its business partner Eurocircuits or AISLER as the best services for its own prototypes and volume production.
The use of our Gerber files is provided under a modified Creative Commons license. Creative Commons offers authors, scientists, educators and other creatives the freedom to handle their copyright in a more free way without losing their ownership.
Components
The BOM (Bill of Materials) is the technically exhaustive listing of parts and other hardware items used to produce the working and tested prototype of any Elektor Labs project. The BOM file contains deeper information than the Component List published for the same project in Elektor Magazine. If required the BOM gets updated directly by our lab engineers. As a reader, you can download the list here.
Want to learn more about our BOM list? Read the BOM list article for extra information.
Component list
R1,R2,R18,R19,R20 = 330Ohm
R3,R4 = 27Ohm
R5,R10,R12,R13,R14 = 10kOhm
R6,R7,R11,R21–R24 = 4.7kOhm
R8 = 100Ohm
R15 = 27Ohm 1W
R16 = 3.9Ohm 5W
R17 = 1kOhm
P1 = 10kOhm preset
Capacitors
C1–C4,C7–C11,C13 = 100nF
C5,C6 = 22pF
C12 = 3.3µF MKT, lead pitch 15mm
Inductors
L1,L2 = choke, 330µH, 0.9A, 0.32Ohm (e.g. Panasonic ELC10D331E, Farnell # 1749073)
Semiconductors
D1,D2,D8 = 1N4004
D3,D6 = LED, green, 5 mm
D4 = LED, yellow, 5 mm
D5 = LED, red, 5 mm
D7 = LED, blue, 5 mm
T1 = BC547
T2 = BC557
T3 = FQP12N60
IC1 = PIC18F4455-I/P (programmed, Elektor # 120351-41)
IC2 = 7805
IC3 = 40106
IC4,IC5 = LM311
Miscellaneous
RE1,RE2 = PCB relay, 5V (e.g. V23106-A5401-A201)
LCD1 = LCD 2x20 characters with backlight (e.g. Midas MC22005A6W-SPTLY)
ENC1 = rotary encoder w. pushbutton (e.g. Bourns PEC11-4230F-S0024)
K1,K2 = 2-way PCB screw terminal block, pitch 5mm
K3 = 5-pin SIL pinheader
K4 = USB-B connector, right angled, PCB mount
S1 = pushbutton (e.g. Omron B3F-3100)
X1 = 24MHz quartz crystal
PCB # 120351-1
Discussion (0 comments)