User Tools

Site Tools


electronics:dcc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
electronics:dcc [2017/09/06 18:02] – [Notes] dmmediaelectronics:dcc [2017/09/27 06:57] (current) dmmedia
Line 4: Line 4:
  
 Digital Command Control is a way of controlling model railway. Digital Command Control is a way of controlling model railway.
-Standard was established by NMRA.+Standard was established by [[https://nmra.org|NMRA]].
 Latest versions include controlling trains and accessories and feedback from trains to the control stations. Latest versions include controlling trains and accessories and feedback from trains to the control stations.
  
Line 13: Line 13:
 To control the layout I will need power supply, booster, command station, loco decoders, accessories decoders, busy detectors and a communication module for PC. To control the layout I will need power supply, booster, command station, loco decoders, accessories decoders, busy detectors and a communication module for PC.
  
-==== Plans ====+===== Plans =====
  
   * [[electronics:dcc:loco_decoder|Loco Decoder]] - speed, direction and acceleration management with functions of adjusting lights, playing sounds and controlling couplers   * [[electronics:dcc:loco_decoder|Loco Decoder]] - speed, direction and acceleration management with functions of adjusting lights, playing sounds and controlling couplers
Line 23: Line 23:
   * [[electronics:dcc:function_decoder|Function decoder]] - for other rolling stock, to control lights and coupling   * [[electronics:dcc:function_decoder|Function decoder]] - for other rolling stock, to control lights and coupling
  
-==== In progress ====+===== In progress =====
  
   * Research of information. Results are published under Notes section   * Research of information. Results are published under Notes section
  
-==== Done ====+===== Done =====
  
   * None   * None
  
-==== Notes ====+===== Notes =====
  
-=== 22.08.2017 ===+==== 22.08.2017 ====
  
   * Found nice cheap MP3 players to use with [[electronics:dcc:loco_decoder|Loco Decoder]] or with [[electronics:dcc:accessory_decoder|Accessory decoder]]. These are [[https://www.dfrobot.com/wiki/index.php/DFPlayer_Mini_SKU:DFR0299|DFPlayer Mini]] and [[https://www.amazon.com/U-Disk-BY8001-16P-Player-Arduino-Module/dp/B01MZYAVRF|BY8001-P16]]. Modules are small, can drive up to 3W speakers, can be connected to MCU. Support spot sound insert feature, but this is achieved by pausing main sound, playing spot insert and resuming main sound.   * Found nice cheap MP3 players to use with [[electronics:dcc:loco_decoder|Loco Decoder]] or with [[electronics:dcc:accessory_decoder|Accessory decoder]]. These are [[https://www.dfrobot.com/wiki/index.php/DFPlayer_Mini_SKU:DFR0299|DFPlayer Mini]] and [[https://www.amazon.com/U-Disk-BY8001-16P-Player-Arduino-Module/dp/B01MZYAVRF|BY8001-P16]]. Modules are small, can drive up to 3W speakers, can be connected to MCU. Support spot sound insert feature, but this is achieved by pausing main sound, playing spot insert and resuming main sound.
Line 46: Line 46:
   * Universal DCC decoder, that can be used as Loco or Accessory or Function decoder is described fully in Model Railroad Hobbyist March 2017 #85 magazine. Decoder is based on Arduino and cheap additional components to receive power and signals from DCC bus. Also computer controlled Arduino based Command Station with integrated Booster is decribed there. Then the PC communication module is not necessary, since Arduino will act also as that. All the software and firmware used is also open source DCC++ project. I should compare component prices and perhaps redo all the hardware with STM32 chips. Anyway I am not intended to use bare Arduinos and shields and will make own PCBs to reduce size and adapt for my rolling stock shapes and needs.   * Universal DCC decoder, that can be used as Loco or Accessory or Function decoder is described fully in Model Railroad Hobbyist March 2017 #85 magazine. Decoder is based on Arduino and cheap additional components to receive power and signals from DCC bus. Also computer controlled Arduino based Command Station with integrated Booster is decribed there. Then the PC communication module is not necessary, since Arduino will act also as that. All the software and firmware used is also open source DCC++ project. I should compare component prices and perhaps redo all the hardware with STM32 chips. Anyway I am not intended to use bare Arduinos and shields and will make own PCBs to reduce size and adapt for my rolling stock shapes and needs.
  
 +==== 27.09.2017 ====
 +
 +  * DCC library for STM32 MCUs: https://github.com/mrrwa/NmraDcc
electronics/dcc.1504720950.txt.gz · Last modified: 2017/09/06 18:02 by dmmedia