Go to Post Facebook for FIRST already exists. It's called Facebook :) - dcarr [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 12-11-2012, 17:21
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
Re: I need help wiring and programming a Gyro

The gyro is an analog sensor that measures angular acceleration (how fast the rate of turning is changing with respect to the location of the gyroscope). As such, the gyro is connected to the analog breakout board by 3 wires: power, power return, and signal. The signal line is a voltage between 0V and 5V scaled to the rate of angular acceleration; this is what the "rate" pin in the wiring guide refers to.

In the pinout guide, you'll also have noticed that there are two sets of pins - rate and temperature. Temperature is included because changes in temperature can affect the output of the sensor that measures angular acceleration, but in FRC its impact is largely negligible. The one you care about is rate, because that's the one that will let your code determine angular velocity (how fast you're turning) and angular position (what angle your bot is facing).

So as a summary: The gyro ties into the analog breakout board. The +5V goes to the (+) pin (for power), the GROUND to the (-) pin (for power return) and the RATE to the signal pin, to give you the actual sensor feedback.

If you didn't get your gyro from the KoP, double check to make sure that it's analog; if not and it's digital, you want to tie it to the digital I/O pins on the sidecar.
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:47.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi