Go to Post FIRST: there is no second. - BandChick [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 05-02-2003, 20:52
CHSguard72 CHSguard72 is offline
Registered User
#0612
 
Join Date: Jan 2003
Location: Chantilly, VA
Posts: 14
CHSguard72 is an unknown quantity at this point
Send a message via AIM to CHSguard72
yaw sensor

How does the yaw sensor work? What output does it give, and what would I put in the Serin to accept its values?

-thanks
  #2   Spotlight this post!  
Unread 06-02-2003, 01:44
Jay Lundy Jay Lundy is offline
Programmer/Driver 2001-2004
FRC #0254 (The Cheesy Poofs)
Team Role: Alumni
 
Join Date: Jun 2001
Rookie Year: 2001
Location: Berkeley, CA
Posts: 320
Jay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to all
To use the gyro, attatch the wires to the analog input port on the robot controller. To learn what wires go in what pins, look at the datasheet for both the gyro and the robot controller. To receive input in the program, look in the default program for a section that looks like:
'Sensor1...
'Sensor2...
'Sensor3...
...

Uncomment the variable corresponding to the one you soldered the gyro into. The robot controller datasheet should tell you which variable to use based on what pin you soldered it into. Then go into the constants section and set
c_SensorX CON 1

Finally, add the SensorX (x = the number your choose) to the serin in the correct place, and you are done. The value stored in SensorX will be a number 0 - 254 (or 255? doesn't really matter). 127 is no angular velocity. 254 is the maximum angular velocity the gyro can record in one direction, which I think I heard was around 75 deg / sec. 0 is maximum angular velocity in the other direction.

If you are having trouble attaching wires to the gyro, there are other threads in here on that, but I would recommend cutting some of that cover off to get more access to the pins, then soldering wires directly on.
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone know where to buy a spare yaw rate sensor? Jim Meyer Technical Discussion 11 30-03-2003 21:18
Yaw rate sensor pin-out GregT Electrical 8 18-02-2003 00:07
Yaw Rate Sensor to 90 degrees? Bruce C. Programming 4 11-02-2003 00:36
Yaw rate sensor (gyro for the layperson) Kris Verdeyen Rules/Strategy 4 14-01-2002 00:41
Yaw Rate Sensor ImmacGirl_03 Technical Discussion 2 10-12-2001 15:15


All times are GMT -5. The time now is 10:17.

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