lisy300 gyro autopilot project
TKR182
Posts: 9
We recently ordered our lisy300 gyroscope with the intentions of making an autopilot for an rc plane. By autopilot, we mean we want to be able to control the ailerons with the servos in the plane using premade programs. We were hoping to use the gyroscope to read the yaw, pitch, and roll in order to tell the servo what to do. If anyone could help us by stearing us in the right direction it would help a lot.
Comments
'
Take a look at the Propeller
http://www.parallax.com/tabid/407/Default.aspx
'
8 parallel processor's in one chip.
'
Also take a look at the ELEV8 project on Parallax's home page.(Quad copter)
http://www.parallax.com/Store/Robots/FlyingPlatforms/tabid/964/ProductID/799/List/0/Default.aspx?SortField=ProductName,ProductName
'
This should give you some insight on the Propeller chip.
You'll need more than just the gyros for the autopilot to know the plane's atitude. You'll need to combine the gyro reads with accelerometer readings.
This type of project is on my todo list, I'm not sure if I know enough to take it on yet.
Can you post a picture of your setup?
Posting the code would also help.
Have you looked at DIYDrones? I think they have a lot of information. I think an autopilot is very likely to be more than a Basic Stamp can handle.
I got into microcontrollers because I wanted to do something like this. After about three years of learning to use the Propeller and sensors, I think I'm getting close to feeling comfortable enough to take on the project of an autopilot for an RC airplane.
One really nice thing about microcontrollers is they are so useful you'll find lots of other applications for them as you learn. They sure have made my job (as a chemist) easier and even fun. So even if you're not ready to build an autopilot now, the journey of gaining the knowledge you need should be a lot of fun.
For example, learning to get a two wheeled robot to balance using accelerometers and a gyro should be fun and will teach you a lot of things you'll need in order to make an autopilot.
http://www.sparkfun.com/products/10736
http://www.pololu.com/catalog/product/1256/resources
I still think this is beyond the BS2's capability.
Your advisor has very high hopes then. Writing a Kalman filter (or even a simpler almost equivelent) is a graduate level task. You could also use a IR thermometer array to determine horizon for horizontal, and that doesn't need a filter. It's a bit of an older technology, but it worked well.