Posted by James Corbett on October 14, 2009 at 2:07pm
I'm planning a UAV based on the HTC Dream (G1) and arduino IC.I realise this is a difficult proposition but I think it can be done!The foreseeable problems that I think I'm going to encounter are:- Pitch and roll calculations, accelerometer is built into the G1 but gyro or other stabilisation method will be external.The reason for using this odd setup is that the G1 has almost everything I need:- Accelerometer- GPS- Digital Compass- Easy to use programming editor- access to the internet- live video broadcast over 3GAny help with this project would be appreciated, I have experience with IC's and circuits, and plenty of programming experience. Comms between the arduino and the G1 are via serial.All code will be open source, and my method to build etc. will be public knowledge.Thanks,James Corbett
You need to be a member of diydrones to add comments!
Yeah it is an old post, I would know how to do it, but it is the money aspect which is the problem for me. I think the GPS can be used, but it is unlikely that the accelerometers can be. I'm now thinking of a prebuilt IMU with the guidance and control systems from the phone either on a socket server or by text. Take note though, over 3g and wifi you will have significant latency which means you can't have real time control over the link and the video will be a few seconds behind.
I see that this is an old post and am wondering how you have progressed with this idea.
I am currently undertaking a group project at university to build a MAV from scratch and I am in charge of the system. I had a similar idea due to all most every android phone having the a lot of the desired hardware built in and apps to track using GPS and stream live video available. This MAV needs to have a live video link and live GPS positioning and can have some level of autonomy.
Any help regarding what you have managed to do would be gratefully recieved.
I've been thinking about this for a while too but my schedule got tied up. With the winter months I'm hoping to pick it up again but probably using my SRV1 blackfin camera board base for the robot and the G1 as the controller for an aerial vehicle. :)
A while ago I figured out how to break out the serial port and now recently someone (Who wants to make a UAV too!) used the ndk to make a java wrapper for serial port access inside apps. Check it out: http://code.google.com/p/android-serialport-api/
I'm guessing it will be useful to you and also cheaper than a bluetooth solution.
So you don't have to program/debug both the arduino and the phone separately, it might be cool to use firmata on the Arduino. That way you can read/write/control the pins of the Arduino on the G1 as if you were doing it directly.
Replies
I am currently undertaking a group project at university to build a MAV from scratch and I am in charge of the system. I had a similar idea due to all most every android phone having the a lot of the desired hardware built in and apps to track using GPS and stream live video available. This MAV needs to have a live video link and live GPS positioning and can have some level of autonomy.
Any help regarding what you have managed to do would be gratefully recieved.
Regards
Matthew Cotton
A while ago I figured out how to break out the serial port and now recently someone (Who wants to make a UAV too!) used the ndk to make a java wrapper for serial port access inside apps. Check it out:
http://code.google.com/p/android-serialport-api/
I'm guessing it will be useful to you and also cheaper than a bluetooth solution.
So you don't have to program/debug both the arduino and the phone separately, it might be cool to use firmata on the Arduino. That way you can read/write/control the pins of the Arduino on the G1 as if you were doing it directly.