Hi guys. This is a second project of the Arduino based drone. In the past video series we’ve used the MultiWii platform for the flight controller. Now I want to make my own code for the flight controller.
This video series will be divided in a few parts. This is the first one where we read the input signal from a commercial radio receiver. Next we read the IMU data and create the PID algorithm for 2 axis. Finnaly we create the interrupt that will write the PWM signal to 4 ESCs for the motors.
Help my projects on Patreon : https://www.patreon.com/ELECTRONOOBS
my Q&A page: http://electronoobs.com/eng_preguntas.php
——————COUPONS——————–
Radiolink AT10II: https://goo.gl/B5bvto
Crealitu CR10: https://www.gearbest.com/3d-printers-3d-printer-kits/pp_441282.html?lkid=11382974
Anet E10: https://www.gearbest.com/3d-printers-3d-printer-kits/pp_664901.html?lkid=11382975
4k XIAOMI drone: https://www.gearbest.com/rc-quadcopters/pp_728058.html?lkid=11382963
——————LINKS——————–
Webpage tutorial: http://www.electronoobs.com/eng_robotica_tut7.php
PID video:https://www.youtube.com/watch?v=AN3yxIBAxTA&t=2s
PID webpage: http://www.electronoobs.com/eng_robotica_tut6.php
Previous series: https://www.youtube.com/watch?v=S8TSkGQ2EWY&t=9s
Drone build webpage: http://www.electronoobs.com/eng_robotica_tut5_1.php
STL files: http://www.electronoobs.com/eng_robotica_tut5_1_parts1.php
—————-MATERIAL—————-
Arduino NANO: https://www.gearbest.com/boards-shields/pp_265453.html?lkid=11383052
MPU6050: https://www.gearbest.com/development-boards/pp_22530.html?lkid=11383057
LIPO battery: http://www.ebay.com/itm/T-Plug-11-1V-1500mAh-25C-3S-VOK-Discharger-Lipo-Battery-For-RC-Helicopter-/192064598545?hash=item2cb7f13211:g:-moAAOSw2xRYZLf9
ESC 12A: http://www.ebay.com/itm/4-x-Emax-12A-Speed-Controller-ESC-with-SimonK-Firmware-For-FPV-QAV250-Quadcopter-/162242575330?hash=item25c6693be2:g:4EwAAOSwLF1YBIT-
1804 brushless motor: http://www.ebay.com/itm/4x-Brushless-Motor-1804-KV2400-for-220-240-Blackout-Mini-Quadcopter-2400kv-/131520498802?hash=item1e9f3b8c72:g:blcAAOSw~OdVYZYf
5030 propellers: http://www.ebay.com/itm/8-pairs-Gemfan-5030-5-3-3-Blade-Propeller-for-QAV250-QAV210-Quadcopter-green-/121723124570?hash=item1c57437b5a:g:6n4AAOSwLVZVwroq
LIPO connectors: http://www.ebay.com/itm/10-Pairs-20pcs-T-Plug-Connector-Female-Male-Deans-For-RC-Lipo-Battery-Helicopter-/282414841624?hash=item41c13c7f18:g:644AAOSwol5Y3H6I
Slide switch: http://www.ebay.com/itm/50-Pcs-2-Position-SPDT-1P2T-3-Pin-PCB-Panel-Vertical-Slide-Switch-LW-/171865305033?hash=item2803f86fc9:g:8IAAAOSw4UtWTtfs
Drone body: DIY : http://www.electronoobs.com/eng_robotica_tut5_1_parts1.php
Or : http://www.ebay.com/itm/250mm-Mini-Multicopter-Quadcopter-Racing-Drone-Glassy-Carbon-Frame-Kit-FPV-ED-/132055523479?hash=item1ebf1f6097:g:nQwAAOSw9GhYbpUv
—————-SCHEMATICS————
Full schematic: http://www.electronoobs.com/images/Robotica/tut_7/Full_schematic.png
ESC calibrate: http://www.electronoobs.com/images/Robotica/tut_5/ESC_calibrate.png
Lipo connection: http://www.electronoobs.com/images/Robotica/tut_5/LIPO_connection.png
Propeller spin direction: http://www.electronoobs.com/images/Robotica/tut_5/Propeller_direction.png
———————CODE——————-
This part schematic: http://www.electronoobs.com/images/Robotica/tut_7/Part1_schematic.png
–Connect the receiver as shown in the schematic above and upload this example:
One channel example: http://www.electronoobs.com/eng_robotica_tut7_code1.php
Four channels example: http://www.electronoobs.com/eng_robotica_tut7_code2.php
ESC calibrate: http://www.electronoobs.com/eng_robotica_tut5_1_code1.php
Like share and subscribe to motivate me. Thank you
Stay tuned for the next part. Check the description for all the codes. Also the ESC calibrate code. All the schematics, ect…
if you consider helping my project, use the links above to buy the parts or check my Patreon page: https://www.patreon.com/ELECTRONOOBS
Thank you <3
awesome video ! I was making a same drone but was not getting this part to work properly, thanks for the help!
Sos un crack
I was expecting this..but why pwm…ppms are hasle Free , in terms of wireing at least, if you are going get involved in such plz mention…and really great effort you are putting in.
Why dont you create own PCB board? Would be much smaller.
Man another great video.. 🙂
Good job dude ????
Tanks ????
Great bjob… looking forward to other parts
Bro, I hate the idea of using Arduino in a quadcopter/drone. But love your opening with the AC/DC music, so here I am. LOL
Thank you so much! Was waiting for this!