Pages: [1]   Go Down
Author Topic: pinn connections on a 3-axis gyro  (Read 375 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 62
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

does anyone know where a pin diagram/schematic is for connecting the pins for a 3-axis gyro can be found? I have a triple-Axis Digital-Output Gyro ITG-3200 Breakout board with an ATmega328 chip...
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 208
Posts: 8858
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Looks like the ITG-3200 use an I2C interface.  You use the Wire library to talk to it.

From the Wire library reference: "On most Arduino boards, SDA (data line) is on analog input pin 4, and SCL (clock line) is on analog input pin 5. On the Arduino Mega, SDA is digital pin 20 and SCL is 21."
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Pages: [1]   Go Up
Jump to: