RailroadShield

Fork project on GitHub

Arduino shield with various DCC Cab Bus and control interfaces

RailroadShield-09
RailroadShield-09
RailroadShield-2.1
RailroadShield-2.1
RailroadShield-08
RailroadShield-08
RailroadShield-03
RailroadShield-03
RailroadShield-02
RailroadShield-02
RailroadShield-01
RailroadShield-01
ControlPointStack-Prototype1
ControlPointStack-Prototype1
RailroadShield-05
RailroadShield-05
RailroadShield-11
RailroadShield-11
RailroadShield-10
RailroadShield-10
RailroadShield-04
RailroadShield-04
RailroadShield-12
RailroadShield-12
RailroadShield-06
RailroadShield-06
RailroadShield-07
RailroadShield-07
RailroadShield-13
RailroadShield-13

 

 

RailroadShield Version 2.5

First built: 2011-07

Not tested or validated

UPDATE Added Open Source Hardware labeling

Schematic
Schematic
Bot Silk
Bot Silk
Board
Board
Top Silk
Top Silk

Download RailroadShield.gerbers.zip - Gerber Fabrication files
Download RailroadShield.parts - Parts List (spreadsheet data)

 

RailroadShield.bom

Parts Value Package Quantity Library Type/Feeder
C1, C2, C3, C4, C5, C6 0.01uf 0805 6x MCP NONE
R8, R9, R14 1k R0805 3x rcl NONE
R1 4k7 R0805 1x rcl NONE
U8 6N137SD SM8 1x MCP NONE
R12, R13 10k R0805 2x rcl NONE
Y1 16Mhz 81-CSTLS16M0X53-B0 RESONATOR-PTH 1x MCP PTH
R2 18R R0805 1x rcl NONE
R3 27k R0805 1x rcl NONE
R4 39k R0805 1x rcl NONE
R5 47k R0805 1x rcl NONE
R10 82R R0805 1x rcl NONE
R11 100k R0805 1x rcl NONE
R6 150k R0805 1x rcl NONE
R7 240k R0805 1x rcl NONE
RN1 660R SIL5 1x resistor-sil PTH
RN2 660R SIL8 1x resistor-sil PTH
SV1, SV2 929850-01-15 FE15 2x con-lsta PTH
J1, J2, J3 5520250-3 RJ11-NO_SHIELD 3x MCP PTH
J4, J5 5520426-4 RJ45-NO-SHIELD 2x MCP PTH
U$1 ARDUINODUEMILANOVE ARDUINO-BIGSHIELD 1x MCP PTH
S5 B3F-1000 B3F-10XX 1x MCP PTH
S1, S2, S3, S4 B3F-1052 B3F-10XX 4x MCP PTH
D1, D2 BAV199 SOT23 2x diode 12
LED1, LED6 Blue CHIP-LED0805 2x MCP NONE
JP8 CANPWR 1X02_LOCK 1x MCP PTH
JP2 CMRI Shield 1X02_LOCK 1x MCP PTH
LED2 Gold CHIP-LED0805 1x MCP NONE
LED3, LED4 Green CHIP-LED0805 2x MCP NONE
J6, J7 KK-156-5 KK-156-5 2x MCP PTH
U7 LM317LCDR SO08 1x MCP NONE
U1 LM393M SO08 1x MCP NONE
JP1 LN-TERM 1X02_LOCK 1x MCP PTH
U4, U5, U6 MAX3468CSA SO08 3x MCP NONE
U2 MCP2515-SO SO-18W 1x MCP NONE
U3 MCP2551-SN SO-08 1x MCP NONE
J8 MSTB-02 MSTBV2 1x MCP PTH
JP9 NCEPWR 1X02_LOCK 1x MCP PTH
U$2 OSHW-LOGOM OSHW-LOGO-M 1x SparkFun PTH
Q1 PMBT2222 SOT23-3 1x MCP NONE
F1 PTCPTH PTC 1x SparkFun PTH
LED5 Yellow CHIP-LED0805 1x MCP NONE
L1 ZJYS51R5-2P ZJYS 1x MCP NONE

RailroadShield Version 2.4

First built: 2011-07

UPDATE Fixed the DRC problems

Schematic
Schematic
Bot Silk
Bot Silk
Board
Board
Top Silk
Top Silk

Download RailroadShield - CHMT Component and feeder definitions
Download RailroadShield.gerbers.zip - Gerber Fabrication files
Download RailroadShield.parts - Parts List (spreadsheet data)

 

