FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Analog devices adxrs453z

Hello Eveyone

We would like to use an Analog Devices ADXRS453Z gyroscope. It is not an analog gyroscope, it is digital gyroscope that communicates through the SPI interface. We used the labview example code for adxrs453 spi gyro. The numbers (angle) we are getting back is just continuously increasing (into the negatives).  I have attached the pictures of the code.

Thank you in advance

0 Kudos
Message 1 of 4
(5,556 Views)

Hello eccmaster2015,

Are you connecting via USB? This example expects a USB connection to run correctly.

Regards,

Kristen M

Automated Test Product Marketing Engineer
National Instruments
0 Kudos
Message 2 of 4
(3,253 Views)

It sounds like you have gyro drift.  You can probe the value that is accumulated (the wire that goes into the Add) and check for it to be 0.  You may need to add an offset to make it be 0 when the device is not rotating.  This is what the analog gyros already have to do.

0 Kudos
Message 3 of 4
(3,253 Views)

yes, it is connected by usb

0 Kudos
Message 4 of 4
(3,253 Views)