Arduino as flight controller???

Started by rohan123, September 05, 2014, 04:12:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rohan123

i am trying to make a quad with an arduino uno(or mega) as the flight controller and having a hard time working with it ...need help with the code and control settings for the quad(throttle,pitch,yaw,roll controls for motors) and if anybody has the code plz post it...and reply soon

devangflyer

I would suggest you to first buy the sensor shield . link -
And then copy the multiwii code and select the sensors from the board , I can do that for you if you want me to .
Then I would suggest you to select the specific things in the code , it should work
. Will post link later

rohan123

Im gonna use 6DOF, i am not familiar with the multiwii can you tell me about it. And thanx for the reply

devangflyer

It's kinda same , but multiwii firmware can be used with gps and is more reliable .

rohan123


devangflyer

That's why I said pls wait , I forgot where I had seen it , pls wait

devangflyer

I think it was on rcelectro , but his website is shut now , now he operates from ebay , he still has plenty of items to add like the shield board

devangflyer

Till then , why not buy a hobbyking flight board , that sundaram sir is selling in his thread for @600 rs

rohan123


devangflyer

Quote from: sundaram on September 04, 2014, 11:29:27 PM
Still available unblocked

HobbyKing Multi-Rotor Control Board V2.1 (Atmega168PA) Qty 01 Nos Rs 600 Including shipping

HobbyKing Multi-Rotor Control Board V3.0 (Atmega328 PA) Qty 02 Nos Rs 950 each Including Shipping




rcrcnitesh

Or you could go for a diy Naze32.
All you need is this
,]http://rover.ebay.com/rover/1/4686-53472-19255-0/1?ff3=4&pub=5574898371&campid=5336718137&toolid=10001&customid=DIY%20Electronics&mpre=http%3A//www.ebay.in/itm/ARM-Cortex-M3-STM32F103C8T6-STM32-Minimum-System-Development-Board-/181511290713%3Fpt%3DIN_Computer_Components%26hash%3Ditem2a42ea7f59%26_uhb%3D1[url],http://rover.ebay.com/rover/1/4686-53472-19255-0/1?ff3=4&pub=5574898371&campid=5336718137&toolid=10001&customid=DIY%20Electronics&mpre=http%3A//www.ebay.in/itm/GY-521-MPU-6050-Module-3-Axis-Gyroscope-Accelerometer-for-Arduino-/151340690164%3Fpt%3DLH_DefaultDomain_203%26hash%3Ditem233c9baaf4%26_uhb%3D1[/url]
http://rover.ebay.com/rover/1/4686-53472-19255-0/1?ff3=4&pub=5574898371&campid=5336718137&toolid=10001&customid=DIY%20Electronics&mpre=http%3A//www.ebay.in/itm/BMP180-High-Precision-Digital-Barometric-Pressure-Sensor-Board-Module-Arduino-/131278976384%3Fpt%3DLH_DefaultDomain_203%26hash%3Ditem1e90d63580%26_uhb%3D1
http://rover.ebay.com/rover/1/4686-53472-19255-0/1?ff3=4&pub=5574898371&campid=5336718137&toolid=10001&customid=DIY%20Electronics&mpre=http%3A//www.ebay.in/itm/HMC5883L-Digital-Compass-Module-GY-271-magnetometer-3-Axis-Magnetic-Field-Sensor-/171398183793%3Fpt%3DIN_Projectors_Accessories%26hash%3Ditem27e820bb71%26_uhb%3D1
http://rover.ebay.com/rover/1/4686-53472-19255-0/1?ff3=4&pub=5574898371&campid=5336718137&toolid=10001&customid=DIY%20Electronics&mpre=http%3A//www.ebay.in/itm/CP2102-USB-2-0-to-TTL-UART-SERIAL-CONVERTER-ARDUINO-PROGRAMMER-MODULE-ADAPTER-/281384691630%3Fpt%3DIN_Computer_Components%26hash%3Ditem4183d5a7ae%26_uhb%3D1
http://www.ebay.in/itm/25-Pcs-of-Female-to-Female-Jumper-Wires-with-Free-80-pin-male-burg-strip-/271588947344?pt=LH_DefaultDomain_203&hash=item3f3bf67590&_uhb=1
and some solder

Refer over here http://www.rcgroups.com/forums/showthread.php?t=2154329
Maker | Aeromodeller | Teenager

tantragna

Buddy rohan123, you need to find somethings for yourself and do things for yourself. Spoon feeding will keep you a baby, if you decide not to grow up, then thats the way. Also you may need to add some 'please', 'thank you's for someone helping you, whether elder or younger than you, and keep the order passing attitude with yourself.

Even if devangflyer is a friend of yours, this is an open forum and some etiquette will be much appreciated. Hope you take it in the right spirit and oblige! Thankyou!

rohan123

can i just take the board(HobbyKing Multi-Rotor Control Board V2.1 (Atmega168PA)) out of the box and use it for the quad???

tantragna

well, you can use it inside the box too!

rohan123

sorry the thing was i was posting from my phone and had trouble typing plus i have to show this to a coordinator in school so i can be chosen for a competition and i just started programming my arduino ,i wanted to take time and learn the whole process by myself but the school wants to see the quad in the next 15 days and i havent done the coding so im in a hurry ...i am sorry again...thank you all for the help and plz help me i dont want to screw up...  :'( :'( :help: :help:

tantragna

okay okay, sorry to be a bit hard from my end too, but most of your posts are like ordering us to help you. And Mr. Sundaram is an fauji officer, so kindly edit your post enquiring the sale of the fc board with atleast a 'Sir' while addressing him. And I think it is still available, and yes it can be used right out [actually within too :giggle:] of the box with little tuning of the onboard trims/pots. The firmware too can be customised with the help of a avr programmers like, usbasp programmer dongle. All the best for your project!

rohan123