RailroadShield.bom

Parts Value Package Quantity Library Type/Feeder
C1, C2, C3, C4, C5, C6 0.01uf 0805 6x MCP NONE
R8, R9, R14 1k R0805 3x rcl NONE
R1 4k7 R0805 1x rcl NONE
U8 6N137SD SM8 1x MCP NONE
R12, R13 10k R0805 2x rcl NONE
Y1 16Mhz 81-CSTLS16M0X53-B0 RESONATOR-PTH 1x MCP PTH
R2 18R R0805 1x rcl NONE
R3 27k R0805 1x rcl NONE
R4 39k R0805 1x rcl NONE
R5 47k R0805 1x rcl NONE
R10 82R R0805 1x rcl NONE
R11 100k R0805 1x rcl NONE
R6 150k R0805 1x rcl NONE
R7 240k R0805 1x rcl NONE
RN1 660R SIL5 1x resistor-sil PTH
RN2 660R SIL8 1x resistor-sil PTH
SV1, SV2 929850-01-15 FE15 2x con-lsta PTH
J1, J2, J3 5520250-3 RJ11-NO_SHIELD 3x MCP PTH
J4, J5 5520426-4 RJ45-NO-SHIELD 2x MCP PTH
U$1 ARDUINODUEMILANOVE ARDUINO-BIGSHIELD 1x MCP PTH
S5 B3F-1000 B3F-10XX 1x MCP PTH
S1, S2, S3, S4 B3F-1052 B3F-10XX 4x MCP PTH
D1, D2 BAV199 SOT23 2x diode 47
LED1, LED6 Blue CHIP-LED0805 2x MCP NONE
JP8 CANPWR 1X02_LOCK 1x MCP PTH
JP2 CMRI Shield 1X02_LOCK 1x MCP PTH
LED2 Gold CHIP-LED0805 1x MCP NONE
LED3, LED4 Green CHIP-LED0805 2x MCP NONE
J6, J7 KK-156-5 KK-156-5 2x MCP PTH
U7 LM317LCDR SO08 1x MCP NONE
U1 LM393M SO08 1x MCP NONE
JP1 LN-TERM 1X02_LOCK 1x MCP PTH
U4, U5, U6 MAX3468CSA SO08 3x MCP NONE
U2 MCP2515-SO SO-18W 1x MCP NONE
U3 MCP2551-SN SO-08 1x MCP NONE
J8 MSTB-02 MSTBV2 1x MCP PTH
JP9 NCEPWR 1X02_LOCK 1x MCP PTH
Q1 PMBT2222 SOT23-3 1x MCP NONE
F1 PTCPTH PTC 1x SparkFun PTH
LED5 Yellow CHIP-LED0805 1x MCP NONE
L1 ZJYS51R5-2P ZJYS 1x MCP NONE

RailroadShield Version 2.3

First built: 2011-07

UPDATE I rev’d the board to 2.3, with SMT ICs, SOT23-3 diodes and a jumper block for all the I/O interconnects. There are a couple of DRC tight clearance problems that I missed:

  1. RailroadShield 2.3 PCB DRC Error #1 the DCC connector (J8) pad1 is close to a trace on the top layer
  2. RailroadShield 2.3 PCB DRC Error #2 there is a via situated between the jumper blocks SV1 & SV3 (by D6/LoconetRX) that is close to a trace on the bottom layer.

To see if there are problems, use an ohmmeter across the DCC jack - if there is continuity, use an exacto knife to trim the pad away from the trace; similarly, check between “yIO” and “A2” - if there is a connection, fix the bottom layer trace/via short.

Schematic
Schematic
Bot Silk
Bot Silk
Board
Board
Top Silk
Top Silk

Download RailroadShield - CHMT Component and feeder definitions
Download RailroadShield.gerbers.zip - Gerber Fabrication files
Download RailroadShield.parts - Parts List (spreadsheet data)

 

RailroadShield.bom

