I have been working for a year on my home-made quad. It is made with wood, and it is controlled via wifi using a Fonera Router

 

Both WII NK and WM+  sensors gives the information to the router throughout custom CPU GPIO pins. To achieve I2C communication a especial linux kernel module is used to make an emulated i2c port with every 2 GPIO pins available.

 

The user can pilot the aircraft with a HTML5 and canvas web interface, making AJAX request on every key stroke or mouse movement. Telemetry is received with COMET (SERVER Push) HTTP information and Javascript is used to manage the entire page.

Fonera sends rotor commands to a 16F876 PIC, which generates PPM signals to manage ESC ( Electronic Speed Controllers). Those ESC are the power stage to trifasic motors.

To achieve very fast and less time consuming requests, http router web server has been modified on it's source code, to process all the AJAX requests in a RAM shared memory portion on the router.

 

 

 

 

Software control is home-made, and suited to be run into Fonera. It reads nunchuck and motion+ wii sensors, applies a low-pass filter, and a 2nd complementary filter (The RoyLB implementation ->thnx!) on every loop which has been previously readed.

 

Now I'm testing better PID values...

 


Views: 1828

Comment by ionut on August 10, 2011 at 5:04am
Very nice.Do you plan to make the source code available?
Comment by David Melendez on August 10, 2011 at 9:52am

Yeah, I'm preparing a source code project in google code. I hava to learn how it works xD

 

http://code.google.com/p/atropos-flight-control/

Comment by Prasant on March 15, 2012 at 7:39am

hey brother can u tell me what is max speed of ur motor afterusing ur own battery?????????

Comment by David Melendez on March 15, 2012 at 8:12am

Hi!. Motors are 1100KV. That means the motors spin 1100 rounds per volt you apply. Motors are for 11,1v LiPos (max operating volts). So you get 1100x11,1=12.210 RPM of maximum rotation speed.

Comment by Prasant on March 15, 2012 at 8:23am

thank u brother...........

Comment

You need to be a member of DIY Drones to add comments!

Join DIY Drones

© 2017   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service