This repo contains the PCB files for a stand-alone DCC analyzer.
The firmware can be found at newHeiko/DCCInspector-EX which is an extension of DCC-EX/DCCInspector-EX by the following points (some tbd).
- Add support for Arduino Nano Every
- Add support for keys
- Add support for LCD
The PCB was created with kicad 8.0, the production files with the Fabrication Toolkit.
Most of the parts are from my box of spare and leftover parts, which is why I mixed different size SMD parts, some also rather unusual.
This is the full partlist:
Parts | Value | Notes / Source |
---|---|---|
A1 | Arduino Nano Every | Reichelt |
C1, C2 | 1nF | 0805 |
C3, C4, C5 | 100nF | 1206 |
C6 | 47µF | Dia 6.3mm, min 25V |
D1, D2, D3, D4, D5, D6, D7, D8 | BAT42 | MiniMELF |
J1 | RJ12-connector | Reichelt |
R1, R3 | 1kOhm | 1206 |
R2 | 470Ohm | 1206 |
R5 | 47Ohm | 0805 |
RV1 | 500 Ohm | Piher PT-6 Reichelt |
RV2 | 10kOhm | Piher PT-6 Reichelt |
SW2, SW3, SW4 | Digitast DT6 | Reichelt |
U1, U2 | 6N137 | DIP8 |
LCD | 24x2 | Reichelt |
SW1 | DPST or DPDT | Reichelt |
DCC | 2x SKS SEB 2610 F4,8 | 2x Reichelt |
PinHeader for A1 | 2x 1x16 | 2x Reichelt |
Socket for A1 | 2x 1x16 | 2x Reichelt |
PinHeader for LCD | 2x8 | Reichelt |
Socket for LCD | 2x8 | Reichelt |
3x LCD stand-offs | 3x M2.5 x 12mm | |
LCD screws | 6x M2.5 x 6mm | |
PCB screw | 1x Dia 2.9mm x 6.5mm | |
Enclosure | 2x Reichelt |
The device can decode the DCC signal either from the loconet(r) plug and its Railsync signal or from the two 4mm sockets. The sockets included in the BOM above are shorter than the ones I used for my prototype - they should fit in the recess of the PCB.
Power can come from the USB connection (then the DCC inputs both are optically isolated from everything else) or from the DCC / Railsync signal (then the USB connection is not required and the device can be used stand-alone). Power draw from DCC / Railsync is about 25mA-30mA at 15V.
The switch SW1 switches the device power from USB to DCC/Railsync. It should fit vertically between the RJ12 socket and the LCD / 4mm plugs.
Note that for the switch, the polarity matters. In the image above, the lower yellow wire needs to connect to the lower blue wire and the upper yellow wire to the upper blue wire.
You may substitute a classic Arduino Nano for the Arduino Nano Every, but the integrated linear voltage regulator of the classic Arduino Nano will probably get very hot. Beware of DCC / Railsync input voltages above ~12V or so in that case.