Program My New Helicopter to Fly
lukkas
Posts: 9
First All Hello,
I am waiting to take a new project to expand my knowledge I have a new helicopter that I have been flying, and now I want to program it to fly by itself... So first off, there is a ton of microprocessors and boards and i do not know which one to start with... I am going to add video, gps, weather sensors, will need another gyro, also WiFi more than likely and maybe one or two things.... but I do not know which board to choose because of weight and inputs any info will be greatly appreciated .... Just FYI I am well versed in computer programming just wanted to test skills to see if I can make it work
Thanks
I am waiting to take a new project to expand my knowledge I have a new helicopter that I have been flying, and now I want to program it to fly by itself... So first off, there is a ton of microprocessors and boards and i do not know which one to start with... I am going to add video, gps, weather sensors, will need another gyro, also WiFi more than likely and maybe one or two things.... but I do not know which board to choose because of weight and inputs any info will be greatly appreciated .... Just FYI I am well versed in computer programming just wanted to test skills to see if I can make it work
Thanks
Comments
A QuickStart board is a good place to begin. Gadget Gangter gives you an extra proto board to use with the QS.
What kind of helicopter do you have? What radio system are you using with it?
A lot of people on the same bandwagon. See what has been done in these recent threads. Although these threads are geared towards quad copters, some of the flight controls would lend it to a one rotor system.
Another very good source of information is:
http://diydrones.com/
http://forums.parallax.com/showthread.php?133372-Ken-Cluso99-W9GFO-JasonD-s-QuadCopter-Build-Log-(updated-info-ELEV-8-availability)&highlight=Quad+copter
http://forums.parallax.com/showthread.php?136370-ELEV-8-Quadcopter-ordering-design-files-assembly-and-flight!&highlight=Quad+copter
http://forums.parallax.com/showthread.php?136787-QuadX-my-latest-Propeller-with-Propellers&highlight=Propeller+propellers
And Parallax has a nice base unit to start with as a quadcopter:
http://www.parallax.com/Store/Robots/FlyingPlatforms/tabid/964/ProductID/799/List/0/Default.aspx?SortField=ProductName,ProductName
Jim
Quadcopters are generally more stable than helicopter.
I found this link for a Matrix 250R.
http://www.bananahobby.com/2231.html
The flybarless technology looks very interesting. If this is the same helicopter, then it comes with a triple axis gyro. I'm not sure if you'll be able to tap into the gyros signal easily or not.
Unless this helicopter is much more stable than most helicopters in its class, it going to be very difficult to get this to fly autonomously.
Go ahead and continue to ask questions in this thread if your questions are about this same project. It would help if you provide links to any items you have questions about.
This subject comes up every so often here but I don't know of any successful autonomous RC helicopter projects on these forums. (One reason may be that they are against the law.)
And are Autonomous helicopter really illegal
The stability is very impressive I have flown it since Christmas last year and it flies good
My timeframe is 1 year
I have to disagree about quadcopters being more stable than helicopters. My ELEV-8 is equal in stability to my T-Rex 450s but less stable than my 650, JR Voyager or my gasser.
If the quadcopter is self-leveling then it should be more stable than most helicopters but many quads do not have this feature.
When I put together a quad using the HoverFly Pro board, then that one should prove to be more stable than all the others.
http://heli.stanford.edu
Flybarless helicopters have the best stabilization. Your 250 is too small to do any UAV maneuvers, maybe 2-3 minutes flight time if you lose half your list of sensors and navigation requirements.
If you're going to use a small heli you might have to get creative. It will be semi-autonomous at best.
[video=youtube_share;UkEwtDJfPwk]
I haven't flown a quadcopter (yet). I had read here on the forum that quadcopters were easier to automate than helicopters.
I agree that in general larger helicopters are more stable than small helicopters (but the large ones rip themselves apart more in a crash).
I haven't ever flown a flybarless heli so I don't know how they compare with the coaxil helicopters, but the couple of coaxil helis I've flown have been surprisingly stable.
I'd think a coaxil would be a good candidate for automation, they're just kind of boring to fly for the fun of it.
Rick, I hadn't seen those Stanford helis. Thanks for the link.
I've seen some quadcopters actually put weight above the axis of the propellers. The lower the center of gravity, the easier it would be to program. The closer the center of gravity to the axis of the propellers, the more likely it is to capsize.
But the first question anybody know where some sample code would be I would like to know if I am on the right track
Thanks
I've seen video of one flying sideways through a narrow slot in an autonomous mode. They do indeed seemed to be better adapted to the very tiny.
Helicopters seem to have to have gyros to offset the never-ending desire to spin. The tail rotor is a very demanding piece of equipment.
I'm not convinced this is true. At first glance it seems like it should work that way but I don't think it does. An example is the Hiller flying platform. The CG was well above the rotors and the vehicle was stable to a fault.
A CG in line with the propellers works well because you want the vehicle to change its attitude about it's center. If the CG was well away from the center then response to changes would be all wonky.
An ELEV-8 is neutrally stable. Meaning it will stay in whatever orientation (not position) you command it. It will not seek level. A capsize will only occur if you tell it to, or if something fails.
I guess that is the most important thing... That's I guess too what I am confused about I want to know what the best way is to go about it... I have researched many different type of solutions but can not determine the best way to go ...maybe some advice on where to start with sensors and boards
Thabks
So not use the gyros that are there now at all put new ones on
You'll need to mesh accelerometer and gyro data for both a balancing robot and an autonomous helicopter. With a balancing robot you can learn to do this with one axis and then apply what you learned to the three axes of a helicopter.
Hanno's dance bot is a good example of a balancing robot that uses accelerometers and a gyro.
Here are a few quick picks.
It's hard to beat the Propeller Proto Board for building this type of project. It might be a bit large for you purposes, but if you decide you don't need all the room, you can cut the board to a smaller size (if you're careful where you cut).
The link I gave is for 5 boards. You can also buy PPB one at a time. If you don't use the USB version of the PPB, you'll need a Prop Plug.
You'll probably want a 3-axis gyro and a 3-axis accelerometer. I'd think the ones Parallax carries would do the job just fine, but there are also lots of choices at SparkFun. I think SparkFun has some buying guide to help a person select the correct sensor for their needs.
Learning to get the Propeller to interact with these sensors would be a good start towards your goal.