Parts Value Package Quantity Library Type/Feeder
C1, C2, C3, C4, C5, C6 0.01uf 0805 6x MCP NONE
R8, R9, R14 1k R0805 3x rcl NONE
D1, D2 1N4448WT SOT23-3 2x MCP NONE
R1 4k7 R0805 1x rcl NONE
U8 6N137SD SM8 1x MCP NONE
R12, R13 10k R0805 2x rcl NONE
Y1 16Mhz RESONATOR-PTH 1x MCP PTH
R2 18R R0805 1x rcl NONE
R3 27k R0805 1x rcl NONE
R4 39k R0805 1x rcl NONE
R5 47k R0805 1x rcl NONE
R10 82R R0805 1x rcl NONE
R11 100k R0805 1x rcl NONE
R6 150k R0805 1x rcl NONE
R7 240k R0805 1x rcl NONE
RN1 660R SIL5 1x resistor-sil PTH
RN2 660R SIL8 1x resistor-sil PTH
J1, J2, J3 5520250-3 RJ11-NO_SHIELD 3x MCP PTH
J4, J5 5520426-4 RJ45-NO-SHIELD 2x MCP PTH
SV1, SV2   FE15 2x con-lsta PTH
U$1 ARDUINODUEMILANOVE ARDUINO-BIGSHIELD 1x MCP PTH
S5 B3F-1000 B3F-10XX 1x MCP PTH
S1, S2, S3, S4 B3F-1052 B3F-10XX 4x MCP PTH
LED1 Blue CHIP-LED0805 1x MCP NONE
JP8 CANPWR 1X02_LOCK 1x MCP PTH
LED5 DCC CHIP-LED0805 1x MCP NONE
LED2 Gold CHIP-LED0805 1x MCP NONE
LED3, LED4 Green CHIP-LED0805 2x MCP NONE
J6, J7 KK-156-5 KK-156-5 2x MCP PTH
U7 LM317LCDR SO08 1x MCP NONE
U1 LM393M SO08 1x MCP NONE
JP1 LN-TERM 1X02_LOCK 1x MCP PTH
LED6 Loconet CHIP-LED0805 1x MCP NONE
U4, U5, U6 MAX3468CSA SO08 3x MCP NONE
U2 MCP2515-SO SO-18W 1x MCP NONE
U3 MCP2551-SN SO-08 1x MCP NONE
J8 MSTB-02 MSTBV2 1x MCP PTH
JP9 NCEPWR 1X02_LOCK 1x MCP PTH
Q1 PMBT2222 SOT23-3 1x MCP NONE
JP2 ShieldGnd 1X02_LOCK 1x MCP PTH
L1 ZJYS51R5-2P ZJYS 1x MCP NONE

RailroadShield Version 2.2

First built: 2010-10

UPDATE Converted to SMT chip packaging for better prices and simpler board production

Schematic
Schematic
Bot Silk
Bot Silk
Board
Board
Top Silk
Top Silk

Download RailroadShield - CHMT Component and feeder definitions
Download RailroadShield.gerbers.zip - Gerber Fabrication files
Download RailroadShield.parts - Parts List (spreadsheet data)

 

RailroadShield.bom

Parts Value Package Quantity Library Type/Feeder
C1, C2, C3, C4, C5, C6 0.01uf 0805 6x MCP NONE
R8, R9, R14 1k R0805 3x rcl NONE
D1, D2 1N4448WT SOD-323 2x MCP NONE
R1 4k7 R0805 1x rcl NONE
U8 6N137SD SM8 1x MCP NONE
R12, R13 10k R0805 2x rcl NONE
Y1 16Mhz RESONATOR-PTH 1x MCP PTH
R2 18R R0805 1x rcl NONE
R3 27k R0805 1x rcl NONE
R4 39k R0805 1x rcl NONE
R5 47k R0805 1x rcl NONE
R10 82R R0805 1x rcl NONE
R11 100k R0805 1x rcl NONE
R6 150k R0805 1x rcl NONE
R7 240k R0805 1x rcl NONE
R15, R16, R17, R18, R19, R20, R21, R22 660R 0805 8x MCP NONE
J1, J2, J3 5520250-3 RJ11-NO_SHIELD 3x MCP PTH
J4, J5 5520426-4 RJ45-NO-SHIELD 2x MCP PTH
U$1 ARDUINODUEMILANOVE ARDUINO-BIGSHIELD 1x MCP PTH
S5 B3F-1000 B3F-10XX 1x MCP PTH
S1, S2, S3, S4 B3F-1052 B3F-10XX 4x MCP PTH
LED1 Blue CHIP-LED0805 1x MCP NONE
JP8 CANPWR 1X02_LOCK 1x MCP PTH
LED5 DCC CHIP-LED0805 1x MCP NONE
JP4 EN 1X03 1x MCP PTH
LED2 Gold CHIP-LED0805 1x MCP NONE
LED3, LED4 Green CHIP-LED0805 2x MCP NONE
J6, J7 KK-156-5 KK-156-5 2x MCP PTH
U7 LM317LCDR SO08 1x MCP NONE
U1 LM393M SO08 1x MCP NONE
JP1 LN-TERM 1X02_LOCK 1x MCP PTH
JP7 LNTX 1X02_LOCK 1x MCP PTH
LED6 Loconet CHIP-LED0805 1x MCP NONE
JP6 MA04-2 MA04-2 1x MCP PTH
U4, U5, U6 MAX3468CSA SO08 3x MCP NONE
U2 MCP2515-ST TSSOP20 1x MCP NONE
U3 MCP2551-SN SO-08 1x MCP NONE
J8 MSTB-02 MSTBV2 1x MCP PTH
JP9 NCEPWR 1X02_LOCK 1x MCP PTH
Q1 PMBT2222 SOT23-3 1x MCP NONE
JP3 RxD 1X03 1x MCP PTH
JP2 RXD-LN 1X03 1x MCP PTH
JP5 TxD 1X03 1x MCP PTH
L1 ZJYS51R5-2P ZJYS 1x MCP NONE

