Arduino drone - Part1 Flight Controller
Ғылым және технология
Full Arduino based drone. The tutorial is divided in a few parts. In this video I build the flight controller using the Arduino NANO and the MPU6050 gyro//accelerometer. To program the flight controller I've used the multiwii platform. Wait for the next parts, the radio receiver/transmitter and the final drone build.
Help my projects on Patreon : / electronoobs
my Q&A page: electronoobs.com/eng_preguntas...
PRINTERS
-------------------------------------
Ender 3(167€): www.gearbest.com/3d-printers-...
SparkMaker SLA: www.gearbest.com/3d-printers-...
Crealitu CR10: www.gearbest.com/3d-printers-...
Coupon code: "11CR10EU" or "11CR10US"
ANET E10 (219$): www.gearbest.com/3d-printers-...
Coupon code: "Anete10us"
TEVO Tarantula (175$): www.gearbest.com/3d-printers-...
Coupon code: "Tarantulaus"
Creality CR10 MINI: www.gearbest.com/3d-printers-...
COUPON: CR10MINI
Anet A8: www.gearbest.com/3d-printers-...
Coupon code: "A8KIDA"
-----------------LINKS-------------------
Flight controller webpage: www.electronoobs.com/eng_robot...
Transmitter/receiver webpage: www.electronoobs.com/eng_robot...
Drone build webpage: www.electronoobs.com/eng_robot...
Full tutorial webpage: www.electronoobs.com/eng_robot...
Multiwii downlaod: www.electronoobs.com/eng_robot...
Full part list: www.electronoobs.com/eng_robot...
PID tutorial: www.electronoobs.com/eng_robot...
---------------MATERIAL---------------
Arduino NANO: www.ebay.com/itm/Nano-V3-0-Min...
MPU6050: www.ebay.com/itm/MPU-6050-6DOF...
Drilled PCB: www.ebay.com/itm/15Pcs-Baklite...
Male pins: www.ebay.com/itm/5-PCS-40-Pin-...
12A ESC: www.ebay.com/itm/1-x-Emax-12A-...
---------------SCHEMATICS-----------
Flight controller schematic: www.electronoobs.com/eng_robot...
--------------------CODE------------------
MPU6050 test: www.electronoobs.com/eng_robot...
Multiwii downlaod: www.electronoobs.com/eng_robot...
Like share and subscribe to motivate me. Thank you
Пікірлер: 365
I had tried to build a Arduino controlled quad a couple years ago, and I just got a 3d printer and I found your videos on this build. This will help allot in finally finishing this project. Thanks.
This is exactly what I'm looking for... Thank you so much
Nice ! a very detailed project ! with easy to get parts and all Arduino based, Great !
thanks bro i work desprately to find this pid and now i find you i will smash the like button for you great jobs
What an effort, amazing, you must be crazy mad over electronics, The amount of time and energy you have dedicated for electronics is immense , keep it up :)
@ELECTRONOOBS
5 жыл бұрын
Thank you very much!
Best video tutorial ever !
THANK YOU SO MUCH BRO , T WILL BE USEFUL FOR MY DRONE PROJECT
God bless people like you that share their knowledge to the mortals around the world ! :D
did you get data and clock backwards on the MPU6050? you have SDA labeled "clock", SCL labeled "data" - but seems like DA would stand for "DAta" and CL stand for "CLock"
thank you sooooooooooo much. now i know how to make a drone
I was really curious to see the code to test the sensors and control the motors. Sort of a bit like the code to keep a humanoid robot balanced and walking in any direction I suppose. That’s some pretty advanced stuff though.
it's great video. who in the world give a thumbs down?
Excellent video thanks
holy cow this was exactly what i was looking for. thank you. cant wait till next videos. Im also building a fixed wing drone, and i dont know how to send data to the arduino. any tips?
@ELECTRONOOBS
7 жыл бұрын
Rodrigo D Madruga I'm using the NRF24 radio module and ppm output for the receiver. you will see in my next videos
Hay i like your quadcopter project . It will be awesome and helpful if u add barometer and magnetometer for altitude holding and navigation . OR u can use sonar sensor for altitude holding and also obstacle avoidance . I hope to see this arduino based project to be more advanced . Thank you.
Thanx for this video...i would like to know about the coding used in the Arduino.....how it works and more.....i have a question...i have seen other videos....in those videos they have used a barometer also and said programming a barometer is a difficult task ...what do u want to say about it..?
Awesome man. Thank you for these tutorials. Im building this drone with my kids, with home made radio control as your previous videos. Unfortunately, my ecs don’t seem to work with ppm signal. They spin fast from throttle 0. I calibrated my radio control and work fine. Trying to find MultiWii setup directions for pwm singnal and cant find anything. Kids want to present this project to school.. Can you help me on this please?
nice job
Great explains! Thanks. Like!
nice video ! i hope the next part will be soon uploaded ^^ comtinue like this ! :)
@ELECTRONOOBS
7 жыл бұрын
Thank you very much!
hey man great project.
great tutorial , thank you, I have a problem with two motors (front-R and rear-L),and their speed decreases automatically, although they are at maximum speed.
can i use these values with a 350 size drone with 1400kv motors?
Hola! Estoy en proceso de armar un tricoptero, usando multiwii 2.3. No encuentro la sección del código en el cual indique en qué pin de Arduino conectar el servo para la cola. Tendrás alguna idea de dónde debería ver? Gracias!
Awesome project. Can i use atmega8a 8kb flash memory microcontroller in this project
Hi, The motor says 'biggest thrust (g/s) - 1265/4' does that mean if I use 4 motor the total thrust generated will be 1.2kg or the one motor will generate that much thrust
Hey, great video. I wonder if you have a wiring diagram for a hexacopter? I would like my drone to have 6 motors. Thanks :)
excellent video...would recomend to all my friends!!! Helped a lot
awesome video dude
I loved ur video...
im using a win10 x64 it seems the multiwii 2.3 or 2.4 gui is not responding any ideas? i am using an arduino uno + MPU6050
At 1:38 when you are listing the purpose of each connection you have SCL as data and SDA as clock, this is backwards AFAIK. The SDA pin is serially polled at the rate of SCL Other than that great video!
@shutdahellup69420
6 жыл бұрын
Jake freise can these values be used for a 350 size drone with 1400kv motors?
el control en arduino trabaja igual que un transmiter y receiver regular ?
This is so good I built mine and I want add a barometric sensor please how do I do it do I need to code 🙏🙏
great video. Can you create the video drone(quadcopter) DYI, GPS using arduino step by step all connection and configuring and how to connecting each other all of things. And you created this controller and connecting that controller to drone.
@ELECTRONOOBS
7 жыл бұрын
Ch Sukhee i will first build this easy drone. later i will start adding stuff like GPS, barometer and so on...
@sukhee5
7 жыл бұрын
thank you.
@yuzdrone5464
7 жыл бұрын
++ and Opencv bro :D
@eric-janvandenbogaard9415
6 жыл бұрын
Nice ! yes, at this level it's also easy to enter for everyone, additions... well the sky is the limit i guess :)
Hii can I directly connect the ESC with brushless motor with receiver to test my brushless motor
GREAT VIDEO!!!!
hello - any idea why the MPU6050 orientation on multiwii is continuously changing randomly. On clicking start on multiwii, the quadcopter image on the screen rotates in all direction uncontrollably. is something wrong? how do i correct it?
It is possible to fly a drone without the speed controller. (ie) from the receiver to the electronic speed controller. please answer my question.
How does the flight controller work for any quadcopter design?
hi electronoobs,can i use a gps module with this via I2C bus communication and a fpv camera for make it hitech drone
Awesome
Hi their I was making the flight controller I soldered everything and connected to multi Wii I have a i2c error that increase in both postive and negative numbers pls help
So are the 5 volts for the flight controller supplied from the lipo battery or the esc’s?
Can u make a radio transmitter and reciver with brushed or brushless esc without using arduino and with high amper rating (all homemade) i want to make a drone myself without buying readymate circuts
Electronoobs.sir..i add barometer(bmp180 baro)..i2c pin...but not pogram it..1st.. open your brushed drone multiwii file...2nd.. open config.h and..do same..3rd.. open def.h...but i dont undersatand..how to pogram this baro..help me sir..
In the material list you use 12A esc right? is it can used 30A esc? thanks
Why are you didn't connect BEC output from ESC to Vin pin of arduino nano?you connected BEC output from the ESC to 5v of nano .pleas reply
I'm going to have to take this slowly, but it looks good.
Is it possible to plug sensors to Arduino and read the values on the OSD ?
Hi can you make a heavy lift drone with more than 6 bldc motor and build it's flight controller .?
How about if I only use 2 motors? How would the configuration look like?
I want to use coreless brushed DC motors. Can I use this flight controller
I have solder the board properly but in the java program its not simulating my gyro movement.what can be the problem?
thank you 4:40
I am just making a 450 class drone and I want the flight controller to be Arduino but I have flysky transmitter, is there any ideas to link up and controller. Please help me I am new to drones
I would like to understand the procedure to make the radio transmitter and receiver..
excuse me, I tried to connect nano board to the multiwii, but when I clicked Start, MultiWiiConf instantly closed and a text file name "hs_err_pid15704' appeared. So, how can I fix it? Thank you so much!
So you have two arduino nano for the receiver or what? I don't understand that part very well.
Excellent video! I hope you are doing great. I had two question though. I plan to build a nano drone using coreless motor and i already have a flysky ct6b rx tx set. 1. Will the Multiwii code support flysky ct6b as it does not have a ppm output? 2. For coreless motors, what kind of motor driver/esc will be good or if its possible to make one? Thanks! Pranav
@lukejoel6070
2 ай бұрын
Same here bro I bought 720 coreless motor and a 350 lipo battery after that I found that motor has low thrust to lift so I'm clueless. I have bought them. Is there any way to fly with these components
@pranavasthanaDelhi
2 ай бұрын
Hi !@@lukejoel6070 , My conclusion is that for DIY drones its hard to keep them light enough for coreless motors to work. Better to go with brushless motors. If you want to use coreless motors then you will have to buy a flight control board which has inbuilt drivers for these motors(those are also cheap), you can then flash and configure betaflight. You may either buy the frame or 3d print.
Hey, my gyroscope is MU 2020, does it have to be programmed for Drone? It can be used by direct connection with Arduino!
can we use 20A esc's ?? and 1000kv brushless motor?
I have an ADXL345 Accelerometer (w/o Gyro). Can I use the same code as yours to calibrate and run that?
can i include nrf module in the flight controller pcb itself? please help
Can u make a arduino uno flight controller without accelerometer and gyro
Hi brother. One more doubt. If I am not using BEC then I have to connect the signal only .is ground needed bcz I powered my arduino with 8 v regulator ...I am only powering reciver with bec
Sir...I still have not solved the error. Do you know what it means?
Pak ,saya mau bertanya saya menggunakan arduino uno r3 dan sensor mpu5060 apa yg harus di ubah dalam program multiwi,? Mohon bimbingannya trimah kasih
We are making Hex copter then what will changes in program please tell ??
Can i use brushed motor for this arduino flight controller?
Is there possibly a way I could download the multiwii on mac? I downloaded it but it wont let me open it.
Can you help me. When I try to move the MPU6050, it is not detecting on multiwii and when I try to upload the code, it is showing a lot of errors. Please answer ASAP
You should talk with Joop Brokking
@ahmedallam9612
4 жыл бұрын
hhhh, maybe they are friends,
@dae1925
3 жыл бұрын
Gay
what is the problem with multiwii platform...help me plz # A fatal error has been detected by the Java Runtime Environment:
Is all of this applicable to fixed wings drones?
Hey Electro i made the same connections u briefed about, the multiwii simulater is showing everything fine the gyro-accelerometer all the throttle yaw pitch etc but the output is not adequate i.e the pins to be given to ESCs, its showing values 8000(not 1000-2000)
@ELECTRONOOBS
6 жыл бұрын
That's strange. Go to config.h, type cntrl+F in order to open the find tab adn search for MAXTHROTTLE variable and make sure it is 2000. And MINTHROTTLE is 1000. Keep up!
hi i cant get the multiwii software to work on mac its wont open to the screen please help thanks
Can you help me pls, how can I make this into a Bluetooth control drone, what is the codes for that to happen?
Can we use market flight controller in place of arduino flight controller
Can you fix the link for MPU6050 test , the current link is not working
Very Great and Informative video but one thing in the schematic shown u said Motor1, Motor2, Motor3, Motor3. You repeated motor3 2 times
I followed every step of each video twice. But it still is not working for me. The software shows the controller is working but the motor doesnt respond. Sometimes, I just get random fluctuating behavior from the motor. Any advice is highly appreciated!
Hi Sir, Can I use this flight controller directly to my FS ppm controller?
Can i use this flight controller for brushed motor
Cool
In multiwii conf after selecting com port when i click start it shows hs_err_pid. How to fix this problem plz help me.
Hey guys im running into a problem with multiwii. It sees the com port i used for the arduino nano but when i select it and click start the multiwii gui shutsdown. Has anyone else encountered this??
Why are you didn't connect bec output pin to Vin pin of nano?
hello friend there is a problem with my multiwii . when i clike start option on multiwii it becom disapear can you help me please!
hola , gracias tenias toda la razón, utilice el enlace que me dejaste para configurar las esc y ya no pitan , no me encendían los motores por que quizás el radio control tiene otra configuración y me toco invertir el pin d3 con el d6 y ya encienden lo único que me falta es que al dejarlo sin acelerar los motores siguen funcionando que podría ser? gracias
@ELECTRONOOBS
6 жыл бұрын
Eso es normal. Puedes quitar esa opción pero es mejor así. Piensa, si aceleras desde cero tendrás mucho mas turbulencias hasta que todos los motores tengan la misma velocidad y en ese instante el dron podría perder el control. Para eso cuando lo enciendes es mejor dejarlo a bajas rotaciones. Saludos!
Hey man , nice video tutorial ! Can i ask you to update when you can the link of the material ?
How to calibrate same this same board using mission planner software
in my pc working only multiwii 64 the code will work on it?
how many esc‘s / servos can i control with an arduino uno/nano
Tried the exact same code and 2.3 multiwii but all im getting is errors and crashes
Hola , es necesario el arduino en el mando? no vale uno tipico de radio control? Buen tutorial , enhorabuena.
@ELECTRONOOBS
7 жыл бұрын
No es necesario, pero este tutorial es para un dron 100% con Arduino. Un transmisor/receptor normal con PWM o PPM también sirve.
may i use camera in it and connect to wifi.
May i know the flowchart of the coding for the flight controller
hey friend that mpu6050 is slowly drift on z axis.
my multiwii platform is not working when i click the start button it automatically closes the platform please help me