I have been working in aviation design engineering for the past 16 years. Wanted to get my hands dirty with these flying bots as hobby. Your tutorial helped me immensely. My quadcopter took first controlled flight today following your videos. Keep inspiring. Hats off for this knowledge sharing...
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.
u really would have worked hard for this project. I honestly never expected anyone to build a drone like this. I was hoping a lot from someone which turned out to be u. Thanks a lot. Keep it up. Nice explanations. Good luck
As a miniquad pilot, the weight is not actually that bad. I challenge you to add some FPV (wireless video system) components to your quad and maybe look at high-end motors and ESCs :)
awesome i've made it to this point, i can now control motor speed from my remote controller. all that is left is to actually fly my drone somewhere. keep it up!
hi thank you buddy i watched all the videos of this build it awesome. good explanation buddy :) on you tube i had seen many quad videos but never had such great detailed explanation. thank you for these videos.
There are very professional and cheap flight controllers with speed controllers and IMUs. Problem is the algorithms eliminating sensor reading errors and proper flight stability. You need quite a calc power and fast mcu to achieve reasonable flight effect. Those algorithms are really sophisticated.
Hi.. I'm also building the quadcopter using arduino nano but the tx n rx which I'm using is fsia6 and when i configure the multiwii software same as on the video duration of 6:18 apprx and when I'm turning on the tx there is no chnge on the throttle,yaw,pitch n roll.. how i can resolv that.. please help asap
Great tutorial. Am looking at building up parts and trying this, fully scratch built. You say if you don't have a 3d printer for STL files, there are alternatives in description (and you show A4 printouts on the video), but the only alternatives I can find on your site are details of possibly using wood plastic or metal, but none match this design. Do you have printouts available?
Hi guys i need help!so when i rauch the multiwiiconf. When i select the port com and it connects very well but when i press the start button the whole program just dies and says nothing'if you can help me.Thanks you so much
Sir please give the clarification regarding when you switch on the drone. a music tone is coming. You don't install any buzzer to flight control board .. then where that sound is coming. I think you instal commercially available flight control to that drone.
I've ordered my parts and can't wait to start this (the body is already printed). :-) Would you consider expanding this project to be GPS guided, and possibly adding FPV? Great project, keep it up
The FPV is separated from the Arduino part. Depends on your gear. The GPS works but I haven't tested it yet. Using Multiwii you have multiple choices. I think there are other videos about it. I'm not sure when I'll be able to make a video about that since I'm working already on other projects... Thanks and keep up!
How about a onboard camera that records, with heads up display data? I saw this Minim OSD on aliexpress and wondered if it could be incorporated into a onboard camera to record the flight. :-)
sir im also makeing this project. i made transmiter $ resiver and tested it with given code. its works like a charm. whenever i change the code to actual reciver, connect ppm output to the ppm input of flight controller and run the application. i couldnt get any data from transmitter you have any idea please share with me that would be really appreciable. Thank you!
First of all, great job! Very informative video and i wanted to build my own Arduino based Tx/Rx and Flight controller and this video came as a real help. Thank you. I have built everything except the frame. RF Transmitter and Receiver work fine. Flight controller works fine. But when i connect everything (meaning connect D2, GND of Receiver to D2, GND of Flight controller), motors don't respond to the joystick movements. This is what i have observed: 1. Tested Rx with Rx test code and all joystick value prints correspond to the transmitted values. they change when joysticks are moved. 2. Calibrated the ESCs as described and found that the minimum value is 1200us and changed the same in multiwii config file. 3. Even the java GUI shows joystick values correctly when i change the joysticks, but motors don't spin! 4. I probed the PWM outputs of flight controller Arduino, they are at constant 500Hz, 50% duty cycle. They absolutely don't respond to any joystick changes. Any suggestions of where i should be looking further? Many thanks!
Have you activated the motors with throttle 0 and roll maximum for 3 seconds 7:00 ? Also are you sure that all the motros have the samw PWM range. Usually is 1000us to 2000us. Maybe you should reset the range for all the ESCs, it will take just 5 minutes. Use this tutorial for that: www.electronoobs.com/eng_robotica_tut5_1.php There you will find the calibration code. Keep up!
Brother....I made the communication done, the drone is also responding to the multiwii but the motors are not turning. Although i checked the battery, voltages, ESC's with servo.h library....
Great if learning how all components in a quad works! You may want to look at other Betaflight based miniquads (or race quads) as the MultiWii platform is not currently being developed and it is old technology. Look at current miniquad build videos if you're aiming for performance :)
Yes, the idea is to make this project all based on arduino. So I don't know any other platform that works on Arduino than multiwii. But yes, multiwii is quite old. That's why in future videos I'll make my own code, crude but it will help people to learn about PID and gyro data, etc... Keep up!
Hello bro. I was able to upload the scatch into arduino nano, but when I open the MultiWiiConfig, select the port and hit start it closes the app and generate and file error output. Do you have any idea what this might be?
Hi Electronoobs, I am going to use this receiver Flysky FS-iA6 2.4G 6 Channel Remote Control Receiver, which receiver pins would need to be connected to the Arduino nano.... I know that one is for signal and one is for power ...
hi , thank you very much for this project, but why do we use two arduino? we cannot use a single arduino that we connect the nrf24 directly to it, because the number of ports is sufficient ???
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!
I set the throttle to minimum and roll to maximum, but the motors still do not start. I can see in multiwii conf that the receiver and transmitter does work, and is sending the correct values but the motors still don't start. Any advice?
Hi Electronoobs! I am working on this but I was not having radio controller(old transmitter)..so i decided to make a desktop application for transmitter in visual c# and made some development in tx arduino code. The transmitter work fine with multiwii everything throttle yaw pitch roll works on ...but when I try to start the drone by making throttle min and roll max the drone doesn't start.....please help
Hello, I'm trying to build a drone but i am totally new to motors and esc, i have no proper training and I dont know how to choose them, is there any tips you can give a beginner like me about this part? My drone has around 1.6-2kg weight and most of the brushless motors i see on the market are for 4'' drones. How would one find out about the thrust weight ratio of a brushless motor?
Can i use the bluetooth module for not using the transmitter and receiver but Now leave the connectivity issues because if it would possible then it will be asset for me and can u suggest me about this soon
A very great project... thanks a lot.. but i am using a 4 channel.. so i am unable to arm the quadcopter in order to fly it.. i am stuck. please help..
no, you're right. but because later you would have to swap two wires to change the spin direction (if not the desired one) in my case it is easier for me to explain how if I just fix a middle wire. Keep up and thank you!
i made all the connections as shown in the videos.when i throttled up the motors spin for a moment then stopped.since then i am not able to throttle up the motors using the controller
You calibrate your ESC's one by one. I used potentiometer as input device. Follow the steps as below: 1. Connect Arduino nano with Analog input (say A0 pin) from potentiometer. 2. Connect the output put (say Pin 8) to the ESC 3. Switch Potentiometer to Max Value 4. Connect Power to the ESC (Electronic speed controller) 5. You will hear Beap. 6. Immediately take the potentiometer to Min value 7. Again you will hear the beap 8. ESC is calibrated now 9. Repeat for all the motors independently. Hope this helps. I learned really hard way :)
hi sir, i have completed all the setup. But my drone is not lifting.Can you please help me joystick control for lifting the drone. Also my drone size is 450cm , used bldc 2212 motor with simonk30A ESC . Issue1: after reducing throttle and yaw to higher, only 1 motor is running, when i increase the throtle, others are running. Issue2: Not lifting Please help me here
brother can you help me how to use bluetooth module or my own wifi module instead of the other part you attached in the last which is radio reciever something
sir,the calibration of my ESC is not functioning in proper way the speed of the motor automatically decreases when the value goes avobe1500.I'm helpless pls do reply to my problem 's solution soon as i have been stucked in the middle of my project and i have spent much on buying the motors and escs, pls reply to my problem by a solution sir....
Very good clips, but, I have a problem I did everything as described in Arduino Drone video clips, but the electrical motors don't spin 1. I followed the instruction and uploaded the Arduino program 2. The calibration of the ECS motors was ok and each of the 4 motors spin within the rang of 1000 to 2000 3. The simulation with the multiwii run every very good and I see that the RC is working 4. I used an oscilloscope to check the signal from the remote to the Arduino and it works 5. I used an oscilloscope to check the signal to the ESC and I see that there is a clear signal of the 4 channels
Thanks for the great project using commonly available components and making this "expensive" hobby accessible to all. I just wanted to know what are the performance trade offs in using 8 bit Arduino as compared to: 1. A 32 bit microcontroller like stm32 2. A cc3d 3. A naze32 4. Naza In addition, what are the performance trade offs in using nrf24 based transmitter and receiver as compared to say, a ct6b or i6? Thanks!!
Great Project and Good Going...!!! I am a beginner for DIY drone... Can we use Micro Coreless motors in this project and connect the motors directly to Arduino Flight controller...without using ESC..? Thank You.
Hey man, that's awesome(i'm brazillian, sorry for my english...hue). I Wanna try to Build this drone here, but I have problems to find some things, like the bruhsless motor and the ESC. Did You make an eletronics course, or anything?
Lucas Jacobsson in the way the drone is in the video it would slowly go down as the battery gets empty. but the multiwii has a battery check pin. you have to add a voltage divider and connect it to that pin and the multiwii will know the real voltage.
If a Radio Controller comes with a compatible receiver will it still work with this project and also if it does work will there be less things to do???
channels throttle with a duty cycle from 0 to 100% I use DC motor . How do I fix it? please help me #include #include #include #include //Define widths int pwm_width_2 = 0; int pwm_width_3 = 0; int pwm_width_4 = 0; int pwm_width_5 = 0; int pwm_width_6 = 0; int pwm_width_7 = 0; Servo PWM2; Servo PWM3; Servo PWM4; Servo PWM5; Servo PWM6; Servo PWM7; //We could use up to 32 channels struct MyData { byte throttle; //We define each byte of data input, in this case just 6 channels byte yaw; byte pitch; byte roll; byte AUX1; byte AUX2; }; MyData data; const uint64_t pipeIn = 0xE8E8F0F0E1LL; //Remember that this code is the same as in the transmitter RF24 radio(9, 10); void resetData() { //We define the inicial value of each data input //3 potenciometers will be in the middle position so 127 is the middle from 254 data.throttle = 0; data.yaw = 127; data.pitch = 127; data.roll = 127; data.AUX1 = 0; data.AUX2 = 0; } /**************************************************/ void setup() { //Set the pins for each PWM signal PWM2.attach(2); PWM3.attach(3); PWM4.attach(4); PWM5.attach(5); PWM6.attach(6); PWM7.attach(7); //Configure the NRF24 module resetData(); radio.begin(); radio.setAutoAck(false); radio.setDataRate(RF24_250KBPS); radio.openReadingPipe(1,pipeIn); //we start the radio comunication radio.startListening(); } /**************************************************/ unsigned long lastRecvTime = 0; void recvData() { while ( radio.available() ) { radio.read(&data, sizeof(MyData)); lastRecvTime = millis(); //here we receive the data } } /**************************************************/ void loop() { recvData(); unsigned long now = millis(); //Here we check if we've lost signal, if we did we reset the values if ( now - lastRecvTime > 1000 ) { // Signal lost? resetData(); } pwm_width_2 = map(data.throttle, 0, 255, 1000, 2000); //PWM value on digital pin D2 pwm_width_3 = map(data.yaw, 0, 255, 1000, 2000); //PWM value on digital pin D3 pwm_width_4 = map(data.pitch, 0, 255, 1000, 2000); //PWM value on digital pin D4 pwm_width_5 = map(data.roll, 0, 255, 1000, 2000); //PWM value on digital pin D5 pwm_width_6 = map(data.AUX1, 0, 255, 1000, 2000); //PWM value on digital pin D6 pwm_width_7 = map(data.AUX2, 0, 255, 1000, 2000); //PWM value on digital pin D7 //Now we write the PWM signal using the servo function PWM2.writeMicroseconds(pwm_width_2); PWM3.writeMicroseconds(pwm_width_3); PWM4.writeMicroseconds(pwm_width_4); PWM5.writeMicroseconds(pwm_width_5); PWM6.writeMicroseconds(pwm_width_6); PWM7.writeMicroseconds(pwm_width_7); }//Loop end
Sir when I tried to configure after the message appeared on the serial monitor of arduino I wrote the minimum value then it came the message to write any value between 1000 to 2000 the spin the motor but after writing that I ESC was just beeping
Send 2000, then connect the LiPo battery. This will enter into config mode. Them send 1000 and that will set the range. After this you can send 1000 to 2000 in order to control the speed.
ı have; 2×arduino uno or arduino nano, 1×tower pro servo motor, 1×dc brushed motor, 2×NRF24L01+ radio, 1×l298n motor driver, 2× joystick board and all of usefull equipment but ı dont know how to write control codes for arduino.
I have been working in aviation design engineering for the past 16 years. Wanted to get my hands dirty with these flying bots as hobby. Your tutorial helped me immensely. My quadcopter took first controlled flight today following your videos. Keep inspiring.
Hats off for this knowledge sharing...
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.
u really would have worked hard for this project. I honestly never expected anyone to build a drone like this. I was hoping a lot from someone which turned out to be u. Thanks a lot. Keep it up. Nice explanations. Good luck
The best drone project with explanation I've seen so far! Thank you ;)
As a miniquad pilot, the weight is not actually that bad. I challenge you to add some FPV (wireless video system) components to your quad and maybe look at high-end motors and ESCs :)
awesome i've made it to this point, i can now control motor speed from my remote controller. all that is left is to actually fly my drone somewhere. keep it up!
did you use ppm
@@rajatpathak5944 hey..I used ppm and it doesn't seem to work..
Excellent project but isn't the response time slow it dosent spin motor quickly enough when the throttle is pumped up
hi thank you buddy i watched all the videos of this build it awesome. good explanation buddy :) on you tube i had seen many quad videos but never had such great detailed explanation. thank you for these videos.
There are very professional and cheap flight controllers with speed controllers and IMUs. Problem is the algorithms eliminating sensor reading errors and proper flight stability. You need quite a calc power and fast mcu to achieve reasonable flight effect. Those algorithms are really sophisticated.
The components you chose makes me feel like back in 2015. Cool build tho
The idea is to make it cheap and based on only arduino! Thank you!
ELECTRONOOBS ur welcome. I really like the idea of using arduino
ELECTRONOOBS Please give me your whatsapp number
MUHAMMAD UMAR AADIL just a weird question right there haha
Here is my mail: info@electronoobs.com
Don't share my number any more, been hacked 2 times already!
trust me, this guy is a legend!!
Hi.. I'm also building the quadcopter using arduino nano but the tx n rx which I'm using is fsia6 and when i configure the multiwii software same as on the video duration of 6:18 apprx and when I'm turning on the tx there is no chnge on the throttle,yaw,pitch n roll.. how i can resolv that.. please help asap
Great tutorial. Am looking at building up parts and trying this, fully scratch built. You say if you don't have a 3d printer for STL files, there are alternatives in description (and you show A4 printouts on the video), but the only alternatives I can find on your site are details of possibly using wood plastic or metal, but none match this design. Do you have printouts available?
Hi guys i need help!so when i rauch the multiwiiconf. When i select the port com and it connects very well but when i press the start button the whole program just dies and says nothing'if you can help me.Thanks you so much
Are you using nano?..if yes put a 10 k ohm resistance to last 6 holes of nano and it will work just fine
Awesome video! Gonna try to make a drone like this too
7:01 what is the delay from the controller to the motors?
IS it possible to use any receiver to connect to my drone instead of using the one created in the video?
Sir please give the clarification regarding when you switch on the drone. a music tone is coming. You don't install any buzzer to flight control board .. then where that sound is coming. I think you instal commercially available flight control to that drone.
could help me to deactivate the // to what is necessary so that cuadrocopter works with the flysky i6, the command has ppm.
I've ordered my parts and can't wait to start this (the body is already printed). :-)
Would you consider expanding this project to be GPS guided, and possibly adding FPV?
Great project, keep it up
The FPV is separated from the Arduino part. Depends on your gear. The GPS works but I haven't tested it yet. Using Multiwii you have multiple choices. I think there are other videos about it. I'm not sure when I'll be able to make a video about that since I'm working already on other projects...
Thanks and keep up!
How about a onboard camera that records, with heads up display data? I saw this Minim OSD on aliexpress and wondered if it could be incorporated into a onboard camera to record the flight. :-)
sir im also makeing this project. i made transmiter $ resiver and tested it with given code. its works like a charm. whenever i change the code to actual reciver, connect ppm output to the ppm input of flight controller and run the application. i couldnt get any data from transmitter you have any idea please share with me that would be really appreciable. Thank you!
First of all, great job! Very informative video and i wanted to build my own Arduino based Tx/Rx and Flight controller and this video came as a real help. Thank you. I have built everything except the frame. RF Transmitter and Receiver work fine. Flight controller works fine. But when i connect everything (meaning connect D2, GND of Receiver to D2, GND of Flight controller), motors don't respond to the joystick movements. This is what i have observed:
1. Tested Rx with Rx test code and all joystick value prints correspond to the transmitted values. they change when joysticks are moved.
2. Calibrated the ESCs as described and found that the minimum value is 1200us and changed the same in multiwii config file.
3. Even the java GUI shows joystick values correctly when i change the joysticks, but motors don't spin!
4. I probed the PWM outputs of flight controller Arduino, they are at constant 500Hz, 50% duty cycle. They absolutely don't respond to any joystick changes.
Any suggestions of where i should be looking further? Many thanks!
Have you activated the motors with throttle 0 and roll maximum for 3 seconds 7:00 ?
Also are you sure that all the motros have the samw PWM range. Usually is 1000us to 2000us. Maybe you should reset the range for all the ESCs, it will take just 5 minutes. Use this tutorial for that: www.electronoobs.com/eng_robotica_tut5_1.php There you will find the calibration code. Keep up!
Appreciate your quick response. I will try your suggestions.
@@coolaqua1 sir did your drone started working after trying the maker's suggestions
Brother....I made the communication done, the drone is also responding to the multiwii but the motors are not turning. Although i checked the battery, voltages, ESC's with servo.h library....
Huge fan of you brother..
It would be more cool if you have added the roll axis control too...
Expecting a short video on that too..
Your idea is great. I will make this drone.
Great if learning how all components in a quad works! You may want to look at other Betaflight based miniquads (or race quads) as the MultiWii platform is not currently being developed and it is old technology. Look at current miniquad build videos if you're aiming for performance :)
Yes, the idea is to make this project all based on arduino. So I don't know any other platform that works on Arduino than multiwii. But yes, multiwii is quite old. That's why in future videos I'll make my own code, crude but it will help people to learn about PID and gyro data, etc... Keep up!
awesome tutorials...helped me a lot.......thanks..
Can you make this project using brushed motors sir... Thanks
I have shown all 3 part of this video . I am so much confused about PPM & PWM . I want to understand the code separately Please help me.
Hello bro. I was able to upload the scatch into arduino nano, but when I open the MultiWiiConfig, select the port and hit start it closes the app and generate and file error output. Do you have any idea what this might be?
Great project. Please i'm trying to build this drone but the receiver and the flight controller can't connect? Can you help me please
waited for this video a long time:-)
superb, can i use 2200kv motor and 7040 properller for this model??? please reply....
Amazingn video series..
Thankyou very much. i'll make my first own.
Dear Sir, none of the links to parts on eBay works anymore. Could you update them ?
You can just search them on amazon
Wouldn't the switch burn off from all that current being drawn?
Thanks for the suggestion.
My 1400 kV Bldc motor doesn't work when i Connect to receiver but it receiver and flight work in multiwii software....
Hi Electronoobs, I am going to use this receiver Flysky FS-iA6 2.4G 6 Channel Remote Control Receiver, which receiver pins would need to be connected to the Arduino nano.... I know that one is for signal and one is for power ...
hi , thank you very much for this project, but why do we use two arduino? we cannot use a single arduino that we connect the nrf24 directly to it, because the number of ports is sufficient ???
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!
Will you make a tutorial video in which mini coreless motor is run using Arduino PWM pins
I set the throttle to minimum and roll to maximum, but the motors still do not start. I can see in multiwii conf that the receiver and transmitter does work, and is sending the correct values but the motors still don't start. Any advice?
For pitch/roll calculation are you use quaternions?
Or just atan() function?
hello sir, i have question, i build this one, but why my motor cant run maximum? my quad cant fly,the motor is not strong enough to fly. why? thx
We love your tutorial
Hi Electronoobs! I am working on this but I was not having radio controller(old transmitter)..so i decided to make a desktop application for transmitter in visual c# and made some development in tx arduino code. The transmitter work fine with multiwii everything throttle yaw pitch roll works on ...but when I try to start the drone by making throttle min and roll max the drone doesn't start.....please help
Hello, I'm trying to build a drone but i am totally new to motors and esc, i have no proper training and I dont know how to choose them, is there any tips you can give a beginner like me about this part? My drone has around 1.6-2kg weight and most of the brushless motors i see on the market are for 4'' drones. How would one find out about the thrust weight ratio of a brushless motor?
I am having a lot of problems with the ppm signal. The receiver is receiving the signal but the controller is not. Plz, help !
Is any problem while using atmega 328p ic directley on the pcb board for flight controller ? there is any change to the code.?
Vishnu Sadhu no, the code should be the same. Make sure you make all the connection right and upload the code with an FTDI module...
Why do u used two nano in the drone .is it possible to mount the imu and nrf module on single nano by decreasing the no.of channels
How are you sir...Can you use the ADXL345 you want the MPU6050 because I don't have the MPU6050 and thank you
Can i use the bluetooth module for not using the transmitter and receiver but Now leave the connectivity issues because if it would possible then it will be asset for me and can u suggest me about this soon
Bro instead of using two Nanos can we use only one stm32??
just one question why use 2 aduino one for receiver and one for FC. Can't this be done by just one?
A very great project... thanks a lot..
but i am using a 4 channel.. so i am unable to arm the quadcopter in order to fly it.. i am stuck.
please help..
Please describe codes as able to copy.
I can't open your file(downloaded) in my arduino IDE.
Great work, thanks for sharing
What is the total cost for this whole project?
Including parts for part 1, part 2 and part 3.
it doesnt matter what order the wires for the motor go to the esc, the middle wire doesnt have to go to the middle :)
no, you're right. but because later you would have to swap two wires to change the spin direction (if not the desired one) in my case it is easier for me to explain how if I just fix a middle wire. Keep up and thank you!
i made all the connections as shown in the videos.when i throttled up the motors spin for a moment then stopped.since then i am not able to throttle up the motors using the controller
Sir , my ESC's won't calibrating , using the given code.
I can't understand what's the problem is??
Please suggest me a solution.
You calibrate your ESC's one by one. I used potentiometer as input device. Follow the steps as below:
1. Connect Arduino nano with Analog input (say A0 pin) from potentiometer.
2. Connect the output put (say Pin 8) to the ESC
3. Switch Potentiometer to Max Value
4. Connect Power to the ESC (Electronic speed controller)
5. You will hear Beap.
6. Immediately take the potentiometer to Min value
7. Again you will hear the beap
8. ESC is calibrated now
9. Repeat for all the motors independently.
Hope this helps. I learned really hard way :)
Nice work
Bro you are really awesome..
hi sir, i have completed all the setup. But my drone is not lifting.Can you please help me joystick control for lifting the drone. Also my drone size is 450cm , used bldc 2212 motor with simonk30A ESC . Issue1: after reducing throttle and yaw to higher, only 1 motor is running, when i increase the throtle, others are running. Issue2: Not lifting
Please help me here
Can you solve this problem?
brother can you help me how to use bluetooth module or my own wifi module instead of the other part you attached in the last which is radio reciever something
sir,the calibration of my ESC is not functioning in proper way
the speed of the motor automatically decreases when the value goes avobe1500.I'm helpless pls do reply to my problem
's solution soon as i have been stucked in the middle of my project and i have spent much on buying the motors and escs,
pls reply to my problem by a solution sir....
Can we use dc motor with motor driver instead of brushless motor
Very good clips, but, I have a problem I did everything as described in Arduino Drone video clips, but the electrical motors don't spin
1. I followed the instruction and uploaded the Arduino program
2. The calibration of the ECS motors was ok and each of the 4 motors spin within the rang of 1000 to 2000
3. The simulation with the multiwii run every very good and I see that the RC is working
4. I used an oscilloscope to check the signal from the remote to the Arduino and it works
5. I used an oscilloscope to check the signal to the ESC and I see that there is a clear signal of the 4 channels
Can someone help, what I’m missing here ?
excelente vídeo parabéns!!!!!!
Can you make plane with this flight controller and receiver...
Can't we 1 arduino mega instead of 2 arduino nano 1 for flight controller and 1 for reciever
Thanks for the great project using commonly available components and making this "expensive" hobby accessible to all.
I just wanted to know what are the performance trade offs in using 8 bit Arduino as compared to:
1. A 32 bit microcontroller like stm32
2. A cc3d
3. A naze32
4. Naza
In addition, what are the performance trade offs in using nrf24 based transmitter and receiver as compared to say, a ct6b or i6?
Thanks!!
Can you please make a video where you explain de code from the flight controller?
you first said you gonna use dc brush motors ?????
Great Project and Good Going...!!!
I am a beginner for DIY drone...
Can we use Micro Coreless motors in this project and connect the motors directly to Arduino Flight controller...without using ESC..?
Thank You.
no you have to use brushless motor for this.
If you want to make a coreless drone then check out this videos:-
ua-cam.com/video/uZKINPm3P9E/v-deo.html
For programming need pc or possible a cellphone for programming plsss answer
Hi sir,the link for multiwii is not working..??how?
Bro we can use DC 180 motor without ESC for drone . Yes,.???🤔🤔
No
Hey man, that's awesome(i'm brazillian, sorry for my english...hue). I Wanna try to Build this drone here, but I have problems to find some things, like the bruhsless motor and the ESC. Did You make an eletronics course, or anything?
You can't use eBay there? And yes, I'm an electronic engineer!
Check out HobbyKing. They have plenty of RC gear over there.
hey, with a normal Nrf24 and a high power Nrf24 pair. what range do you get. please respond!!!...thanks!
In my case it worked up to 1000 meters
Did you use 2s battery?
But, what happens when the Lipo battery runs out? Does it crash or do you get warned some how?
Lucas Jacobsson in the way the drone is in the video it would slowly go down as the battery gets empty. but the multiwii has a battery check pin. you have to add a voltage divider and connect it to that pin and the multiwii will know the real voltage.
Cool series! Just one question, to which Flight control pin do you connect the PPM pin for the receiver?
From the reciver digital pin D2 to the flight controller digital pin D2. And also share gnd.
How can i change the pins set in the code?
can i use l298n module to control the propellers?
Is this enough strong to lift an actioncqmera?
Yes you are right.
Hi can u tell me which are the pins for magnetometer,barometer and GPS sensor
All those module haev i2c. Connect data and clock to A4 and A5. Keep up!
is it necessary to calibrate the escs??
If a Radio Controller comes with a compatible receiver will it still work with this project and also if it does work will there be less things to do???
Mavrick yes, any PWM receiver will work with multuwii. But you have to connect all the receiver channels and don't add the ppm_sum line in the code.
thanks, my team and I will start to follow your videos, what are some of the problems that I will encounter throughout this project
What should I do now
how can i do hexacopter
can u help me what should i do
will a ESC with 30A or 40A still be good for this project.
Yes!
We can use arduino uno to upload code to atmega 328p ic without using FTDI module there is any problem?
Vishnu Sadhu no problem, you can do that as well. Keep up!
cual de esos codigos cargaste al arduino para que vuela el dron
Hey guys my my tx rx works and remote also but everytime i fly its flipping upside down
channels throttle with a duty cycle from 0 to 100% I use DC motor . How do I fix it? please help me #include
#include
#include
#include
//Define widths
int pwm_width_2 = 0;
int pwm_width_3 = 0;
int pwm_width_4 = 0;
int pwm_width_5 = 0;
int pwm_width_6 = 0;
int pwm_width_7 = 0;
Servo PWM2;
Servo PWM3;
Servo PWM4;
Servo PWM5;
Servo PWM6;
Servo PWM7;
//We could use up to 32 channels
struct MyData {
byte throttle; //We define each byte of data input, in this case just 6 channels
byte yaw;
byte pitch;
byte roll;
byte AUX1;
byte AUX2;
};
MyData data;
const uint64_t pipeIn = 0xE8E8F0F0E1LL; //Remember that this code is the same as in the transmitter
RF24 radio(9, 10);
void resetData()
{
//We define the inicial value of each data input
//3 potenciometers will be in the middle position so 127 is the middle from 254
data.throttle = 0;
data.yaw = 127;
data.pitch = 127;
data.roll = 127;
data.AUX1 = 0;
data.AUX2 = 0;
}
/**************************************************/
void setup()
{
//Set the pins for each PWM signal
PWM2.attach(2);
PWM3.attach(3);
PWM4.attach(4);
PWM5.attach(5);
PWM6.attach(6);
PWM7.attach(7);
//Configure the NRF24 module
resetData();
radio.begin();
radio.setAutoAck(false);
radio.setDataRate(RF24_250KBPS);
radio.openReadingPipe(1,pipeIn);
//we start the radio comunication
radio.startListening();
}
/**************************************************/
unsigned long lastRecvTime = 0;
void recvData()
{
while ( radio.available() ) {
radio.read(&data, sizeof(MyData));
lastRecvTime = millis(); //here we receive the data
}
}
/**************************************************/
void loop()
{
recvData();
unsigned long now = millis();
//Here we check if we've lost signal, if we did we reset the values
if ( now - lastRecvTime > 1000 ) {
// Signal lost?
resetData();
}
pwm_width_2 = map(data.throttle, 0, 255, 1000, 2000); //PWM value on digital pin D2
pwm_width_3 = map(data.yaw, 0, 255, 1000, 2000); //PWM value on digital pin D3
pwm_width_4 = map(data.pitch, 0, 255, 1000, 2000); //PWM value on digital pin D4
pwm_width_5 = map(data.roll, 0, 255, 1000, 2000); //PWM value on digital pin D5
pwm_width_6 = map(data.AUX1, 0, 255, 1000, 2000); //PWM value on digital pin D6
pwm_width_7 = map(data.AUX2, 0, 255, 1000, 2000); //PWM value on digital pin D7
//Now we write the PWM signal using the servo function
PWM2.writeMicroseconds(pwm_width_2);
PWM3.writeMicroseconds(pwm_width_3);
PWM4.writeMicroseconds(pwm_width_4);
PWM5.writeMicroseconds(pwm_width_5);
PWM6.writeMicroseconds(pwm_width_6);
PWM7.writeMicroseconds(pwm_width_7);
}//Loop end
É normal o esc queimar quando eu acelerar o motor ?
Sir when I tried to configure after the message appeared on the serial monitor of arduino I wrote the minimum value then it came the message to write any value between 1000 to 2000 the spin the motor but after writing that I ESC was just beeping
Send 2000, then connect the LiPo battery. This will enter into config mode. Them send 1000 and that will set the range. After this you can send 1000 to 2000 in order to control the speed.
hı thnx for perfect project.
ı want to build a rc car ı have every equipment but ı dont know how to write arduino l298n control codes ll you help me ?
ı have; 2×arduino uno or arduino nano, 1×tower pro servo motor, 1×dc brushed motor, 2×NRF24L01+ radio, 1×l298n motor driver, 2× joystick board and all of usefull equipment but ı dont know how to write control codes for arduino.
for the l298n H bridge you just have to send PWM signals. Check this video of mine of the RC tank: ua-cam.com/video/f3NJcaniAjs/v-deo.html
Keep up!