I am a member of a first-year, very small team in Iowa. We’ve gotten most things figured out up to this point, but we’re having a lot of trouble getting our gyro to work. it’s just plugged into the spi port. the power light comes on when the robot is on but the ready light doesn’t. when we run the example program in LabVIEW it says that the device is not found. any ideas are greatly appreciated.
Is the RIO Power light green?
It will be red if there is a short to the various power anywhere.
This is what the example looks like when you get it working:
Yes, the Rio power is green. Every time we run the example the device found light is red.
Here’s what my lights look like so you can double check if there is anything different.
The mode light isn’t really on. That’s just bleed over from the really bright RSL light.
So only the Power and RSL lights should be on.
Yeah ours looks pretty much the same
Any bent pins on the SPI port?
Any metal shavings caught under the pins?
Have you been working on the robot over unprotected electronics, for instance, have a cover over the electronics to protect it from metal dust and shavings)?
I assume as a rookie team that you have a new roboRIO 2.0.
Just was able to check and it I haven’t found anything that would have shorted. I also made sure to clean it just in case
I thought I heard from one of my co-mentors that there was an issue with the KOP gyro and RIO2. That’s why we went to a Pigeon 2.0.
Might do a search in CD and see.
I tried and didn’t find anything specific about it not being compatible. But this is what I did find.
It works fine for me obviously from the earlier demo I posted.
Well, guess I wasted my money.
The link I posted mentions needing to make sure the jumpers are in the right place. I remember that messed us up once when we didn’t have it in the right place.
If the gyro is at a different SPI address because of a jumper or solder, then the example code would not work as is. By default it does expect to find the gyro at it’s default SPI address.
You can test the other addresses just in case by clicking on the “SPI Bus” input that you set before running the example.
Look at the board and the jumper/solder pins should be labeled as “CS0”, “CS1”, or “CS2”
and you do need at least one of those selected by jumper.
If I’m being honest I didn’t know that the jumpers existed. I’ll try that tomorrow and see what happens.
There was an issue. Now it’s fixed. Known Issues — FIRST Robotics Competition documentation
Honestly, a pigeon is a much better gyro that is really easy to work with.
Yeah, it was the jumper pins. thanks to everyone who contributed
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.