RC Robot Car - RC Controls and Arduino

Поділитися
Вставка
  • Опубліковано 30 тра 2024
  • Learn how Radio Controllers work, see how we can add an Arduino to the picture, and then build a radio-controlled robot car!
    Article with code: dronebotworkshop.com/radio-co...
    More articles and tutorials: dronebotworkshop.com
    Join the conversation on the forum: forum.dronebotworkshop.com
    Subscribe to the newsletter and stay in touch: dronebotworkshop.com/subscribe/
    Today, we will be using a Flysky FS-I6X, a very popular and inexpensive radio remote control transmitter with receiver.
    I’ll show you the principles of this control, which is pretty well the same as any inexpensive 2.4 GHz unit. We’ll then hook it up to a few servo motors to see how it operates on its own.
    But the real fun comes with attaching an Arduino to the receiver, and I’ll show you two ways of doing that.
    The first way is to connect each channel's output to an Arduino Uno and read the pulses generated by the receiver in response to the transmitter. It’s pretty simple, and it gets the job done.
    But another way of doing this is to use the iBus serial interface. This lets us use only one wire to get all the data from the receiver.
    We’ll then take what we have learned and build a cool little radio-controlled robot car! This little toy has two modes, normal driving mode and a “spin” mode as well.
    Here is the table of contents for today's video:
    00:00 - Introduction
    01:57 - How RC Controls Work
    06:12 - Flysky FS-I6X
    10:17 - Using a controller on its own
    13:42 - Using a controller with Arduino
    23:49 - Using iBus Output
    29:23 - Build a Radio-Controlled Car
    45:05 - Conclusion
    As always, there is a corresponding article on the DroneBot Workshop website, where you can get all the code plus more information about using the Flysky FS-I6X with an Arduino.
    Hope you enjoy the video!
  • Навчання та стиль

