PID brushless motor control tutorial16:25

  • 208,288 views

This is just a PID brushless motor control with arduino. It’s not perfect due to the huge weight of the metal bar and cheap motors. The constants will definitely vary depending on the used ESCs, motors, size, weight, etc. The idea is that nowm that you know how PID works, you could fine tune your flight controller.

Stay tune for next videos about the arduino flight controller code. I’ll explain how gyro works and how to merge this PID control for two axis.

Help my projects on Patreon : https://www.patreon.com/ELECTRONOOBS
my Q&A page: http://electronoobs.com/eng_preguntas.php

Arduino drone tutorial: https://www.youtube.com/watch?v=S8TSkGQ2EWY&t=2s

——————LINKS——————–
PID tutorial webpage: http://www.electronoobs.com/eng_robotica_tut6.php
Arduino drone webpage: http://www.electronoobs.com/eng_robotica_tut5.php

—————-MATERIAL—————-
MPU6050: https://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_id=114&ipn=icep&toolid=20004&campid=5338106513&mpre=http%3A%2F%2Fwww.ebay.com%2Fitm%2FMPU-6050-6-DOF-3-Axis-Accelerometer-Gyroscope-Sensor-Module-GY-521-for-Arduino-%2F201004496054%3Fhash%3Ditem2ecccd34b6%3Ag%3AUjQAAOSwstxVXYz8
ESC 20A: https://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_id=114&ipn=icep&toolid=20004&campid=5338106513&mpre=http%3A%2F%2Fwww.ebay.com%2Fitm%2F20A-20-A-Brushless-Motor-Speed-Controller-RC-BEC-ESC-For-helicopter-JL-%2F162275780299%3Fhash%3Ditem25c863e6cb%3Ag%3AobEAAOSwal5YJEkz
2212 brushless motor: https://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_id=114&ipn=icep&toolid=20004&campid=5338106513&mpre=http%3A%2F%2Fwww.ebay.com%2Fitm%2FA2212-930KV-Brushless-Outrunner-Motor-For-RC-Helicopter-Aircraft-Quadcopter-%2F201930528504%3Fhash%3Ditem2f03ff56f8%3Ag%3AQZgAAOSw5UZY~yd6
1245 propellers: https://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_id=114&ipn=icep&toolid=20004&campid=5338106513&mpre=http%3A%2F%2Fwww.ebay.com%2Fitm%2FF05327-4-Pairs-12×4-5-3K-Carbon-Fiber-Propeller-CW-CCW-1245-Props-Cons-For-DJI-%2F111572986105%3Fhash%3Ditem19fa44a8f9%3Ag%3A2pkAAOSwGIRXcNyf
LIPO connectors: https://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_id=114&ipn=icep&toolid=20004&campid=5338106513&mpre=http%3A%2F%2Fwww.ebay.com%2Fitm%2F10-Pairs-20pcs-T-Plug-Connector-Female-Male-Deans-For-RC-Lipo-Battery-Helicopter-%2F282414841624%3Fhash%3Ditem41c13c7f18%3Ag%3A644AAOSwol5Y3H6I

—————-SCHEMATICS————
(if you want to calibrate the ESC before starting)
ESC calibrate: http://www.electronoobs.com/images/Robotica/tut_5/ESC_calibrate.png
One axis schematic: http://www.electronoobs.com/images/Robotica/tut_6/One_axis_scheamtic.png

———————CODE——————-
PID code: http://www.electronoobs.com/eng_robotica_tut6_1_code1.php
(if you want to calibrate the ESC before starting)
ESC calibrate: http://www.electronoobs.com/eng_robotica_tut5_1_code1.php

Like share and subscribe to motivate me. Thank you

Bookmark and Share
    1. CMfg
    2. CMfg
    3. Mike Montana
    4. nicolas
    5. ppdan
    6. Daniel Andújar
    7. Younes Elmir
    8. RobotMan
    9. Alex Wang
    10. Padworks G
    11. Marc Hoffmann
    12. Adarsh Menon

Enjoyed this video?
"No Thanks. Please Close This Box!"