Did you choose the cytron in the settings and send to nano (send to module)?
Yes I have cytron selected in module configuration. Thanks for the suggestion though!
So, really interesting - I wonder if there was some data corruption during the upload to my Nano, because I just reprogrammed the Nano with the new code and then went through and did the same thing I have tried quite a few times and it worked. All good now. I find it strange when troubleshooting and you try the same thing a few times, and then it finally works.
Thanks @baraki, I wouldn’t have retried module configuration without your suggestion.
Sometimes a detail is overlooked, you always need to make sure that there is a connection with the module. All you need is some unclosed program, e.g. Arduino IDE, which prevents communication …
So as I check on the table the minimum speed condition is not met and the condition does not change on pin D9? So test it while driving, thanks!
So is D9 (PWM2) supposed to go high / low when Cytron is activated with release 4.1.12? It doesn’t seem to yet. I have not tried driving with it yet. I have the minimum speed set to 0. I have an AgLeader OnTrac2 steering wheel motor hooked to the Cytron. It has a clutch mechanism in it that has to be activated as well as the motor. I added custom code to the ino to turn it on/off with the motor. With the new release, I ran the module configuration and pushed the send to module…dummy me, I overwrote my modification. So after watching Brian’s video, I rewired my relay that turns the clutch on/off to PWM2 (I had previously hooked it to D5 thru J2).
D9 (PWM2) isn’t used for the Cytron. It can however drive a relay, or LED or whatever you wish. If everything is ready to go, enabled, valid guidance line in range etc, it will go high. Low if not.
have a question on the steer button, switch. I have a latch button shown in the picture that I am currently using for my power and it is working well. I use the two blue wires connected to the “on-off” connections on the board and connect the black to ground and red to 12v out. When off light is off and when pushed on light turns on, like it should. Can I use this type for the steer button also?? I would select the button type for the steer and connect as follows. red connect to +v on steer connection, black and one of the blues to the “o” or middle connection and the other blue to the “com”. My thought is since this is a latched switch the “o” would be my ground for as long as the switch is on. Is my thinking correct??? I do not use the yellow wires. Just not certain how the “O” connection works but looks like it is a ground connection. or is there another place I can put the red wire that has power when steer is on?
Yes you are right you ground the “O” with your blue cables, and when not grounded you have 12V on “O” and therefore led in button will not light up. Edit: when red to +12 V and black to “0”
The optocoupler works like this.
When we connect “O” to ground then the led inside the optocoupler “lights up” and thereby makes the light sensetive transistor inside optocoupler active (grounds the Pin on the Nano)