Help with GWS pg-03 Gyroscope
Andy "A Man With A Plan"
Posts: 45
I am trying to use the pg-03 gyroscope for a balancing robot with the propeller. Can anyone help me as far as how to read the signal coming from it. I have tried sending a Pulsout and then read the pulsin but to no avail. Thanks for any help you can offer.
Sincerely,
Andy
Sincerely,
Andy
Comments
So you can expect a pulse train being sent continuously out of the device. The pulses occur at 20mS intervals and the pulse width determines the position of the servo it is intending to control. The pulse width will vary from 1mS to 2mS with 1.5mS meaning the gyro is keeping the servo centered.
Therfore no yaw motion of the gyro = no correction required = the pulse width is 1.5mS. As the gyro is rotated, this pulse width will change.
Search the web for servo signal information and you will see what it is you need to be monitoring from your gyro.
Good luck!
-Steve
If that is what you have tried to do then perhaps posting your code would help.
Graham
As an RC heli enthusiast, it's just not practical to attempt a flight without the rudder control connected [noparse];)[/noparse]