DCC-EX / Support-Planning

DCC++EX Repo to hold project planning documentation and processes
1 stars 1 forks source link

problem with motor shield #620

Closed fire-bot closed 4 months ago

fire-bot commented 6 months ago

Sent by Ton Rodenburg (t.rodenburg@yahoo.com). Created by fire.


Dear reader,

I choose this way because my English is not very good. I have an Arduino Mega RV3 with an Arduino motor chield and ex command station as software. I have carried out as recommended in your explanation. When I start Rocrail, I have voltage on the motor shield on the driving track and not on the programming track. With only ex webthrottle I do have voltage on both outputs, so the motor shield is not defective. But where am I making a mistake?

Greetings Ton

habazut commented 6 months ago

I don't think you have done anything wrong.

My guess is that RocRail turns on the MAIN track only and the Webthrottle sends a command to turn on everything.

I do not know how to tell RocRail to turn on the PROG track. If you can send DCCEX commands from RocRail (I don't know anything about how to operate RocRail) then you can turn on everything with <1>. However, the PROG track should turn itself on as soon as you send a prog command.

Harald.

Kcsmith0708 commented 6 months ago

I'm not familure with rocrail, however you may want to try sending the following command <1 JOIN> through the serial connection which will turn Programming track B into a MAIN {PWM} signal allowing it to run throttle and F-key function on it. See DCC-EX command 1 JOIN https://dcc-ex.com/reference/software/command-reference.html#gsc.tab=0

Kevin

habazut commented 6 months ago

If you want two MAIN tracks you should rather set it up as <= B MAIN> as JOIN will unjoin if programming occurs. Unless that's what you want. So what DO you want?

Harald.