View Single Post
  #6   Spotlight this post!  
Unread 12-02-2010, 18:35
DuaneB's Avatar
DuaneB DuaneB is offline
Registered User
FRC #1731
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Virginia
Posts: 20
DuaneB is an unknown quantity at this point
Re: Wiring The accelorometer

Quote:
Originally Posted by TPekarjr View Post
i still quiet don't get it... i read the instructions but still don't understand it... i hate to be a noob but i am wiring it with pwm cable..and using all 3 axis... can someone just tell me what color on the pwm goes to what port on the accelerometer... it would be much appreciated =D
If you're using PWM cable, you'll need to add a fourth wire to use I2C. The number of axes don't matter (for the wiring) and colors don't matter (though it may help to have black wire on 0V and red wire on 5V) - you just need to make sure the wires connect the same pins at each end. That is, the 5V pin on the accelerometer connects to the 5V pin on the digital side car, SDA to SDA, SCL to SCL, and 0V to 0V. Make sure you don't reverse one of the connectors and connect 5V to 0V or vice versa.