RailroadShield Version 2.1smd

First built: 2010-10

Converting to SMD parts for ease of assembly

Schematic
Schematic
Bot Silk
Bot Silk
Board
Board
Top Silk
Top Silk

Download RailroadShield - CHMT Component and feeder definitions
Download RailroadShield.gerbers.zip - Gerber Fabrication files
Download RailroadShield.parts - Parts List (spreadsheet data)

 

RailroadShield.bom

Parts Value Package Quantity Library Type/Feeder
R14 1K 0402-RES 1x SparkFun NONE
R8, R9 1K R0402 2x rcl NONE
R1 4k7 R0402 1x rcl NONE
J6, J7 5-pin Molex KK-156-5 2x con-molex PTH
U8 6N137 DIL08 1x optocoupler PTH
R12 10K 0402-RES 1x SparkFun NONE
R13 10k R0402 1x rcl NONE
R2 15R R0402 1x rcl NONE
Y1 16Mhz RESONATOR-PTH 1x SparkFun PTH
R3 27k R0402 1x rcl NONE
R4 39k R0402 1x rcl NONE
R5 47k R0402 1x rcl NONE
R10 82R R0402 1x rcl NONE
R11 100k R0402 1x rcl NONE
R6 150k R0402 1x rcl NONE
R7 240k R0402 1x rcl NONE
R15, R16, R17, R18, R19, R20, R21, R22 680R R0402 8x rcl NONE
S1, S2, S3, S4 611-PTS645SH70LFS B3F-10XX 4x switch-omron PTH
S5   B3F-10XX 1x switch-omron PTH
JP9   MA04-2 1x con-lstb PTH
D1, D2   SOT23-3 2x SparkFun NONE
C1, C2, C3, C5, C6, C7 .1uF 0402-CAP 6x SparkFun NONE
J9 .200 2-pin MSTBV2 1x con-phoenix-500 PTH
MOD1 ARDUINO DUEMILANOVE ARDUINO-BIGSHIELD 1x microbuilder PTH
Q2 BC817-16LT1G SOT23-3 1x SparkFun NONE
LED1 Blue CHIP-LED0805 1x MCP NONE
JP8 CAN-CS 1X02 1x SparkFun PTH
JP3 CAN-INT 1X02 1x SparkFun PTH
LED5 DCC CHIP-LED0805 1x MCP NONE
JP6 EN 1X03 1x SparkFun PTH
LED2 Gold CHIP-LED0805 1x MCP NONE
U7 LM317LM SO08 1x linear NONE
U1 LM393M SO08 1x MCP NONE
JP1 LN_TERM 1X02 1x SparkFun PTH
LED6 Loconet CHIP-LED0805 1x MCP NONE
U4, U5, U6 MAX3468CSA SO08 3x maxim NONE
U2 MCP2515-SO SO-18W 1x MCP NONE
U3 MCP2551-SN SO-08 1x MCP NONE
LED3, LED4 Red CHIP-LED0805 2x MCP NONE
J1, J2, J3 RJ12 520250-3 3x con-amp PTH
J4, J5 RJ45 RJ45-NO-SHIELD 2x con-tycoelectronics PTH
JP5 RXD 1X03 1x SparkFun PTH
JP2 RXD-LN 1X03 1x SparkFun PTH
JP4 TXD 1X02 1x SparkFun PTH
JP7 TXD 1X03 1x SparkFun PTH
L1 ZJYS51R5-2P ZJYS 1x MCP NONE

RailroadShield Version 2.1

First built: 2010-10, 2012-03

UPDATE More prototyping and experimentation Made a small production run Nit: The diodes I used in this version are too small to see the polarity banding, which makes assembly difficult! The first batch is out in the hands of OpenLCB developers, and seems to be working well - except for the overloading of D10 by the CAN SPI code, one of the buttons and the ethernet SPI shield… Sigh.

Schematic
Schematic
Bot Silk
Bot Silk
Board
Board
Top Silk
Top Silk

Download RailroadShield - CHMT Component and feeder definitions
Download RailroadShield.gerbers.zip - Gerber Fabrication files
Download RailroadShield.parts - Parts List (spreadsheet data)

 

RailroadShield.bom

Parts Value Package Quantity Library Type/Feeder
C1, C2, C3, C4, C5, C6 0.01uf 0805 6x MCP NONE
R8, R9, R14 1k R0805 3x rcl NONE
R1 4k7 R0805 1x rcl NONE
U8 6N137 DIL08 1x optocoupler PTH
R12, R13 10k R0805 2x rcl NONE
Y1 16Mhz RESONATOR-PTH 1x MCP PTH
R2 18R R0805 1x rcl NONE
R3 27k R0805 1x rcl NONE
R4 39k R0805 1x rcl NONE
R5 47k R0805 1x rcl NONE
R10 82R R0805 1x rcl NONE
R11 100k R0805 1x rcl NONE
R6 150k R0805 1x rcl NONE
R7 240k R0805 1x rcl NONE
R15, R16, R17, R18, R19, R20, R21, R22 660R 0805 8x MCP NONE
J1, J2, J3 5520250-3 RJ11-NO_SHIELD 3x MCP PTH
J4, J5 5520426-4 RJ45-NO-SHIELD 2x MCP PTH
U$1 ARDUINODUEMILANOVE ARDUINO-BIGSHIELD 1x MCP PTH
S5 B3F-1000 B3F-10XX 1x MCP PTH
S1, S2, S3, S4 B3F-1052 B3F-10XX 4x MCP PTH
D1, D2 BAV199 SOT23 2x diode 47
LED1 Blue CHIP-LED0805 1x MCP NONE
LED5 DCC CHIP-LED0805 1x MCP NONE
JP4 EN 1X03 1x MCP PTH
LED2 Gold CHIP-LED0805 1x MCP NONE
LED3, LED4 Green CHIP-LED0805 2x MCP NONE
J6, J7 KK-156-5 KK-156-5 2x MCP PTH
U7 LM317LD SO08 1x MCP NONE
U1 LM393N DIL08 1x MCP PTH
JP1 LN-TERM 1X02_LOCK 1x MCP PTH
JP7 LNTX 1X02_LOCK 1x MCP PTH
LED6 Loconet CHIP-LED0805 1x MCP NONE
JP6 MA04-2 MA04-2 1x MCP PTH
U4, U5, U6 MAX3468CPA DIL08 3x MCP PTH
U2 MCP2515-P DIL18 1x MCP PTH
U3 MCP2551-P DIL08 1x MCP PTH
J8 MSTB-02 MSTBV2 1x MCP PTH
Q1 PMBT2222 SOT23-3 1x MCP NONE
JP3 RxD 1X03 1x MCP PTH
JP2 RXD-LN 1X03 1x MCP PTH
JP5 TxD 1X03 1x MCP PTH
L1 ZJYS51R5-2P ZJYS 1x MCP NONE

RailroadShield Version 2.0

First built: 2010-10

UPDATE Convert to Arduino Shield formfactor

Schematic
Schematic
Bot Silk
Bot Silk
Board
Board
Top Silk
Top Silk

Download RailroadShield - CHMT Component and feeder definitions
Download RailroadShield.gerbers.zip - Gerber Fabrication files
Download RailroadShield.parts - Parts List (spreadsheet data)

 

RailroadShield.bom

