lisy300 gyroscope module
Let's Go!
Posts: 124
Can anyone point me in the direction of BS2 code examples for the gyroscope?
Thanks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The smarter I get, the more I understand I don't know!
Thanks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The smarter I get, the more I understand I don't know!
Comments
http://www.parallax.com/Store/Sensors/AccelerationTilt/tabid/172/CategoryID/47/List/0/Level/a/ProductID/588/Default.aspx?SortField=ProductName%2cProductName
Brad
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Parallax Tech Support
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The smarter I get, the more I understand I don't know!
1. The gyro tells you the direction something is turning and how fast, I just need the tilt angle so I can feed this to a servo and adjust the camera position.
2. Why do I need to worry about gyro drift? I don't really care about anything other than degrees from level. Does the gyro loose where level is when it drifts?
Any code examples would be appreciated. I am really confused about how to read the gyro and send rotation commands to the servo so that the servo moves smoothly. Right now I am reading a dual axis accelorometer and passing that to a servo as a PWM signal in a DO LOOP.
It is also helpful if you start your own thread when posting a new question.