Manufacturing procedure

Example of manufacturing

You can find soldered printed circuit board of DCC/MM2 shield as followings. Please refer to solder.



Parts list

Parts No.Parts nameSpecification
R1Resistor470 Ohm
R2Resistor470 Ohm
R3Resistor470 Ohm
C1Capacitor10V, 0.1uF
C2nc
C3nc
C4Capacitor35v,220-470uF
C5Capacitor50V,1uF
D1LEDyellow
D2LEDred
D3LEDgreen
SW1Jumpernc
SW2SwitchTackt switch
SW3SwitchTackt switch
CN1Connector6pin Long header
CN2Connector8pin long header
CN3Connector8pin long header
CN4Connector8pin long header
CN5Connector2x3pin Long socket header
CN6Connector2pin terminal
CN7DC JackDC jack
CN8DEBUGnc
IC1IC Socket28pin IC socket
IC1ATMEGA328MCU
IC2TB6643KQMotor driver


*1 LED polarity shows as the above image.


Schematics

Notes for DCC/MM2 shield

Please note the followings.

  • Recommended voltage range: 10V to 20V.
    If you used N gauge, you will use 12V. If H0, use 12V or 15V or 16V or 18V. These voltage is reference.
  • Recommended current range: 1.5A or less
    Maximum absolute current is 3A. Do not exceed 3A temporaly or continuously.
  • Avoid short circuit and over voltage, over temperature. This hardware has protection function but not perfect in any case.
  • This hardware does not ensure to work all of locomotives and DCC or MM2 decoders.
  • Required devices for DCC/MM2 shield use

  • Arduino Due or Zero (compatible one may be available.), mbed (nucleo F401RE, etc.)
  • Wire to rail
  • DC power supply with cebter plus and output connectr is 2,1x5,5mm. The voltage depends on your model railway system. See the followings.
    If use marklin H0, 18V powersupply and output current is 2A or more.
    If use DCC H0, 12V to 16V power supply and output current is 2A or more.
    If use DCC N, 12V power supply and output current is 2A or more.
  • Procedure to solder

    1. Arrange solder paste and soldering iron, pcb and parts.
    2. Solder and assemble base parts. For example, resistor -> LED -> IC -> Capacitor -> Connectors
    3. Check mistaked of soldering after soldered.
    4. Insert IC(ATMEGA88) to a socket. Check the silk message and direction of parts.

    Procedure to assembly

    Insert DCC/MM2 shield to Arduino or mbed. Power on the Arduino. Connection of power supply uses Arduino UNO's DC input.



    Connecting to DC power supply

    DCC/MM2 shield R5 has DC jack. As you know, Arduino board has also DC jack. You can use one of the both DC jack freely. These DC jacks are connected internal pattern. If you want to output higher current, you need to connect DC power supply to DC jack port of DCC/MM2 Shield. Do not use the DC jack of Arduino board then. Because DC power pattern of Arduino board is thin, Arduino board can't support high current. High current means 1.0 Amp or more.

    Software description for mbed

    You can freely use the following library and software for DCC/MM2 shield 3.3V.

    mbed sketch (DSGateway mbed)
    mbed library for DCC/MM2 shield

    Rail and wiring

    In this case, we introduce connection of marklin's CTrack. If you use DC rail, the porality is free.
    CTrack has the porarity. The porarity is written about the output connector. B means red wire and connects to center rail. O means brown wire and connects to both side rails.



    In this photo, red conductor cable appears B(red), yellow cable appears O(brown). Be cause I don't have brown cable, I have used the yellow cable instead of brown one.


    Go to top.