Parts Value Package Quantity Library Type/Feeder
R14 1K 1206 1x SparkFun NONE
R8 1k R1206 1x rcl NONE
D1, D2 1N4004 DO41-10 2x diode PTH
Q1 2N3904 TO92 1x transistor PTH
R2 4k7 R1206 1x rcl NONE
X1, X2 5-pin Molex KK-156-5 2x con-molex PTH
U8 6N137 DIL08 1x optocoupler PTH
R12 10K 1206 1x SparkFun NONE
R13 10k R1206 1x rcl NONE
R1 15R R1206 1x rcl NONE
Y1 16Mhz RESONATOR-PTH 1x SparkFun PTH
R3 27k R1206 1x rcl NONE
R4 39k R1206 1x rcl NONE
R5 47k R1206 1x rcl NONE
R10 82R R1206 1x rcl NONE
R11 100k R1206 1x rcl NONE
R6 150k R1206 1x rcl NONE
R7 240k R1206 1x rcl NONE
R9 470R R1206 1x rcl NONE
X3   MSTBV2 1x con-phoenix-500 PTH
C1, C2, C3, C5, C6, C7 .1uF CAP-PTH-SMALL2 6x SparkFun PTH
MOD1 ARDUINO DUEMILANOVE ARDUINO-BIGSHIELD 1x microbuilder PTH
LED5 DCC CHIP-LED0805 1x MCP NONE
JP6 EN 1X03 1x SparkFun PTH
U4 LM317LD SO08 1x linear NONE
U1 LM393N DIL08 1x MCP PTH
JP1 LN_TERM 1X02 1x SparkFun PTH
LED4 Loconet CHIP-LED0805 1x MCP NONE
U5, U6, U7 MAX3468CPA DIL08 3x maxim PTH
U2 MCP2515-P DIL18 1x MCP PTH
U3 MCP2551-P DIL08 1x MCP PTH
J1, J2, J3 RJ12 520250-3 3x con-amp PTH
J4, J5 RJ45 RJ45-NO-SHIELD 2x con-tycoelectronics PTH
JP5 RXD 1X03 1x SparkFun PTH
JP2 RXD-LN 1X03 1x SparkFun PTH
JP7 TXD 1X03 1x SparkFun PTH
L1 ZJYS51R5-2P ZJYS 1x MCP NONE

RailroadShield Version 1.3

First built: 2010-09

Schematic
Schematic
Bot Silk
Bot Silk
Board
Board
Top Silk
Top Silk

Download RailroadShield - CHMT Component and feeder definitions
Download RailroadShield.gerbers.zip - Gerber Fabrication files
Download RailroadShield.parts - Parts List (spreadsheet data)

 

RailroadShield.bom

Parts Value Package Quantity Library Type/Feeder
C3, C4 0.1uf CAP-PTH-SMALL2 2x SparkFun PTH
R8 1k R1206W 1x rcl NONE
Q1 2N3904 TO92 1x transistor PTH
R2 4k7 R1206W 1x rcl NONE
R24 10k R1206W 1x rcl NONE
Y1 16Mhz RESONATOR-PTH 1x SparkFun PTH
R3 27k R1206W 1x rcl NONE
R4 39k R1206W 1x rcl NONE
R5 47k R1206W 1x rcl NONE
R1 47R R1206W 1x rcl NONE
R10 82R R1206W 1x rcl NONE
R6 150k R1206W 1x rcl NONE
R7 240k R1206W 1x rcl NONE
R9, R21, R22, R23 470R R1206W 4x rcl NONE
JP1   1X02 1x SparkFun PTH
JP4, JP5   1X02_LOCK 2x SparkFun PTH
SV2   MA05-1 1x con-lstb PTH
J2, J3   MA09-1 2x con-lstb PTH
LED1, LED2, LED3, LED4   Q62902-B155 4x MCP PTH
U4 LM317LD SO08 1x linear NONE
U1 LM393N DIL08 1x MCP PTH
U2 MCP2515-P DIL18 1x MCP PTH
U3 MCP2551-P DIL08 1x MCP PTH
J6, J7 RJ12 520250-3 2x con-amp PTH
J4, J5 RJ45-8X RJ45-NO-SHIELD 2x con-tycoelectronics PTH
L1 ZJYS51R5-2P ZJYS 1x MCP NONE

RailroadShield Version 1.2

First built: 2010-07

Schematic
Schematic
Bot Silk
Bot Silk
Board
Board
Top Silk
Top Silk

Download RailroadShield - CHMT Component and feeder definitions
Download RailroadShield.gerbers.zip - Gerber Fabrication files
Download RailroadShield.parts - Parts List (spreadsheet data)

 

RailroadShield.bom