КОМЕНТАРІ • 221

  • @Dronebotworkshop
    @Dronebotworkshop  4 місяці тому +3

    Hi everyone - It's come to my attention that there has been someone masquerading as myself, responding to some comments here with a link to a Telegram chat to win a prize from me. THIS IS A SCAM, I am not holding a contest, nor do I have a Telegram account. PLEASE DO NOT RESPOND TO THESE MESSAGES!!
    It's happening on a lot of my videos, I'm taking steps to remove them manually, but as I have 162 videos, it will take some time. If you do run across a suspicious comment, I would appreciate you letting me know at info@dronebotworkshop.com.
    Thanks!
    Bill (The real one!)

  • @steelyspielbergo
    @steelyspielbergo 2 роки тому +24

    I'm trying to learn enough to build an RC lawnmower. This is what I've been looking and waiting for.

    • @nixo0077
      @nixo0077 2 роки тому +3

      I also want to make RC lawnmower, or better FLYSKY lawnmower.

    • @marc4687
      @marc4687 2 роки тому +1

      Thats a really cool project

    • @fadelfarae6019
      @fadelfarae6019 2 роки тому +7

      When being lazy empowers your creativity. Lol

    • @cryptohippo6008
      @cryptohippo6008 Рік тому +2

      Bro same, did you ever get the mower goin?

    • @steelyspielbergo
      @steelyspielbergo Рік тому

      @@cryptohippo6008 No. I'm ashamed, but I changed my mind. I wanted to build a really good one. ...good motors, wheels/tires, frame, pov camera, etc. I'd also need some tools, like a welder. IIRC, I figured I would spend $1300, not including the mower. So my Arduino kit has been collecting dust.

  • @matthewzannini5504
    @matthewzannini5504 Рік тому +25

    I don’t usually comment on videos but this is amazing. First channel on this kind of stuff that has left me feeling empowered and capable instead of confused and discouraged. Thank you for your amazing videos and keep up the great work.

  • @JeremyFieldingSr
    @JeremyFieldingSr 2 роки тому +40

    It looks like fun stuff coming in the future. Thanks for the video!

  • @scienceoftheuniverse9155
    @scienceoftheuniverse9155 2 роки тому +4

    Thank you so much Bill for such amazing tutorial. We really appreciate your effort

  • @sarojdebnath740
    @sarojdebnath740 2 роки тому +3

    Hello Bill, You are doing such an amazing job that my few words can not describe. I love your workshops.

  • @ianbertenshaw4350
    @ianbertenshaw4350 2 роки тому

    Fantastic video Bill !
    Very comprehensive, easy to understand and fun to watch - thank you !

  • @BinuMadhav.NetWork
    @BinuMadhav.NetWork 2 роки тому +7

    I havent ever seen such a clear and comprehensive narration with the perfect pitch! You are simply amazing Sir!

  • @dannyng2048
    @dannyng2048 2 роки тому +3

    Hi! Bill, thank you for sharing and I really appreciate for you showing us how to work with RC flysky which is something I am currently also working on to get a bot tank working. Your video for today really helps a lot. Thank you.

  • @jbflores01
    @jbflores01 7 місяців тому

    I ALWAYS enjoy watching your very well presented videos! Very detailed, made easy to follow, and comprehensive. Thank you for the hard work you definitely put into them!

  • @tubeDude48
    @tubeDude48 2 роки тому +2

    Another great project, Bill.

  • @TheUnofficialMaker
    @TheUnofficialMaker 2 роки тому +16

    This was excellent! I've got to build it. Again, thanks for the well made well explained videos you produce, you put alot of work into them and quality is amazing.

  • @333cgs333
    @333cgs333 2 роки тому +1

    Hello Bill, what a great tutorial. Inspiring us. Thanks for all the good videos. Just got the rc controller to replicate what you taught us. Thanks again

  • @TimCurry04
    @TimCurry04 2 роки тому +3

    I'm on Amazon right buying this and a few more gizmos! This is a must have, thx man.

  • @freedomfighter1419
    @freedomfighter1419 2 роки тому

    This was a fun project, thank you very much Bill.

  • @ChrisSmith-il5qe
    @ChrisSmith-il5qe Рік тому

    Thank you so much for putting the input values for each channel!

  • @mickeyfilmer5551
    @mickeyfilmer5551 2 роки тому

    I just bought a flysky a couple of months ago so this is brilliant. Thanks Bill.

  • @MzunguMjinga
    @MzunguMjinga 2 роки тому +1

    My son and I did this project with the Devastator robot kit. He absolutely loved it.

  • @madlogik
    @madlogik 2 роки тому

    Bill, I'm in AWE ! Great video again! You have such a way of explaining things that makes it a breeze to watch 47 minutes of content! Thanks again.

  • @davedeline1590
    @davedeline1590 Місяць тому

    Thank you for this video! I was struggling and this has completely solved all of my issues. THANK YOU!

  • @petermolnar6017
    @petermolnar6017 2 роки тому +1

    As always, great stuff! Thank you!

  • @ReedTex
    @ReedTex 2 роки тому +3

    You sir, inspire me! Thank you.

  • @mor8266
    @mor8266 2 роки тому

    Another excellent simple video. Great learnings, thank you so much

  • @Rhybos
    @Rhybos 2 роки тому

    This is excellent!! The organization, the information, I can't believe I haven't heard of this channel before. Subscribed in the first 20 seconds XD

  • @jahidul_islam_60
    @jahidul_islam_60 2 роки тому +1

    You are one of the best robotics teachers that I've ever seen on YT.
    THANK YOU SIR.
    Respect from Bangladesh 🇧🇩

  • @haneen3731
    @haneen3731 2 роки тому +1

    Thanks for this video. Exactly what I needed, great content!

  • @fangameempire
    @fangameempire Рік тому +1

    You can use the serial mode on an Arduino Uno if you're willing to disconnect the receiver from the Arduino's TX/RX every time you want to program it.

  • @sumantakumardutta986
    @sumantakumardutta986 2 роки тому +2

    Wow!! Such an interesting topic!!
    Thanks for this!!!😀😀🎉🎉

  • @myidahohomestead.7123
    @myidahohomestead.7123 2 роки тому

    Just found this channel. Really looks good. Im building an eq mount for my telescope. Im good with the mechanical engineering part. The controlling part is giving me a hard time. This channel will help a lot.

  • @chamluck
    @chamluck 2 роки тому

    Thank for explaination and demonstration. It's very useful for me to understand how it work with Arduino.

  • @mohammedk.h.f3016
    @mohammedk.h.f3016 2 роки тому

    I love your work and your explanation, you are great.

  • @gregorymccoy6797
    @gregorymccoy6797 2 роки тому

    Well I learned a lot about RC xmitters. Thank you!

  • @electrohardik8497
    @electrohardik8497 2 роки тому +4

    Wow that's really stupendous sir!

  • @abdulrazak_alnajjar596
    @abdulrazak_alnajjar596 2 роки тому

    as always, unique and extremely useful video. thank you very much

  • @R2D2inAustralia
    @R2D2inAustralia 2 роки тому +5

    By far ; the best tutorial I’ve watched this year, perfect alternative to the expensive proprietary boards I’ve been using in my R2D2 drive system

    • @puggaming9109
      @puggaming9109 Рік тому

      THIS YEAR?? THIS IS THE BEST OF ALL MY YEARS

  • @chaozhang2342
    @chaozhang2342 11 місяців тому

    I just bought a radio controller for my son, this video is well introduced and helps us a lot. Thank you!

  • @thorntontarr2894
    @thorntontarr2894 2 роки тому

    Bill, a very excellent video. Quite informative for sure.

  • @glensharp3275
    @glensharp3275 2 роки тому

    Another great video. I think I will get one of these remote controllers and use it for a Christmas tree project

  • @skylabby
    @skylabby 2 роки тому

    Had my robot sitting idle, will get a flysky and put this to work.. thank you for this information.

  • @bassman2162
    @bassman2162 2 роки тому +1

    Excellent video. I hope to get to build such a RC car for experience.

  • @x1roboticxs
    @x1roboticxs 2 роки тому

    Thank you so much man I was looking for this kind of video for my homemade rc car

  • @DIYTech21
    @DIYTech21 2 роки тому

    Love your setup/Lab

  • @Darkk6969
    @Darkk6969 2 роки тому

    Great use of the Arduino MEGA which I have sitting on the shelf. Now have to order more parts. lol :)

  • @vatsalagrawal7832
    @vatsalagrawal7832 2 роки тому +1

    Sir you make great videos. THanks

  • @SENAPATIENTERTAINMENT
    @SENAPATIENTERTAINMENT Рік тому

    Most informative video ever, for those stuck with an UNO instead of a MEGA like me, do connect the ibus pin to the RX0 serial port in your UNO. 👍

  • @syntaxerrohit
    @syntaxerrohit 2 роки тому

    A new cool intro 👍🏾 awesome !!

  • @thisoldjeepcj5
    @thisoldjeepcj5 2 роки тому

    At 26:10 and 37:30 always a good idea to comment the numbering changes in the code. Helps if you come back months later. Nice project.

  • @jerredshifflett6287
    @jerredshifflett6287 2 роки тому +3

    Great video with excellent content again. I would love another video based around this project using the pi pico and micropython.

  • @JohnAldred
    @JohnAldred 2 роки тому +1

    You must've known I was thinking about getting back into RC. Amazon literally just dropped off the FS-i6X along with the FS-iA6B and FS-iA10B receivers to me today! Took me ages to figure out how to read the signal from the receivers on the Arduino before finding this (haven't messed with servos before). I didn't think it'd be as much of a pain as it was. :)

  • @Victorggm
    @Victorggm 2 роки тому

    This is the tutorías i was looking for!

  • @brucefox6580
    @brucefox6580 2 роки тому

    I have ordered my Flysky FS-i6X RC Transmitter :)

  • @bds1092
    @bds1092 2 роки тому

    Thank you for the good lecture.

  • @benjii5272
    @benjii5272 5 місяців тому

    Great video! Thank you very much.

  • @rayleblanc7209
    @rayleblanc7209 Рік тому

    I remote controlled a 10 hp Craftsman steerable track drive snow blower using an Arduino and all 10 channels on a Flysky RC controller. I wired and programmed the receiver the same way you do in the beginning and didn't use the I-Bus method. It took me a while being a novice with Arduino but got it all working. 8 servos ( 4 12 volt 180 kg and 4 6.7 volt 20 kg ) 1 12 volt geared motor along with 2 linear actuators. I can remotely start, control the choke, primer and throttle. I can engage and disengage the auger and the drive system. Shift into any forward or reverse gear as well as steer, lift-lower and rotate the chute. I added the linear actuators to lift the front when reversing or transport mode.

  • @pgabrieli
    @pgabrieli 2 роки тому +2

    very interesting as always. if I may suggest a future video, I would LOVE to learn how to get an arduino (or similar) to GENERATE the RC signals to talk to
    the RC receiver, instead of the radio. it would allow you to control off the shelf drones, for example! 😊 thanks again

  • @n0madfernan257
    @n0madfernan257 2 роки тому +2

    thank you, i plan for this kind of project

  • @tahirqureshitgq7892
    @tahirqureshitgq7892 2 роки тому +2

    Excellent, thanks.

  • @PhG1961
    @PhG1961 2 роки тому

    Great vidoe Bill !

  • @MrJohnGuthrie
    @MrJohnGuthrie 2 роки тому

    Fantastic tutorial! I wish it didn't lean so heavily on the iBusBM library. iBus is developed by Flysky which rules out a bunch of other popular radios. I understand that there is more latency with the 'lots of wires' version where each channel on the receiver is wired to the arduino but it would have been nice to see that implementation and measure the latency and understand how it was introduced and see the tradeoffs. Maybe it's not even noticeable on a two wheel robot! Subscribed to your channel after seeing this video, hopefully we'll see more RC controlled robot platforms (love to see a 4wd outdoor robot tutorial!)

  • @funnyworld5482
    @funnyworld5482 5 місяців тому

    Hello Bill, Maybe one day you can do a video about just a few of the vast number of FlySky Receivers that are available. Also, Improvement modifications such as replacing antennas on the Transmitter for improved performance.

  • @addaghsh
    @addaghsh 2 роки тому

    Great work, thanks a lot sir .

  • @whitneydesignlabs8738
    @whitneydesignlabs8738 2 роки тому

    I am excited to hear more about the robot project. I am currently designing a 6x6 bogie-rocker Mars rover style robot based on 6 wheel chair motors and wheel chair wheels. (Skid steer only, no steering motors yet; maybe will add later) I just ordered the radio and receiver that Bill demonstrates. (Amazon)

  • @brianmoore5454
    @brianmoore5454 2 роки тому

    Excellent video

  • @mouhsinebenmbarek1978
    @mouhsinebenmbarek1978 Рік тому

    this is an amazing channel thank you sir!

  • @jenskapmeyer2579
    @jenskapmeyer2579 2 роки тому

    This setup is exactly what I need to convert my autonomous lawn mower, of which the PCB is broken, into to an RC controlled one. That will be fun!

  • @amrishhirani6096
    @amrishhirani6096 2 роки тому

    Very good video thanks 👍

  • @electronic7979
    @electronic7979 2 роки тому +1

    Nice project

  • @WildLifeBackyardCamera
    @WildLifeBackyardCamera 2 роки тому

    love it !! thanks you sir

  • @Willis3DDruck
    @Willis3DDruck Рік тому

    Great Video Top!👍

  • @priesthoodiii
    @priesthoodiii 2 роки тому

    great Video!

  • @werneckpaiva
    @werneckpaiva 2 роки тому

    I was watching your video to know if you were doing something different than me and then I noticed you are using my code. :)
    That's so funny. Awesome video. I'm glad I gave a tiny contribution to it.

  • @mahfuoz63solidworks3
    @mahfuoz63solidworks3 Рік тому

    Thank you very much for this excellent and short explanation
    شكرا جزيلاً

  • @wizzardofwizzards
    @wizzardofwizzards 2 роки тому

    Outstanding value with this one! Lots of flexibility with the Arduino approach. The addition of an inexpensive PCA9685 module for further experiments could complement this? In any case, thanks again for such an insightful post!

  • @JonathanDeWitt1988
    @JonathanDeWitt1988 2 роки тому

    This was another great video Bill. I'm not a big fan of the line of sight requirement for the controller. But the packaging of the controls is certainly appealing (enough that I want to go out and buy one and build a car like this). I've used HC-12 modules to send signals long distance and it doesn't require line of sight. I'm wondering what the disadvantages of that over this method are. Obviously having to build the controls into a microcontroller package that uses the HC-12 is required in that setup versus this. These controls are already pre-packaged. So that would be more time consuming. I'm wondering if there is also a speed of communication factor.
    Thank you for making and sharing this video and the accompanying article. I appreciate how much hard work you put into this.

  • @sanderromer6490
    @sanderromer6490 2 роки тому

    Nice. Thank you.

  • @joska9744
    @joska9744 2 роки тому

    super video!!! thanks!

  • @Bianchi77
    @Bianchi77 2 роки тому

    Nice video, thanks :)

  • @AChi__
    @AChi__ Рік тому

    Excellent vid. I thank you with my sub. Subbed.

  • @nixo0077
    @nixo0077 2 роки тому

    SUPER, as usually

  • @patbisson7338
    @patbisson7338 2 роки тому

    great video i just bought a mega instead of my uno and same speed controler instead of mu 298n to make this exact setup !

  • @teocerda5367
    @teocerda5367 2 роки тому

    Thank you!

  • @michaelzajac5284
    @michaelzajac5284 2 роки тому

    I'm glad you help me, I don't know how to robot. I really battle robot.

  • @VADYMSAVRII
    @VADYMSAVRII 2 роки тому

    Thank you friends. You video very good to de people.

  • @adambeedle
    @adambeedle 2 роки тому

    So cool 👍

  • @oussamafetoui2186
    @oussamafetoui2186 2 роки тому +1

    Thank you sir

  • @yuvrajkukreja9727
    @yuvrajkukreja9727 2 роки тому +1

    awesome 👍

  • @PerryLovewhistle
    @PerryLovewhistle 2 роки тому

    The fs-i6 family is so much power for the money that I recommend everyone in RC, robotics, or even just hacking stuff get one. I have 3.

  • @SzymonJakubiak
    @SzymonJakubiak 2 роки тому +1

    As you have FS-I6X version of the controller, you don't need to update the firmware to enable channels from 7 to 10. You just need to go to the System setup > Aux switches. There you enable additional switches and increase number of channels. The tricky part is that you need hold Cancel longer to save new settings. Then you go to the Functions setup > Aux. channels and bind switches to channels.

    • @Igor-xo3zx
      @Igor-xo3zx 2 роки тому

      Cześć, mam pytanie do filmiku i wydaje mi się że możesz znać odpowiedź, mianowicie w 24:36 jest pokazany sposób podłączenia dla komunikakcji IBUS, ale nie jestem pewien i dobrze tego nie widać, do podłączeń są wykorzystane tylko górne piny? Mam wersję odbiornika 10CH i nie jestem pewien gdzie się powpinać, z góry dziękuję za odpowiedź ;)

    • @SzymonJakubiak
      @SzymonJakubiak 2 роки тому

      @@Igor-xo3zx Z tego co pamiętam to tak, tylko górne. Zobacz 8:31.

  • @gapyearkisu.6661
    @gapyearkisu.6661 Рік тому

    Thanks you my teacher. ❤❤❤

  • @PakshiMedia
    @PakshiMedia 2 роки тому

    Thank You

  • @occrc3333
    @occrc3333 2 роки тому

    Great video. Exactly what I was looking for. I do have one question though. Will the data functions of the transmitter still be available using this set up?

  • @markday3145
    @markday3145 2 роки тому +1

    Some 3.3V microcontrollers have 5V tolerant GPIOs. They can only output 3.3V, but can handle 5V inputs. Many STM32 GPIO pins are 5V tolerant, including on the "blue pill" and "black pill" boards.

  • @a7omar753
    @a7omar753 2 роки тому

    I want it... Brilliant

  • @For_the-love_of_physics
    @For_the-love_of_physics 2 роки тому +2

    All in one robot PCB

  • @williamrodrigues6384
    @williamrodrigues6384 2 місяці тому

    Hi Bill!!! How are you? Greetings from Brazil!! I really like your videos with very explanatory content. Congratulations on your commitment!! If possible, I would like you to show us a replacement of the L298 with two BTS7960 drives which are very robust for larger motors. I hope your UA-cam channel enthusiasts will support me in this request. Hugs from a fan and friend.

  • @Automation28
    @Automation28 2 роки тому

    Nice!

  • @qwkimball
    @qwkimball 2 роки тому +1

    Every time a notification appears for one of your videos, my immediate question to myself is, "Is it my birthday?!"

  • @user-mj3qg6cc2z
    @user-mj3qg6cc2z 2 роки тому +2

    Thanks for everything.
    But
    If you have the time can you make video explaining the PID for drones using arduino
    And thanks again

  • @mrwpwpunyawang6700
    @mrwpwpunyawang6700 2 роки тому

    Useful

  • @lachlanwray6884
    @lachlanwray6884 Рік тому +1

    is there a video on how to do it without the IBUS and with the L298N?