开云体育

Locked Re: Using Arduino to measure train speed - how do I send speed to JMRI for panel display?


 

Several points to comment on: ?yes, JMRI has a speedometer, based on passing three sensor controlled areas. ?I’ve got a small layout so trying for something that will work in smaller distance (I’ve even got an idea about doing a rough speed calculation using one IR sensor to measure time across the inter-car gap). ?I do not have DCC++ (not excited about the additional hardware and tinkering that would be required on my part) so am limiting my efforts to configuring my Arduino via C/MRI or serial input. ?I got both working very quickly (although I do have some questions about using multiple Arduinos over a single serial port...). ?And with serial input, I found I can send any character stream to JMRI to be directly loaded into a memory so that’s where I’m focusing my efforts right now. ?[Still trying to understand all of what Dave’s script is doing too].

Thanks all for your input. ?Will let you know how I make out...
Jerry
___________________________________
jerryg2003@...

Join [email protected] to automatically receive all group messages.