PDA

View Full Version : Gyro help


Matchew
01-07-2003, 01:11 PM
DOes anyone know how to program or have any tips on how to use the gyro???

Jack
01-07-2003, 01:14 PM
I'd recommend posting this in the programming forum. :)

Other than that, i know that they are pretty tricky to use.

rbayer
01-07-2003, 01:24 PM
This also falls under the
search before you post (http://www.chiefdelphi.com/forums/announcement.php?s=&forumid=16) umbrella. I know questions like this have been asked multiple times.

If you still can't find it after searching, PM me and I'll send you stuff.

wwrye
01-07-2003, 02:30 PM
What exactly are you trying to do with it?

rwaliany
01-07-2003, 05:30 PM
Hook the gyro up to the analog inputs. In the control manual, it should tell you how. Assign it to one of the analog inputs, ex: analog3, in default code, sensor3. Turn the constant for sensor3 on, add it to your serin command, and input data from it. The yaw rate sensor, measures the rate of angular change from an arbitrary plane. So basically in the right position, if you turn it, the value changes. However, it resets starts recounting after around 60ms (3 pulses). This might help, heres our default code, it has some balancing code using gyros for the eduRobot.

Gyro Code -> sub_balance (http://www.chiefdelphi.com/forums/papers.php?s=&action=downloadpaper&paperid=137)

Joe Ross
01-07-2003, 05:36 PM
Actually, the the yaw rate sensor measures the rate of angular change. This is why if you stop moving it, it goes back to neutral. If you turn it faster, the larger (or smaller) the value will be.

ttedrow
01-11-2003, 08:10 AM
Lets see, angular turning rate integrated with time gives us an angle. This may not work well in PBasic but think of what could be done in the "Black Box"

Morgoth
01-20-2003, 09:49 AM
Originally posted by Jack
I'd recommend posting this in the programming forum. :)


Isn't THIS the programming forum. LOL