Arduino DRONE II Part 1 receiver PWM read

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ก.ย. 2017
  • 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 : / electronoobs
    my Q&A page: electronoobs.com/eng_preguntas...
    Canal en Español: / electronoobs en español
    Thanks to Joop Brokking: • YMFC-3D part 6 - Build...
    -----------------COUPONS-------------------
    Radiolink AT10II: goo.gl/B5bvto
    Crealitu CR10: www.gearbest.com/3d-printers-...
    Coupon code: "11CR10EU"
    Creality CR10 MINI: www.gearbest.com/3d-printers-...
    COUPON: CR10MINI
    Anet E10: www.gearbest.com/3d-printers-...
    Coupon code: "ANET10"
    4k XIAOMI drone: www.gearbest.com/rc-quadcopte...
    ________________________________________________________________
    -----------------LINKS-------------------
    Webpage tutorial: www.electronoobs.com/eng_robot...
    PID video: • PID brushless motor co...
    PID webpage: www.electronoobs.com/eng_robot...
    Previous series: • Arduino drone - Part1 ...
    Drone build webpage: www.electronoobs.com/eng_robot...
    STL files: www.electronoobs.com/eng_robot...
    ---------------MATERIAL---------------
    Full part list: www.electronoobs.com/eng_robot...
    Arduino NANO: www.gearbest.com/boards-shiel...
    MPU6050: www.gearbest.com/development-...
    LIPO battery: www.ebay.com/itm/T-Plug-11-1V-...
    ESC 12A: www.ebay.com/itm/4-x-Emax-12A-...
    1804 brushless motor: www.ebay.com/itm/4x-Brushless-...
    5030 propellers: www.ebay.com/itm/8-pairs-Gemfa...
    LIPO connectors: www.ebay.com/itm/10-Pairs-20pc...
    Slide switch: www.ebay.com/itm/50-Pcs-2-Posi...
    Drone body: DIY : www.electronoobs.com/eng_robot...
    Or : www.ebay.com/itm/250mm-Mini-Mu...
    ---------------SCHEMATICS-----------
    Full schematic: www.electronoobs.com/images/Ro...
    ESC calibrate: www.electronoobs.com/images/Ro...
    Lipo connection: www.electronoobs.com/images/Ro...
    Propeller spin direction: www.electronoobs.com/images/Ro...
    1 ch schematic: www.electronoobs.com/images/Ro...
    4 ch schematic: www.electronoobs.com/images/Ro...
    --Connect the receiver as shown in the schematic above and upload this example:
    --------------------CODE------------------
    One channel example: www.electronoobs.com/eng_robot...
    Four channels example: www.electronoobs.com/eng_robot...
    ESC calibrate: www.electronoobs.com/eng_robot...
    Like share and subscribe to motivate me. Thank you
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 63

  • @ELECTRONOOBS
    @ELECTRONOOBS  6 ปีที่แล้ว

    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: www.patreon.com/ELECTRONOOBS

    • @ELECTRONOOBS
      @ELECTRONOOBS  6 ปีที่แล้ว

      I use design spark and easyEDA for my schematics. But I design the schematics for the videos in Photoshop so anyone could understand..

    • @AshishEmbedd
      @AshishEmbedd 6 ปีที่แล้ว

      your Magnetometer X axis is not in same direction as your MPU6050 did that work correctly , i have no experience with magnetometer so please explain me if it works.

  • @yvesarbour1946
    @yvesarbour1946 6 ปีที่แล้ว +1

    Great bjob... looking forward to other parts

  • @chisingchou
    @chisingchou 6 ปีที่แล้ว

    thank you so much for explaining every steps in details!

  • @anweshpatel3098
    @anweshpatel3098 6 ปีที่แล้ว +1

    awesome video ! I was making a same drone but was not getting this part to work properly, thanks for the help!

  • @harshdokania6616
    @harshdokania6616 4 ปีที่แล้ว

    Your explanation was really great and helpful. Thanks a lot :)

  • @IndraLumantow
    @IndraLumantow 6 ปีที่แล้ว +2

    Nice broo.. i will wait for part 2..

  • @2299alexander
    @2299alexander 6 ปีที่แล้ว

    Hola , estoy a la espera de estos tutoriales en su canal electronoobs España , gracias y excelente trabajo !!

  • @ricardoalcantara5846
    @ricardoalcantara5846 6 ปีที่แล้ว +1

    You are really good at this!!!

    • @ELECTRONOOBS
      @ELECTRONOOBS  6 ปีที่แล้ว

      Ricardo Alcantara thank you! Gracias

  • @garethronaldo8692
    @garethronaldo8692 6 ปีที่แล้ว +1

    Good job dude 👍

  • @sumit_kashyap..
    @sumit_kashyap.. 6 ปีที่แล้ว +1

    Man another great video.. :)

  • @vishal01mehra
    @vishal01mehra 6 ปีที่แล้ว +2

    loved it

  • @limitlesslife9409
    @limitlesslife9409 4 ปีที่แล้ว

    Love your videos 🖤

  • @ingalexandergarciaperez4518
    @ingalexandergarciaperez4518 6 ปีที่แล้ว +1

    Sos un crack

  • @diyeverything6591
    @diyeverything6591 6 ปีที่แล้ว +2

    Thank you

  • @BLAZMOD
    @BLAZMOD 6 ปีที่แล้ว +2

    Tanks 💕

  • @guywatcho1641
    @guywatcho1641 6 ปีที่แล้ว

    Hi thanks for your Video. I have also built my own quadcopter with own Code. Please which software did you use to build your full schematic? I found it nice...

  • @edwinonoja4169
    @edwinonoja4169 ปีที่แล้ว

    You video is awesome
    I'm working on a drone but am stock can I use brushed motors instead of brushless

  • @ryanruthrhona
    @ryanruthrhona 6 ปีที่แล้ว

    hi, great video!! When will part 2 be out?

  • @vishalshinde1775
    @vishalshinde1775 5 ปีที่แล้ว

    Thank you sir ..

  • @satyajiwindy
    @satyajiwindy 6 ปีที่แล้ว

    very nice..

  • @jeone5342
    @jeone5342 5 ปีที่แล้ว

    Sir, can I use pinchangeinterrupt library. Does it works good?

  • @stephantommy7894
    @stephantommy7894 6 ปีที่แล้ว

    can i power the arduino through a bec from my esc ? i just dont like to use a high voltage for an arduino

  • @ssenate66
    @ssenate66 3 ปีที่แล้ว

    HELP: I know this is a couple years old but how did you wire the power to the ESCs

  • @MCsCreations
    @MCsCreations 6 ปีที่แล้ว +1

    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

    • @ELECTRONOOBS
      @ELECTRONOOBS  6 ปีที่แล้ว +1

      Thank you. The idea of my videos is not to build professional projects but to learn how they work... Arduino for drones is not the best but the idea is to learn how to read data, write data, create PID, etc...
      Thank you and keep up!

    • @MCsCreations
      @MCsCreations 6 ปีที่แล้ว

      Electronoobs Oh, THAT idea I like! Now I got it! :D

  • @vipulchari3578
    @vipulchari3578 6 ปีที่แล้ว

    Plz can u make one with Bluetooth module and controlled it over phone , for lack of Singhal coverage we can use 5.8ghz antenna to increase the range of bluethooth module and use it with phone ,this will remove the trouble of making reciver ,this drone is awesome I would love to see the 2bd part of ur brushed drone

  • @buddhikadeshapriya7869
    @buddhikadeshapriya7869 2 ปีที่แล้ว

    your explanations very good. can you do a video how to create flight controller with mpu9250 and drone controller coding

  • @geniusgen1212
    @geniusgen1212 4 ปีที่แล้ว

    thank you for sharing the code, even though it makes my head dizzy to edit it and now all that's left is making a quadcopter with the PWM receiver,
    Can you help me properly? , 😀

  • @punjabiwithjasman135
    @punjabiwithjasman135 6 ปีที่แล้ว

    What is mutiwii ...plz reply sir..
    Thanks for that awesome tutorial

  • @neail5466
    @neail5466 6 ปีที่แล้ว +1

    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.

    • @ELECTRONOOBS
      @ELECTRONOOBS  6 ปีที่แล้ว +2

      In the past series I've already used PPM. A lot of you wanted PWM as well. Keep up!

  • @tristunalekzander5608
    @tristunalekzander5608 4 ปีที่แล้ว

    Does anyone know if going the Arduino way is cheaper than a traditional build?

  • @chinmaykulkarni7835
    @chinmaykulkarni7835 4 ปีที่แล้ว

    How much PWM input you give to ESC

  • @f9techmind60
    @f9techmind60 5 ปีที่แล้ว

    SIR ...FROM WHERE I CAN GET THIS CODE FOR adruino

  • @rodrielpinzaespejo260
    @rodrielpinzaespejo260 6 ปีที่แล้ว

    Podrías hacerlo en español?? Gracias!!

  • @andrewshkolik
    @andrewshkolik 5 ปีที่แล้ว

    Only one problem with this solution that Arduino micros() finction has a precice of +-4us (kind of jitter), that allmost 1% of movemet from neutral to max\min. It's too match for me. I started my own project that should extend life of my old transmitter, but even without embedded arduino functions all I got is +-1-1.5us. This is not so bad, but little annoying. For some planes it's ok, but on my WW2 12 scale warbirds it's cause awful unstable flight :(

  • @taztazmaniman9438
    @taztazmaniman9438 6 ปีที่แล้ว

    Hey ! Good job. Can't we do same with nrf24l01 ?!

    • @ELECTRONOOBS
      @ELECTRONOOBS  6 ปีที่แล้ว

      Yes you can but with NRF you already receive binary values from 0 to 255 so we don't have to use interruption to read the values for each cahnnel. Thank you!

  • @hansdegroot652
    @hansdegroot652 2 ปีที่แล้ว

    When you exlsin it it all seems so simple and abvious. But i always get stuck some hiw like my mah watt meter is neasuring about5 amp hours leaving my batter when nothing is connected just becayse if noise ir false readings i tried to set minimum thresholds to ignore some readings. But still just readig voltage values which us easy does not worj for me you read pwm by asuming that afeter a rusecyouvshoyld get a,drop next and calculate the time this,way. But i sm sue mutphy will think of s9me thing to mes this uo forcme.

  • @krushilpatel602
    @krushilpatel602 6 ปีที่แล้ว

    Bro plzz send the link to dwnld arduino programming app in windows 7.plzzz

  • @ittachidz5371
    @ittachidz5371 3 ปีที่แล้ว

    Please make us a receiver like the one we buy from the market

  • @hilaltube4693
    @hilaltube4693 3 ปีที่แล้ว

    i2c error on multiwii gui thanks.

  • @4funrc11
    @4funrc11 6 ปีที่แล้ว +1

    Radio Shack? Well, unfortunately they are mostly out of business (closed stores, which really sucks!) in the US.

    • @ELECTRONOOBS
      @ELECTRONOOBS  6 ปีที่แล้ว +1

      That's all around the world. Now we have online store

  • @vivekvishwakarma9774
    @vivekvishwakarma9774 5 ปีที่แล้ว

    Can I control drone through Bluetooth module?

    • @niteshsingh8296
      @niteshsingh8296 5 ปีที่แล้ว

      Yes you can. But the range will be very less.

  • @jekzachem4241
    @jekzachem4241 6 ปีที่แล้ว

    maybe it's time...maybe it's better to try on stm32 and faster insights and more ?!?!?!?!?
    может пришло время...может лучше попробовать на stm32 и быстрее и выводов больше ?!?!?!?!?

  • @nitinsurywanshi8367
    @nitinsurywanshi8367 2 ปีที่แล้ว

    20 Kim dron med agri clchor

  • @vovanikotin
    @vovanikotin 6 ปีที่แล้ว +1

    Why dont you create own PCB board? Would be much smaller.

    • @ELECTRONOOBS
      @ELECTRONOOBS  6 ปีที่แล้ว +2

      I will soon!

    • @vovanikotin
      @vovanikotin 6 ปีที่แล้ว +1

      Also, I strongly recommend you to research quaternions. Method for describing rotation using mixed acc and gyro data.
      Using of acc data only not very good and dangerous method for quadcopter.

    • @vovanikotin
      @vovanikotin 6 ปีที่แล้ว

      There are no need special hardware for making PCB, all you need is сlothes iron, laser printer, hydrogen peroxide, salt and lemon acid.
      /watch?v=mv7Y0A9YeUc

    • @vovanikotin
      @vovanikotin 6 ปีที่แล้ว +1

      Yeah, I making right now, not quad but USV (sea drone). Using gps, quaternions, and arduino mega, but wrinting code not in Arduino IDE, but in Atmel Studio at C lang, much more possibilities and less firmware size.

    • @GRBtutorials
      @GRBtutorials 6 ปีที่แล้ว +1

      Also, you can order 10 PCBs of less than 100x100 mm for just $2 (all of them) in JLCPCB/EasyEDA. GreatScott! has some videos on this (th-cam.com/video/Fj0XuYiE7HU/w-d-xo.html )

  • @saladino-3974
    @saladino-3974 6 ปีที่แล้ว

    y el codigo, la programacion ?

  • @aiacademybysid5631
    @aiacademybysid5631 6 ปีที่แล้ว

    U have copied alot of joop brokking

    • @lightinggaming5202
      @lightinggaming5202 5 หลายเดือนก่อน +1

      Not copied it just reference ❤