My last post on DCC++ kinda when in multiple directions so I hope this one will stay on track. I built Dave Bodnar’s DCC++ wireless Throttle and control board to go in the tender and both work great. I even layed out my own circuit board to make things cleaner and eliminate a rats nest of wiring. As soon as the new boards arrive in a few days, I will assemble one and post photos of the throttle and boards i had made. Now with that being said, I know nothing about Arduino C++ programming and just loaded Dave’s script and it worked like a charm. The only thing I dont like about the system is that I have to push a button on the tender to Link the receiver to the Throttle. This makes it hard to do when it is in the round house or more than a arms length away. So what this message is about, is, I want to change the script to have the DCC address for each locomotive hard coded into the script for that locomotive. That way I can turn them all on and then select which one I want to run from the Throttle. So what I need is someone that knows Both DCC and Arduino coding that can tell me how to change Dave’s coding from scanning for the DCC address to having it hard coded and wont have to scan for the address.
I hope this is straight forward and will be easy to do. You can find Dave’s code on his Trainelectronics.com website. I am using the code that is for the VNH2SP30 motor driver with the DF Mini Player sound module. the code and schematics are here: http://www.trainelectronics.com/DCC_Arduino/DCC++/Receiver/index.htm
Any help will be greatly Appreciated. Oh I have talked to Dave about this, but he is on other projects now and does not have the time to look into it, so that why I am asking here.
Dan