View Single Post
  #2   Spotlight this post!  
Unread 21-12-2014, 01:25
dellagd's Avatar
dellagd dellagd is offline
Look for me on the field!
AKA: Griffin D
FRC #2590 (Nemesis) #2607 (The Fighting Robovikings)
Team Role: Mentor
 
Join Date: Sep 2011
Rookie Year: 2011
Location: PA
Posts: 890
dellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond repute
Re: Using KOP Gyro on Arduino?

You don't need a library. After doing this maybe you could even help out the community by writing your own.

Did you already check out the data sheet? I assume you're talking about this one.

If you scroll down to the section on the Gyro it tells you how the sensor works. For starters you should be connecting it up to +5v and ground, and then connecting both the temperature and rate to analog inputs on the arduino. The datasheet then tells you everything you need to know for sensing the rate of change of the robot's angle. Integrate that in your code to get the angular displacement.

I think you learn more by figuring it out on your own, I know I have, so if you need any more pointers I'll point you in the right direction


If you want more help this page will detail pretty much what you have to do, minus any temp stuff. I'm hoping you already found this though since I just googled "arduino gyro"...
__________________
Check out some cool personal projects in computers, electronics, and RC vehicles on my blog!

2016 MAR DCMP Engineering Excellence Award
2016 MAR Westtown Innovation in Control Award
2016 MAR Hatboro-Horsham Industrial Design Award
2015 Upper Darby District Winners - Thanks 225 and 4460!
2015 Upper Darby District Industrial Design Award
2015 Hatboro-Horsham District Winners - Thanks 2590 and 5407!
2014 Virginia Regional Winners - Thanks so much 384 and 1610, I will never forget that experience!
2014 Virginia Quality Award
2014 MAR Bridgewater-Raritan Innovation in Control Award
2014 MAR Hatboro-Horsham Gracious Professionalism Award
2013 MAR Bridgewater-Raritan Innovation in Control Award
2012 MAR Lenape Quality Award

Last edited by dellagd : 21-12-2014 at 01:29.