mrrwa / NmraDcc

NMRA Digital Command Control (DCC) Library
GNU Lesser General Public License v2.1
135 stars 53 forks source link

Example files/testing #5

Closed dant27 closed 7 years ago

dant27 commented 7 years ago

I have been been looking into various DCC options for accessory signal/turnout control & would like to see if I can get an Arduino to do this. From what I have read etc. it all looks possible but I cannot make sense of the example files I have download so can someone provide some info on what will work?

I have looked at the 'NmraDccAccessoryDecoder_1' file which I presume works with no modification, would be nice to find some more explanation on what sections/code does what if there is such a thing anywhere?

Also is there any way of outputting the DCC signal from a Arduino without a motor shield to test or is the signal not true enough to DCC?

Thanks

devel-bobm commented 7 years ago

Dan(?),

The NmraDccAccessoryDecoder_1 example sketch is intended to enable a user to create a device which accepts the DCC "track" signal and respond to DCC messages which are sent to some specific accessory decoder address. I am not aware of any tutorials or other documentation for the MRRwA libraries - support is via this List or "figure-it-out-yourself".

The Model Railroading with Arduino "nmradcc" library is one which allows creation of a device which receives a DCC "track" signal, interprets it, and responds to that signal. The MRRwA libraries do not provide any mechanism to "create" a DCC "track" signal. There are a few DIY projects for creating your own "DCC command station". One which came to my attention recently is "DCC++" (or "DCCpp"). I don't know much about this, other than it is the newest one I've heard of, and that there is now some support for this in JMRI.

Regards, Billybob

From: dant27 [mailto:notifications@github.com] Sent: Wednesday, August 03, 2016 5:28 PM To: mrrwa/NmraDcc NmraDcc@noreply.github.com Subject: [mrrwa/NmraDcc] Example files/testing (#5)

I have been been looking into various DCC options for accessory signal/turnout control & would like to see if I can get an Arduino to do this. From what I have read etc. it all looks possible but I cannot make sense of the example files I have download so can someone provide some info on what will work?

I have looked at the 'NmraDccAccessoryDecoder_1' file which I presume works with no modification, would be nice to find some more explanation on what sections/code does what if there is such a thing anywhere?

Also is there any way of outputting the DCC signal from a Arduino without a motor shield to test or is the signal not true enough to DCC?

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mrrwa/NmraDcc/issues/5 , or mute the thread https://github.com/notifications/unsubscribe-auth/ANNvtR6BI7p-qU-lps_WGpPNIQTV5IOXks5qcQfogaJpZM4JcHWw .