NavX2 micro randomly not working

This year our team implemented swerve drive and we used a navX2 micro for our gyroscope. However, we found at random times, sometimes during a match, the gyroscope would just be zero and not send any values. We have checked the connection when this happens and nothing appears to be wrong, we also switched it out for a different backup one we had and the issue was still there. It starts working again if you power cycle the robot so we are unsure of what is causing the problem.

(edit: It uses the I2C port)

How is it connected to the Rio?

It uses I2C

Unfortunately Don’t use i2C. The Rio has known issues with i2C that can cause a system lockup, it’s just currently not trusted. Try USB instead.

4 Likes

ok thank you, i’ll make sure to try that

I think the RIO I2C issue would manifest differently then what was described. Rather then getting 0 from the NavX while presumably everything else was working, the entire roboRIO would lock up.

That being said, even if that issue isn’t the cause, it’s a big enough issue to recommend moving from I2C to USB.

My apologies, I remembered something was sticking, so I assumed it was just the value as they described. But it’s an entire system lock up.

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