RC Robot Car - RC Controls and Arduino

  Переглядів 195,324

DroneBot Workshop

DroneBot Workshop

День тому

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 2 місяці тому
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 роки тому
I'm trying to learn enough to build an RC lawnmower. This is what I've been looking and waiting for.
@nixo0077
@nixo0077 2 роки тому
I also want to make RC lawnmower, or better FLYSKY lawnmower.
@marc4687
@marc4687 2 роки тому
Thats a really cool project
@fadelfarae6019
@fadelfarae6019 Рік тому
When being lazy empowers your creativity. Lol
@cryptohippo6008
@cryptohippo6008 Рік тому
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 Рік тому
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.
@BinuMadhav.NetWork
@BinuMadhav.NetWork 2 роки тому
I havent ever seen such a clear and comprehensive narration with the perfect pitch! You are simply amazing Sir!
@sarojdebnath740
@sarojdebnath740 2 роки тому
Hello Bill, You are doing such an amazing job that my few words can not describe. I love your workshops.
@scienceoftheuniverse9155
@scienceoftheuniverse9155 2 роки тому
Thank you so much Bill for such amazing tutorial. We really appreciate your effort
@JeremyFieldingSr
@JeremyFieldingSr 2 роки тому
It looks like fun stuff coming in the future. Thanks for the video!
@azayles
@azayles 2 роки тому
Good to see you here! Huge fan 🥰
@roseelectronics4582
@roseelectronics4582 2 роки тому
I'm a big fan of you, Jeremy.
@whitneydesignlabs8738
@whitneydesignlabs8738 2 роки тому
I love Jeremy's work.
@priesthoodiii
@priesthoodiii 2 роки тому
Hey what a small world!
@ianbertenshaw4350
@ianbertenshaw4350 2 роки тому
Fantastic video Bill ! Very comprehensive, easy to understand and fun to watch - thank you !
@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.
@MzunguMjinga
@MzunguMjinga 2 роки тому
My son and I did this project with the Devastator robot kit. He absolutely loved it.
@dannyng2048
@dannyng2048 2 роки тому
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.
@jahidul_islam_60
@jahidul_islam_60 2 роки тому
You are one of the best robotics teachers that I've ever seen on YT. THANK YOU SIR. Respect from Bangladesh 🇧🇩
@jbflores01
@jbflores01 5 місяців тому
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!
@mickeyfilmer5551
@mickeyfilmer5551 2 роки тому
I just bought a flysky a couple of months ago so this is brilliant. Thanks Bill.
@ChrisSmith-il5qe
@ChrisSmith-il5qe Рік тому
Thank you so much for putting the input values for each channel!
@333cgs333
@333cgs333 Рік тому
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
@R2D2inAustralia
@R2D2inAustralia 2 роки тому
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
@tubeDude48
@tubeDude48 2 роки тому
Another great project, Bill.
@freedomfighter1419
@freedomfighter1419 2 роки тому
This was a fun project, thank you very much Bill.
@TheUnofficialMaker
@TheUnofficialMaker 2 роки тому
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.
@chaozhang2342
@chaozhang2342 9 місяців тому
I just bought a radio controller for my son, this video is well introduced and helps us a lot. Thank you!
@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
@TimCurry04
@TimCurry04 2 роки тому
I'm on Amazon right buying this and a few more gizmos! This is a must have, thx man.
@skylabby
@skylabby 2 роки тому
Had my robot sitting idle, will get a flysky and put this to work.. thank you for this information.
@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.
@glensharp3275
@glensharp3275 2 роки тому
Another great video. I think I will get one of these remote controllers and use it for a Christmas tree project
@petermolnar6017
@petermolnar6017 2 роки тому
As always, great stuff! Thank you!
@ReedTex
@ReedTex 2 роки тому
You sir, inspire me! Thank you.
@gregorymccoy6797
@gregorymccoy6797 2 роки тому
Well I learned a lot about RC xmitters. Thank you!
@mor8266
@mor8266 2 роки тому
Another excellent simple video. Great learnings, thank you so much
@davedeline1590
@davedeline1590 6 днів тому
Thank you for this video! I was struggling and this has completely solved all of my issues. THANK YOU!
@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. 👍
@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.
@haneen3731
@haneen3731 2 роки тому
Thanks for this video. Exactly what I needed, great content!
@sumantakumardutta986
@sumantakumardutta986 2 роки тому
Wow!! Such an interesting topic!! Thanks for this!!!😀😀🎉🎉
@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.
@thorntontarr2894
@thorntontarr2894 2 роки тому
Bill, a very excellent video. Quite informative for sure.
@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.
@bassman2162
@bassman2162 2 роки тому
Excellent video. I hope to get to build such a RC car for experience.
@Darkk6969
@Darkk6969 2 роки тому
Great use of the Arduino MEGA which I have sitting on the shelf. Now have to order more parts. lol :)
@brucefox6580
@brucefox6580 2 роки тому
I have ordered my Flysky FS-i6X RC Transmitter :)
@abdulrazak_alnajjar596
@abdulrazak_alnajjar596 2 роки тому
as always, unique and extremely useful video. thank you very much
@DIYTech21
@DIYTech21 2 роки тому
Love your setup/Lab
@electrohardik8497
@electrohardik8497 2 роки тому
Wow that's really stupendous sir!
@x1roboticxs
@x1roboticxs 2 роки тому
Thank you so much man I was looking for this kind of video for my homemade rc car
@n0madfernan257
@n0madfernan257 2 роки тому
thank you, i plan for this kind of project
@pgabrieli
@pgabrieli 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
@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.
@bds1092
@bds1092 2 роки тому
Thank you for the good lecture.
@JohnAldred
@JohnAldred 2 роки тому
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. :)
@syntaxerrohit
@syntaxerrohit 2 роки тому
A new cool intro 👍🏾 awesome !!
@jerredshifflett6287
@jerredshifflett6287 2 роки тому
Great video with excellent content again. I would love another video based around this project using the pi pico and micropython.
@vatsalagrawal7832
@vatsalagrawal7832 2 роки тому
Sir you make great videos. THanks
@Victorggm
@Victorggm 2 роки тому
This is the tutorías i was looking for!
@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?
@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!)
@tahirqureshitgq7892
@tahirqureshitgq7892 2 роки тому
Excellent, thanks.
@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)
@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.
@youssefmohammed6126
@youssefmohammed6126 2 роки тому
where is the code plz
@benjii5272
@benjii5272 4 місяці тому
Great video! Thank you very much.
@fangameempire
@fangameempire Рік тому
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.
@addaghsh
@addaghsh 2 роки тому
Great work, thanks a lot sir .
@mouhsinebenmbarek1978
@mouhsinebenmbarek1978 Рік тому
this is an amazing channel thank you sir!
@PhG1961
@PhG1961 2 роки тому
Great vidoe Bill !
@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!
@WildLifeBackyardCamera
@WildLifeBackyardCamera 2 роки тому
love it !! thanks you sir
@nixo0077
@nixo0077 2 роки тому
SUPER, as usually
@Willis3DDruck
@Willis3DDruck Рік тому
Great Video Top!👍
@sanderromer6490
@sanderromer6490 2 роки тому
Nice. Thank you.
@mahfuoz63solidworks3
@mahfuoz63solidworks3 Рік тому
Thank you very much for this excellent and short explanation شكرا جزيلاً
@teocerda5367
@teocerda5367 2 роки тому
Thank you!
@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 !
@electronic7979
@electronic7979 2 роки тому
Nice project
@brianmoore5454
@brianmoore5454 2 роки тому
Excellent video
@oussamafetoui2186
@oussamafetoui2186 2 роки тому
Thank you sir
@AChi__
@AChi__ Рік тому
Excellent vid. I thank you with my sub. Subbed.
@joska9744
@joska9744 2 роки тому
super video!!! thanks!
@priesthoodiii
@priesthoodiii 2 роки тому
great Video!
@amrishhirani6096
@amrishhirani6096 2 роки тому
Very good video thanks 👍
@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!
@yuvrajkukreja9727
@yuvrajkukreja9727 2 роки тому
awesome 👍
@gapyearkisu.6661
@gapyearkisu.6661 Рік тому
Thanks you my teacher. ❤❤❤
@michaelzajac5284
@michaelzajac5284 2 роки тому
I'm glad you help me, I don't know how to robot. I really battle robot.
@adambeedle
@adambeedle 2 роки тому
So cool 👍
@Bianchi77
@Bianchi77 2 роки тому
Nice video, thanks :)
@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.
@Safiredesignengineer
@Safiredesignengineer Місяць тому
Hi great video, I heard you say that 2.4ghz is a line of sight control, what is the best type of controller to control out-of-site stuff, i.e through walls, trees and buildings etc..? A
@jgodinez1114
@jgodinez1114 Рік тому
Thank you for the amazing tutorial. Would this project also work using a raspberry pi 3? Thank you.
@VADYMSAVRII
@VADYMSAVRII 2 роки тому
Thank you friends. You video very good to de people.
@Automation28
@Automation28 2 роки тому
Nice!
@a7omar753
@a7omar753 2 роки тому
I want it... Brilliant
@funnyworld5482
@funnyworld5482 4 місяці тому
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.
@PakshiMedia
@PakshiMedia 2 роки тому
Thank You
@DaveFer
@DaveFer Рік тому
Hey, great video. I appreciate how you distill things down to convey real understanding. Re: Arduino between RC rx and motor driver: I've been told that there is a passthrough mode on some Arduino PWM ports where incoming PWM signals can simply be passed through to the motor driver *or* the port can be set to disregard incoming PWM signals and that puts the Arduino in full control. It seems like you are using a different, more intuitive method where you measure the PWM input and then output (or not) PWM on a different port, no? I've been told that this method introduces significant latency. Could you speak to that? I'm about to start on this exact thing here tonight. Btw, if I'm only using 3 channels (motor, steering, Arduino control ON/OFF) ... can't I use an Arduino Nano for this project? THANK YOU for your help. :)
@fUNtIME-og1ke
@fUNtIME-og1ke 2 роки тому
very informative video, will you please guide us, can we binding aurdino transmitter with any receiver, (if we dont have its original transmitter))
@SzymonJakubiak
@SzymonJakubiak 2 роки тому
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 Рік тому
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 Рік тому
@@Igor-xo3zx Z tego co pamiętam to tak, tylko górne. Zobacz 8:31.
@user-eh4gq4er5z
@user-eh4gq4er5z 7 місяців тому
I have a doubt, can the same application be used for ships ?
@qzorn4440
@qzorn4440 2 роки тому
another great RC robot video...👍 would please do a image ultrasound project similar to human/veterinarian ultrasound? the price is coming down with the usb-ultrasound sensor and smart-phone but it is still pricey for a hobby budget...:/ i cannot find an experimental project with hardware/software.. any ideas or where to go? thanks a lot...😀
@user-mj3qg6cc2z
@user-mj3qg6cc2z 2 роки тому
Thanks for everything. But If you have the time can you make video explaining the PID for drones using arduino And thanks again
Getting Started with LIDAR
47:27
DroneBot Workshop
Переглядів 1,4 млн
How to Control a 12V Motor with Arduino: Easy Wiring & Code Examples
44:13
Rachel De Barros
Переглядів 343 тис.
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 55 #shorts
00:30
WWE is real💔
00:16
IShowSpeed
Переглядів 76 млн
Using PS3 Controllers with ESP32 | Build Custom Remote Controls
1:08:17
DroneBot Workshop
Переглядів 88 тис.
I PRINTED an RC Car... How FAST can it go??
11:03
Michael Rechtin
Переглядів 626 тис.
RC Basics: Introduction to how a RC radio system works
29:58
Painless360
Переглядів 750 тис.
Driving DC Motors with Microcontrollers
1:04:32
DroneBot Workshop
Переглядів 556 тис.
Mecanum Wheel Robot Car & ESP-NOW Remote
1:26:38
DroneBot Workshop
Переглядів 110 тис.
Building a DSM2 R/C Transmitter with Arduino
14:16
James Bruton
Переглядів 172 тис.
The Ultimate Guide to using Motors in Robotics (including ROS, Raspberry Pi)
25:56
Articulated Robotics
Переглядів 281 тис.
Build a DIY RC Car with Steering Under $20
20:36
Max Imagination
Переглядів 750 тис.
proteção contra infiltração em muro! 😱
1:00
O Calheiro
Переглядів 56 млн
Горный баран-победитель!
0:30
ДМИТРИЙ БОГДАНОВ
Переглядів 3,3 млн
Морковка - ТЕМА!
0:38
Дядя Гриша
Переглядів 1,3 млн
proteção contra infiltração em muro! 😱
1:00
O Calheiro
Переглядів 56 млн