fd017ea6856db0aac21164e0ee024af8a6b33249
- revised CV programming especially writing - Core 1 is only started when valid package with correct address is received - Extended addresses are now correctly verified and implemented - Base PWM measurement is now done on core0 and checked for automatically in cv_setup_check() - Moved Motor PWM, GPIO, ADC to core0 - Implemented inverted direction mode (CV_29) according to DCC-Standards - Limited feed-forward parameters y_2 to max_output/y_1 - k_p gain slopes are now calculated on initialization - k_p gain parameters are also in pid parameter struct now - Revised init_pid() - Implemented Packet timeout check (CV_11) - 16Bit and 32Bit CVs now always have the highest bytes as the lowest array index to accommodate get_XXbit_CV() functions
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.
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%

