|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: EasyC Timer and Gyro questions
Quote:
Quote:
|
|
#2
|
|||
|
|||
|
Re: EasyC Timer and Gyro questions
Quote:
|
|
#3
|
|||
|
|||
|
Re: EasyC Timer and Gyro questions
Quote:
So for the gyro yaw rate, we are using a 300 deg/sec gyro, so 5 mv/deg/sec. However, the ADC still returns 0-1024 right? It's just a matter of scaling (which we've implemented for heading conversion). |
|
#4
|
|||
|
|||
|
Re: EasyC Timer and Gyro questions
Quote:
You are correct, if you use a different gyro, then just look at the gyro spec. And the ADC will return a 10 bit value between 0-1023 (1024 possible values). |
|
#5
|
|||
|
|||
|
Re: EasyC Timer and Gyro questions
My team is interested in using a slightly more accurate gyro than the one in the KoP...80deg/sec probably wont be enough to do what we want it to do. Can anyone give me an idea of where to start with the code needed in easy C to do this? We plan on using one from the same manufacturer, can I still drag and drop or do I need to write an original function? What is the relationship between yaw rate (the 0-1024 number, I assume?), and degrees rotation?
Thanks, Dillon |
|
#6
|
|||
|
|||
|
Re: EasyC Timer and Gyro questions
Quote:
|
|
#7
|
||||
|
||||
|
Re: EasyC Timer and Gyro questions
does the gyro function in easyc return the angle in radians or degrees?
This is my first time using a gyro. |
|
#8
|
|||
|
|||
|
Re: EasyC Timer and Gyro questions
Quote:
Last edited by TubaMorg : 09-02-2006 at 21:21. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Accelerometer code | ImmortalAres | Programming | 28 | 04-06-2005 01:02 |
| Updated: Example Gyro Interface Code | Kevin Watson | Programming | 2 | 28-03-2005 04:36 |
| Example gyro code released. | Kevin Watson | Programming | 60 | 17-03-2005 18:32 |
| Gyro Calibration | roboticsjenkins | Programming | 11 | 21-02-2005 20:39 |
| Using gyro with other analog sensors...again | demerski | Programming | 0 | 19-02-2005 08:23 |