Gyroscope Sensor
The gyroscope (gyro) sensor measures the angular velocity, or rate of rotation, about three axes. When mounted, it
provides 3-D attitude (pitch, roll, and yaw). Similar to the ambient light sensor, the gyro is a PMOD. It can communicate
angular velocity using either the SPI or I2C protocol, but in this kit we only use the I2C protocol. Per the I2C protocol, the
gyro pinout includes a serial data (SDA), serial clock (SCL), two interrupts, power, and ground.
Learn More
• Specifications: http://store.digilentinc.com/pmodgyro-3-axis-digital-gyroscope/
• Project Essentials Guide, chapter 22: http://www.ni.com/tutorial/14621/en/
Gyroscope Sensor Input Port
The gyroscope sensor input port of the motor controller board is a direct breakout of the myRIO I2C and digital input pins.
Board Pin Number (Based
on pin-out diagram above)
Pin Name MXP Pin Number
Name in Software
(based on MXP A)
1 NC Not connected Not connected
2 Serial data (SDA) 34 A/I2C.SDA
3 NC Not connected Not connected
4 Serial clock (SCL) 32 A/I2C.SCL
5 Ground 30 n/a
6 NC Not connected Not connected
7 Interrupt 2 13 A/DIO1
8 Interrupt 1 11 A/DIO0
9 NC Not connected Not connected
10 NC Not connected Not connected
11 Ground 30 n/a
12 +3.3 VCC 33 n/a
1x
Digilent Gyro
Sensor
41144
Electronics Overview and Specications 39
Back to Contents page