2021-02-15 20:30:06 +01:00
2021-02-14 13:53:54 +01:00
2021-02-14 20:25:47 +01:00
2021-02-12 21:54:34 +01:00
2021-02-12 22:13:13 +01:00
2021-02-15 20:30:06 +01:00

DCC-Lokdecoder

Description

DCC multifunction decoder for H0 locomotives

Features

  • 1 motor H-bridge output
    • 3.6 A peak current
    • PWM frequency configurable (1-40 kHz)
    • overcurrent and temperature protected
  • 10 function outputs
    • 115 mA per output
    • F0f, F0r, AUX1 and AUX2 are dimmable todo
    • mappable to F0-F12 function keys
  • DCC asymmetry can be detected (for automatic brake control) todo

Hardware

  • 4-layer PCB esigned in KiCAD
  • fairly standard components (available from Digi-Key, Farnell, Mouser, etc...)
  • hand solderable (I did it too)
  • 4 debug LEDs (red, yellow, green and blue)
top bottom
top side bottom side

Firmware

  • Arduino compatible programming (behaves like an UNO)
  • DCC decoding by NmraDcc library

JMRI integration

basic motor basic_speed speed_table function_map advanced
Basic Motor Basic speed control Speed table Function map Advanced

Install guide

reset to factory

Todo list

  • CV15, CV16 decoder locking
  • CV65 kick start
  • CV67-94 speed table
  • CV27 automatic brake control
  • function output dimming
  • motor fault check
S
Description
No description provided
Readme CC0-1.0
1.3 MiB
Languages
C++ 100%