FRC Gyro and Accel Documentation

WIN_20190213_16_55_42_Pro%20(2)

Our team has the above Gyro/Accelerometer board from Analog, and we’d like to use it for our code this year. Only problem is, we can’t find any of the documentation for it. I can find documentation from the gyro on it’s own, but I can’t find anything for the accelerometer or for the actual combo board. The product page for it is either not present, or I just can’t find it. Does anyone have any links to documentation or examples? It’s the kind that plugs into SPI, if that’s relevant. EDIT: We’re using Java.

This doesn’t look like an exact match for any ADI’s current offerings, but perhaps one of the ADI folks (@ImAnEngiNERD , @juchong) can point you in the right direction.

This is the first revision of the gyro board we supply today. In 2017 we removed the accelerometer in favor of a set of jumpers to allow teams to change which chip select pin (CS0, CS1, or CS2) they wanted to use, in case they had other SPI devices on the SPI port. In case you haven’t already found it, here’s the documentation page for the gyro (you’ll see the board you have listed as REV A). There’s also a Java specific help page here. All of the documentation you see for the gyro-only boards will work with the gyro on this one as well - just be sure you set the CS for the gyro to CS0 (which is the default for the library) since it isn’t configurable on the gyro+accel board.

There aren’t any formal examples up there for the accelerometer since more recent versions of this board do not have the accelerometer, but the functions and usage for the accelerometer will be similar to those for the gyro. This WPI page lists methods for the ADXL362 (I believe this is the sensor featured on this board, but let me know if this doesn’t work). You should be able to follow the gyro tutorial I linked above and adapt it for the accelerometer instead.

Be sure you update your RoboRIO image to v13 and update WPILIB to the latest version as well, as there was a bug in the kickoff release that broke some of the communication libraries that the gyro board depends on.

Let me know if this helps or you run into any other issues!

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