Neo motors not working

We trying to get a neo motor to turn by using a spark max. However, it hasn’t been working. The spark max’s status light is blinking to show there is no signal. We have updated everything including the spark max, and rev software. We have also tried using a different sparkmax, but it is still not working. There is a print statement in the telopPeriod function that prints an incremented count, so we know for fact that this function is being called and run. We are also using the rev version 2024.2.0.

I’ll upload 3 other images in the replies.

I dont know much python but it looks like your spark max has the id of 17 but in the code its looking for id 7

2 Likes

The error message in your console indicates that it can’t talk to the spark with ID 7.

… you have it as 17 in your hw client image. They need to match.

1 Like

Oh oops, didn’t even realize that we forgot to change the can id in the code after plugging in the different spark max. However, when we used the other sparkmax, the sparkmax id and the id in the code matched up but it still didn’t work.

Yeah, I just realized that too. Thank you! Although I didn’t work before either when we used the other spark max that had a can id 7.

1 Like

I haven’t heard any reports of the spark max code not working (and it’s pretty simple stuff), so my guess is that you misconfigured something. Double check everything, and pay attention to the errors in the driver station.

REV has a troubleshooting guide too: SPARK MAX Troubleshooting - REV ION Brushless

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