roboRIO 2 PWM ports powered on for some reason without code

Hi, Team 1810 here.

So for some reason, whenever we try to plug a Spike relay into the PWM ports on the roboRio 2.0, the motor attached to the spike starts running. I didn’t get a good look if the motors were running forwards or backwards. This is happening with all spikes when we try to connect them to the PWM slots. We aren’t running any type of code, we just turn the robot on with the Spike connected to any PWM slot and it runs.

Spikes shouldn’t be connected to PWM ports. They should be connected to relay ports.

To add on to the above reply, this is the behavior you’d get plugging a spike into a PWM port. The 3 pins on the relay are Gnd, Rev and Fwd. Whereas the PWM ports are Gnd 6V Signal. So if you plug a relay into the PWM port, the Rev pin will be getting a constant 6V from the middle pin of the PWM port.

3 Likes

Our electrical team lead has had a good “ahhhhhh” moment after he read this and now the programmers are fussing over the code updating it to be better. Thank you both!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.