Parts Value Package Quantity Library Type/Feeder
C3, C4 0.1uf CAP-PTH-SMALL2 2x SparkFun PTH
R7 1k R1206W 1x rcl NONE
Q1 2N3904 TO92 1x transistor PTH
R1 4k7 R1206W 1x rcl NONE
R13 10k R1206W 1x rcl NONE
C1, C2 20pf 0603-CAP 2x SparkFun NONE
R2 27k R1206W 1x rcl NONE
R3 39k R1206W 1x rcl NONE
R4 47k R1206W 1x rcl NONE
R14 47R R1206W 1x rcl NONE
R8 120R R1206W 1x rcl NONE
R5 150k R1206W 1x rcl NONE
R6 240k R1206W 1x rcl NONE
R9, R10, R11, R12 470R R1206W 4x rcl NONE
JP1   1X02 1x pinhead PTH
X16M   HC49/S 1x crystal PTH
J2, J3   MA09-1 2x con-lstb PTH
LED1, LED2, LED3, LED4   Q62902-B155 4x MCP PTH
J1 I2C MA04-1 1x con-lstb PTH
JP4 J-04-100-2X02 HDR-100-2X02 1x con-headers-jp PTH
U1 LM393N DIL08 1x MCP PTH
JP2, JP3 M11LOCK 1X11_LOCK 2x SparkFun PTH
U2 MCP2515-P DIL18 1x MCP PTH
U3 MCP2551-P DIL08 1x MCP PTH
J4 MST4V MSTBV4 1x con-phoenix-508 PTH
Y1 RESONATORPTH RESONATOR-PTH 1x SparkFun PTH
J5, J6 RJ12 520250-3 2x con-amp PTH
L1 ZJYS51R5-2P ZJYS 1x MCP NONE

RailroadShield Version 1.1

First built: 2010-06

UPDATE I ordered 10x boards from SeeedStudio I also placed a Mouser order for all the parts except for the LM317LD, which nobody has in stock and the ‘duino headers, which I order from SAMTEK The board cost $4, the parts come to $30 + shipping. UPDATE The boards came in and I’ve built up one for testing - the LEDs and Loconet parts work, and I’m trying to understand the openLCB code…

Schematic
Schematic
Bot Silk
Bot Silk
Board
Board
Top Silk
Top Silk

Download RailroadShield - CHMT Component and feeder definitions
Download RailroadShield.gerbers.zip - Gerber Fabrication files
Download RailroadShield.parts - Parts List (spreadsheet data)

 

RailroadShield.bom

Parts Value Package Quantity Library Type/Feeder
C3, C4 0.1uf CAP-PTH-SMALL2 2x SparkFun PTH
R7 1k R1206W 1x rcl NONE
Q1 2N3904 TO92 1x transistor PTH
R1 4k7 R1206W 1x rcl NONE
R13 10k R1206W 1x rcl NONE
C1, C2 20pf 0603-CAP 2x SparkFun NONE
R2 27k R1206W 1x rcl NONE
R3 39k R1206W 1x rcl NONE
R4 47k R1206W 1x rcl NONE
R14 47R R1206W 1x rcl NONE
R8 120R R1206W 1x rcl NONE
R5 150k R1206W 1x rcl NONE
R6 240k R1206W 1x rcl NONE
R9, R10, R11, R12 470R R1206W 4x rcl NONE
JP1   1X02 1x pinhead PTH
X16M   HC49/S 1x crystal PTH
J2, J3   MA09-1 2x con-lstb PTH
LED1, LED2, LED3, LED4   Q62902-B155 4x MCP PTH
J1 I2C MA04-1 1x con-lstb PTH
JP4 J-04-100-2X02 HDR-100-2X02 1x con-headers-jp PTH
U1 LM393N DIL08 1x MCP PTH
JP2, JP3 M11LOCK 1X11_LOCK 2x SparkFun PTH
U2 MCP2515-P DIL18 1x MCP PTH
U3 MCP2551-P DIL08 1x MCP PTH
J4 MST4V MSTBV4 1x con-phoenix-508 PTH
Y1 RESONATORPTH RESONATOR-PTH 1x SparkFun PTH
J5, J6 RJ12 520250-3 2x con-amp PTH
L1 ZJYS51R5-2P ZJYS 1x MCP NONE

RailroadShield Version 1.0

First built: 2010-06

Initial experimentation - breadboard friendly layout

Schematic
Schematic
Bot Silk
Bot Silk
Board
Board
Top Silk
Top Silk

