View Single Post
  #14   Spotlight this post!  
Unread 20-01-2010, 20:48
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,584
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Gyro/Acceler. connections

Quote:
Originally Posted by fiferdc View Post
The gyro has a three pin connection (ground, power, signal), so how would it connect to the I2C, which has four connections? Connecting it to a digital I/O port also seems odd because you don't want a reading of either 1 or 0 for a heading. Team 3176 is still trying to get their gyro up and working. We have it connected to the analog breakout, but we're having problems getting a reading, so I'm not sure if that is due to a bad connection, or just a programming problem.
I2C is a serial bus, so you send and receive messages that contain multiple bits, giving you the range and resolution you need for the accelerometer.