Using a 3-axis Gyro (L3G4200D) To Rotate a Servo?
dannyv
Posts: 2
I am utilizing the following components:
*Propeller Proto Board USB
*Gyroscope Module 3-Axis L3G4200D
I was curious if anyone has ever used this configuration to move a standard hitec servo?
My expertise is with control's design for the industrial packaging industry, so I'm new to this level of electronics.
Any help would be greatly appreciated! Thank you!
*Propeller Proto Board USB
*Gyroscope Module 3-Axis L3G4200D
I was curious if anyone has ever used this configuration to move a standard hitec servo?
My expertise is with control's design for the industrial packaging industry, so I'm new to this level of electronics.
Any help would be greatly appreciated! Thank you!
Comments
Danny,
Welcome to the forums!
This item just became available about 4-5 days ago. I don't think anyone has gotten to do any programming yet. I just got mine yesterday and ran the demo, now trying to program the temp out from the chip.
As far as move a servo, are you trying to use it as an IMU? Or what is your purpose?
Jim
If you're looking for an integrated system for servo control using a gyro, there are rate gyros specifically designed for servos (Hitec, Futaba, etc. make these), and they provide servo-compatible signals. You can certainly use a Prop and this gyro module, but you'll be doing all the math yourself.
Maybe provide a little more detail of what you're going after.
-- Gordon
My goal with this project is to basically make a servo controlled gyro camera stabilizer for my motorcycle. I'm attempting to design a control system that will monitor the gyro sensor and automatically move each servo to keep the camera level (Not sure if I'm going to use 1 or 2 axis yet). I've seen quite a bit of examples on Youtube, but the stabilization control in those videos are FAR from perfect. The best solution I've seen so far is of a gentleman that utilized a Gyroservo with an attached battery pack. It's a very nice design, however the video is extremely choppy and there was a ton of camera drift. I'm hoping I can design a system which will be much more stable.
My components have not arrived yet, but I am expecting them within the next few days. I have been designing control systems for industrial packaging machinery for almost 20 years, but I have ZERO experience with Propeller software and hardware.
Thanks!
Danny
This is why you often see the use of Accelerometers in conjunction with a Gyro... Accelerometers can provide an average tilt over time, or an immediate value that has complementary effects that help compensate for Gyro drift.
But if you're looking for smooth video you'll need something much (MUCH) faster than an R/C servo. A galvanometer (moving coil) with a speed of maybe 200 Hz or better might do the trick. You need something that can move a mass, like the kind used in laser light shows. Your camera must be very light, or you'll need a more powerful galvo. Fair warning: they're not cheap -- retail basic units sell for $250 to $1,000. Try eBay, but be careful that you know what you're getting.
A camcorder with image stabilization, on shock mounts with maybe some counter balancing, might provide a better solution. It would be physical large, so it'll be for your bike, not your helmet.
A servo would be cool for automatic pans, or to keep the camera upright in turns. Those changes occur much more slowly.
-- Gordon
http://forums.parallax.com/showthread.php?127868-Gyro-lisy300
http://forums.parallax.com/showthread.php?127158-GoPro-HD-Camera-Stabilized-Mount&highlight=motorcycle+camera
http://forums.parallax.com/showthread.php?127596-Reading-LISY300-Gyro-with-a-Stamp-2-Microcontroller&highlight=motorcycle+camera
http://forums.parallax.com/showthread.php?110900-Working-with-PIDs&highlight=motorcycle+camera