Download RailroadShield - CHMT Component and feeder definitions
Download RailroadShield.gerbers.zip - Gerber Fabrication files
Download RailroadShield.parts - Parts List (spreadsheet data)

 

RailroadShield.bom

Parts Value Package Quantity Library Type/Feeder
C3, C4 0.1uf CAP-PTH-SMALL2 2x SparkFun PTH
R7 1k R1206W 1x rcl NONE
Q1 2N3904 TO92 1x transistor PTH
R1 4k7 R1206W 1x rcl NONE
R13 10k R1206W 1x rcl NONE
C1, C2 20pf 0603-CAP 2x SparkFun NONE
R2 27k R1206W 1x rcl NONE
R3 39k R1206W 1x rcl NONE
R4 47k R1206W 1x rcl NONE
R14 47R R1206W 1x rcl NONE
R8 120R R1206W 1x rcl NONE
R5 150k R1206W 1x rcl NONE
R6 240k R1206W 1x rcl NONE
R9, R10, R11, R12 470R R1206W 4x rcl NONE
JP1   1X02 1x pinhead PTH
X16M   HC49/S 1x crystal PTH
J2, J3   MA09-1 2x con-lstb PTH
LED1, LED2, LED3, LED4   Q62902-B155 4x MCP PTH
J1 I2C MA04-1 1x con-lstb PTH
JP4 J-04-100-2X02 HDR-100-2X02 1x con-headers-jp PTH
U1 LM393N DIL08 1x MCP PTH
JP2, JP3 M11LOCK 1X11_LOCK 2x SparkFun PTH
U2 MCP2515-P DIL18 1x MCP PTH
U3 MCP2551-P DIL08 1x MCP PTH
J4 MST4V MSTBV4 1x con-phoenix-508 PTH
Y1 RESONATORPTH RESONATOR-PTH 1x SparkFun PTH
J5, J6 RJ12 520250-3 2x con-amp PTH
L1 ZJYS51R5-2P ZJYS 1x MCP NONE

Documentation

A community prototyping board to help with the bringup and maturation of OpenLCB.

Status: Prototypes fab’d and assembled, runs simple OpenLCB sketches, more testing underway in the OpenLCB community…

This project is an Arduino shield for Loconet, CAN and [http://www.olcb.org/ OpenLCB] experimentation. It is based on an earlier set of experiments that only supported CAN and Loconet as part of a custom ‘duino stack which was used to build a [[ControlPoint]] demo for the PCR Coast Division meet early in September, 2010.

I also spun solderless breadboard versions of the CANBusBreadboard and LoconetBreadboard; the Loconet board works fine, but I have not yet (2010) built and tested the CAN board.

The prototype served its purpose - it helped prove out the design pattern of a local control point node that uses a local Loconet to monitor occupancy detectors, turnouts and other “vital” logic as well as control signals associated with the interlocking. I built a small handful of 8- and 16-bit I2C based I/O expander boards (think mini-C/MRI) to make interfacing with control panels and LEDs easier, but the power draw of 30 to 60 LEDs - even at 10mA ea - is almost too much for the simple heatsinked 7805 linear regulator I designed into the main board. Better to use a distributed power supply design, which means another design/fab cycle and more boards in my junk drawer :-)

As in the real world, the control point passed Controls and Indications back and forth along a code line; in the 1.0 demo, I used OPC_PEER_XFER Loconet packets to emulate a code line; the next step is to use CAN/openLCB instead.

The RailroadShield board is based on an expanded footprint Arduino Shield template so that Decimila, Uno and Duemilanove boards can easily be used with it.

This design has hardware support for

  • DCC on D8,
    • See [http://www.nmra.org/standards/DCC/standards_rps/DCCStds.html NMRA DCC Standards] documentation
  • Loconet (RXD on D8, Lnet TXD on D7)
  • CAN/openLCB using MCP2515 & MCP2551 on D13-D11,D9 & D3
  • RS485 full duplex/2 wire (NCE & XPressNet) or half duplex/4 wire (C/MRI) using the built in UART on D0/D1 with TX enable on D5
  • 4 buttons+LEDs for simple I/O testing.

Let me know if you develop sketches or libraries for the above and I will update this page with links. Better yet, contribute the code back to the openlcb.org openLCB project.

This technical documentation is licensed under the CERN Open Hardware Licence v1.2

Tags: eagle SPCoast LCB