Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decoder reading and writing CVs #37

Open
WhitePassRanger opened this issue Oct 13, 2018 · 9 comments
Open

Decoder reading and writing CVs #37

WhitePassRanger opened this issue Oct 13, 2018 · 9 comments

Comments

@WhitePassRanger
Copy link

I've seen a few videos online that DCC++ can read and write cv's, but I cannot get it to work. I am currently using the arduino and a command station, it will run the trains great, even via my phone! Is there something I need to do differently to read and write? I get "123" on every field I try and read.

Not sure if this is my operation issue or if its still under development.

Thanks for your help in advance!

@atanisoft
Copy link

What motor shield are you using?

@WhitePassRanger
Copy link
Author

WhitePassRanger commented Oct 13, 2018 via email

@atanisoft
Copy link

That looks correct from what I can tell. Check the serial console output for any clues.

@WhitePassRanger
Copy link
Author

WhitePassRanger commented Oct 13, 2018 via email

@EFA57
Copy link

EFA57 commented Oct 13, 2018

You need to close the controller to free the serial connection for JMRI to work

Erich

@WhitePassRanger
Copy link
Author

Okay, now I'm feeling really green!! How do you close the Arduino controller without the serial monitor shutting down?

@EFA57
Copy link

EFA57 commented Nov 19, 2018

Sorry,

I just saw your update.

As long as the Base Station is running and connected to the PC you should be able to run JMRI ie DecoderPro and set it to the same port as the IDE & the Sketch and let DecoderPro know to access DCC++ and follow their instructions to access programming track and then read the decoder.

You MAY need to up the current from the default 300 to about 750 for HO.

Also make sure you are powering the Motor Shield with around 12 v min.

@WhitePassRanger
Copy link
Author

WhitePassRanger commented Nov 19, 2018 via email

@sengels
Copy link

sengels commented Jan 13, 2019

You can't run both the serialmonitor and JMRI (at least not without some black magic software).
If you want to do programming, you need to make sure to connect your programming track to the second motor output (B)... The primary motor (A) won't give any programming output...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants