1nct f09c4ff136 - Reduced amount of global variables. Many variables are now initialized in main() and core1_entry() respectively and then passed as pointer.
- Updates in speed steps are passed via multicore fifo.
- Pointer to direction variable is also passed from core1 to core0 via multicore fifo
- PID parameter struct definition moved to core1.h
- Implemented variable Proportional gain function
- Implemented function to determine base pwm level
- Minor changes regarding variable names
- Added more comments to roughly describe functionality of functions
2022-07-28 14:33:48 +02:00
2022-05-27 14:57:08 +02:00
2021-11-13 21:45:23 +01:00
2021-08-22 22:19:49 +02:00

RP2040-Decoder

This Project is a DIY DCC Decoder for model railroad locomotives which aims to be cost effective.

Features

  • DCC digital signal decoding
  • Motor load/speed control
  • 4 Outputs to drive loads up to 400mA each
  • 6 GPIO for lighter loads or custom applications
  • Programmable on programming track
  • CV Function Mapping
  • Board size of 25x20 mm

Getting Started

A step-by-step explanation on how to make use of this is work in progress.

License

  • Software - MIT license
  • Hardware - CERN Open Hardware Licence Version 2 - Permissive
  • LICENSE

Further details about the project can be found here: RP2040-Decoder Wiki

Note: The decoder is still in early development, there might (will) be bugs as its not tested that much yet. So suggestions on how to improve things and bug reports are always much appreciated. The wiki is also work in progress and will be updated to be as comprehensive as possible.


PCB Front Side Image PCB Back Side Image

S
Description
Cost effective DIY DCC Decoder for model railroad locomotives
Readme MIT
61 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 85.4%
CMake 8.3%
Python 6.3%