SMA10 – Build a 17-Function DCC Decoder for about $5

My activities in Scale Model Animation often lead me to use DCC as a control method for sequencing. This could include building and street lights, even sparking welders and twinkling camp fires. Timing can be done with JMRI scripts (Like this: http://youtu.be/RXpvp5mIXvU?list=PL4dHfZjHc9t-pvctGQzSuOXBLG1M42xbS) or with programmatic control (Like this: http://youtu.be/zlcdJKXj_YI?list=PL4dHfZjHc9t-pvctGQzSuOXBLG1M42xbS). Control switches for such projects are a must. Using 4 or 6 function DCC decoders in this regard, can get costly, quickly. But with a little effort, and some low cost components one can build a DCC decoder supporting 17 independent functions for about $5.00, or less, depending what you have on hand. This version has no CV’s, uses no DCC programming, can be set for any short address in CV1, and controls 17 Function Lines (which I am using to drive the green LEDs in the example below). Interested? Read on! (Latest Rev for this work can be found here: http://model-railroad-hobbyist.com/node/19446 )
>> Posts index
Navigation
Journals/Blogs
Recent Blog posts:
Comments
@Paul re:Questions
Hi Paul,
Geoff Bunza's Blog Index https://model-railroad-hobbyist.com/node/42392
More Scale Model Animation videos at https://www.youtube.com/user/DrGeoffB
Home Page: https://www.scalemodelanimation.com/
Re Answers to questions
Hi Geoff
Many thanks for taking the time to provide detailed and succinct answers above. Very much appreciated. Your answers do make sense. Last post here as requested.
Kind regards
Paul
Substitute for a Component not found at Digikey
Geoff:
What would be a good substitute for:
LM78L05ACZXCT-ND IC REG LDO 5V 0.1A TO92-3
Can't find it at Digikey.
Is this OK, from Amazon?
https://www.amazon.com/gp/product/B00VPAF5Q8/ref=ox_sc_act_title_1?smid=...
Thanks,
Jordan
Geoff: What would be a good
Geoff:
What would be a good substitute for:
LM78L05ACZXCT-ND IC REG LDO 5V 0.1A TO92-3
Can't find it at Digikey.
Is this OK, from Amazon?
https://www.amazon.com/gp/product/B00VPAF5Q8/ref=ox_sc_act_title_1?smid=...
Thanks,
Jordan
@Jordan re: Regulator substitution
Hi Jordan,
The part you referred to: https://www.amazon.com/gp/product/B00VPAF5Q8/ref=ox_sc_act_title_1?smid=... should work just fine as a substitute for the original one I specified.
Here is another one from Digikey.com: https://www.digikey.com/en/products/detail/texas-instruments/LM78L05ACZ-LFT3/12324749
I no longer use this version of the regulator since it will only provide 100ma output, which barely powers the Arduino let alone LEDs and other devices connected to the decoder. You would do a little better with:
https://www.digikey.com/en/products/detail/stmicroelectronics/L4931CZ50-AP/1506450 which provides 250ma output in the same package.
However, even the 250ma is not enough to power servos, so I have switched entirely to using the DCC_Decoder3P version with the larger voltage regulator described here: SMA20 Low Cost 17 Channel DCC Decoders Ver 6.01 with Sound,Triggered Sound,Stepper,Dual Motor,LED and Servo Control https://model-railroad-hobbyist.com/node/24316 versions of which can be found yielding 1A, 1.5A and 2Amp output (read this newer version).
Have fun!
Best regards,
Geoff Bunza
Geoff Bunza's Blog Index https://model-railroad-hobbyist.com/node/42392
More Scale Model Animation videos at https://www.youtube.com/user/DrGeoffB
Home Page: https://www.scalemodelanimation.com/