How to use RC radio with Arduino (RC Arduino robot)

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 มิ.ย. 2024
  • I took apart my Kuman Tank robot to test my new Flysky RC radio and build a cool robot with Arduino! I will use this radio to build the second version of my Ludwik drone - Arduino based DIY drone. In this video, I will show you how easily you can implement remote control in your projects. It is seriously super simple! For some uses you even don't need Arduino or any microcontroller for that, you can directly plug in servos, ESC and more :) Those transmitters are also very big and ugly, but that's so simple to use them that I can bear it. Building Arduino based RC cars, robots, planes, boats or drones is so easy that you can easily do that. Technically there is no such thing as a remote control robot because robot is a device that can operate autonomously on its own.
    Code: github.com/NikodemBartnik/Sma...
    Parts that I used in this video:
    RC radio: bit.ly/3zluHoS
    Robot chassis (not exactly the same): bit.ly/2Y0UftJ
    Smaller chassis: amzn.to/3ji1BRC
    Arduino: amzn.to/38fYhAf
    Instagram: / nikodembartnik
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @ronen124
    @ronen124 5 ปีที่แล้ว +1

    that was a nice logic to harness only one pin of the receiver in order to control 3 variables: speed, right and left of the motor👌

  • @deeareus9886
    @deeareus9886 5 ปีที่แล้ว +7

    nice work, i'm happy that someone still use the rc remote:P

  • @PiefacePete46
    @PiefacePete46 5 ปีที่แล้ว +4

    Great video (as usual) thanks. Your project has everything it needs to be both RC tank, and robot. Code some instructions into the Arduino that are executed when the radio signal is lost, then all you have to do to change from tank to robot is turn the transmitter off. Add a few components so it logs every turn while you are driving it, then have it execute them in reverse when you turn the transmitter off... poor man's Return to Home! :o)

  • @Stephen-ku5fe
    @Stephen-ku5fe 5 ปีที่แล้ว +9

    cool vid man loved it, kept me entertained : )

  • @alexrydeen2987
    @alexrydeen2987 5 ปีที่แล้ว +25

    Could you specify what pins do I connect from the receiver to the Arduino I can't really tell from looking at the video ?

    • @KatsatOnmyhat
      @KatsatOnmyhat 4 หลายเดือนก่อน

      orange to pin ~9 from chn 1 pin 1, other 2 are power and ground

  • @DavidofSteele
    @DavidofSteele 2 ปีที่แล้ว +1

    Thanks mate, great video 👍👍👍👍

  • @rlrentertainmentsinventions
    @rlrentertainmentsinventions 2 หลายเดือนก่อน

    Nice video bro, it helped me a lot just now my project worked fine. Thanks a lot.

  • @engineerslab1440
    @engineerslab1440 4 ปีที่แล้ว +2

    thank you so much for great video and great work

  • @reinierstienstra3697
    @reinierstienstra3697 4 ปีที่แล้ว +2

    Hi Nikodem, i got your skeches from your github. I 3d printed the tracks for a tracked vehicle with aluminium chassis and arduino + motorshield 'motor management'.
    I want to hook it up to a rc set i recently purchased so, you sketch is just what i need to adjust to my setup.
    Thanks so much for sharing this!

  • @potatoestv2759
    @potatoestv2759 5 ปีที่แล้ว +1

    Looks nice

  • @m.s.3346
    @m.s.3346 3 ปีที่แล้ว

    good job & nice video!

  • @user-lc4sg8cc6x
    @user-lc4sg8cc6x 3 ปีที่แล้ว +1

    Thanks.this is what im looking for

  • @thedocdodge
    @thedocdodge 5 ปีที่แล้ว +2

    Wondering if you could make a diagram or show where your wires are plugged in. Hard to tell from the video.

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

    Can you tell anything about the delay caused by the Arduino? I am familiar with the Ardunio programming and about to give an rc car a more authentic behavior on throtling with an Arduino and ad a fpv cam with a stepper motor to be able to look arround. If the Ardunio will cause a delay about 200 ms it will be not worth starting the projekt so if you know anything about the delay let me know!!

  • @chanakyasinha8046
    @chanakyasinha8046 5 ปีที่แล้ว +2

    Hey, i am using this transmitter to control my battle bot, i have one question, is receiver receives ppm signal or pwm, my motor driver is pwm compatible,suggest me any ppm to pwm converter, the result with directly connecting receiver and transmitter to motor driver was like, motor wasn't running at full speed, and not stopping either.

  • @sr05051986
    @sr05051986 3 ปีที่แล้ว +1

    Hi Nikodem,
    This rc project looks pretty interesting because it might be helpful to resolve my automotive lawnmower idea and the RC implementation on it. But I want to use ESP8266 Node mcu instead of Arduino board. so that I can read some of the data using some sensors and send back to my mobile phone. Is that possible?

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

    Can you please share the connection layout and the driver module you used with Arduino and a question -
    where Pin 9and 10 defined in the code are connected.

  • @SickmanOfVietnam
    @SickmanOfVietnam 5 ปีที่แล้ว +3

    I need your skills so i can have fun too. old or young. thank you, so much.

  • @Mbee16
    @Mbee16 3 ปีที่แล้ว +2

    Awesome bro! Do you perhaps have code as to how to translate turning on a 3ch remote into tank steer?

  • @onurkarakaya5640
    @onurkarakaya5640 5 ปีที่แล้ว +1

    you are the man bro.

  • @MisterMakerNL
    @MisterMakerNL 5 ปีที่แล้ว +2

    I am also doing some arduino work, I am just amazed how tidy your desk is, mine is full with wires and parts :O

    • @nikodembartnik
      @nikodembartnik  5 ปีที่แล้ว +1

      I keep it like that to have space for making my videos :) Otherwise there is plenty of stuff

  • @mitsos306ify
    @mitsos306ify 3 ปีที่แล้ว +1

    Nice video!
    I appreciate the build but why you used an arduino for this project?
    You could just use 2 continuous rotating servos...

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

    very very nice work....

  • @M1ch4el-_-
    @M1ch4el-_- 3 หลายเดือนก่อน

    Świetny film tylko proszę powiedz gdzie uczyłeś się programowania arduibo?

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

    Awesome!

  • @Perspectologist
    @Perspectologist 5 ปีที่แล้ว +4

    Nice to see how this is done. I’ve used a Adafruit feather with Bluetooth for a remote control rover via an iPhone app. That worked well, but I guess using the RC controller gives you more range and a better control feel. Eventually I want to try using an esp32 for remote control tele-presence applications over WiFi.

    • @nikodembartnik
      @nikodembartnik  5 ปีที่แล้ว +2

      It's much simpler to use and more reliable also range is better. But you can send more data over WiFi or Bluetooth and there are much more options than in RC

  • @tushar673353
    @tushar673353 4 ปีที่แล้ว +2

    this is what im looking for...i have drone remote same as yours and want to control a robot

  • @C_Haberstoked
    @C_Haberstoked 3 ปีที่แล้ว +1

    Very nice. I got it to work. No reverse? Trying to figure it out...

  • @shutdahellup69420
    @shutdahellup69420 5 ปีที่แล้ว +4

    exactly...the only downside with ct6b is 8 freaking batteries, i6 and other tx usually use 4 batteries. Idk why they made it for 8...like whats the point of doing that???

  • @VISHALGUPTA-lt5ly
    @VISHALGUPTA-lt5ly 4 ปีที่แล้ว +2

    nice work.can you share the circuit diagram about it

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

    Awesome

  • @DFX2KX
    @DFX2KX 5 ปีที่แล้ว +1

    You know... I never thought about doing that with an RC transmitter/receiver. I have this exact same Flysky TX. Programming it is a nightmare, and I've got no idea where the programmer got to...

  • @iksanmaulana1295
    @iksanmaulana1295 5 ปีที่แล้ว +1

    hai...how to use another button excp analog control?
    tahnks

  • @rafixx89
    @rafixx89 3 ปีที่แล้ว +1

    Witam nie leprze było by esc ? bez arduino ?

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

    Help! What signal do i use for a long range rc car? I want the signal to penetrate walls as well

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

    Is it possible to change the transmitter to use amateur radio frequencies?

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

    sir can i use this code in FLYSKY FS-i4 4CH with L298 H-Bridge Dual Motor Driver and Arduino uno. can i get t the circuit diagram sir?

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

    Thats fucking awesome mannnn

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

    thanks i can use this to drive a skid steer robot with a 2 channel rc car controller .

  • @vantakulasairam5401
    @vantakulasairam5401 5 ปีที่แล้ว +1

    what's the motor driver used?

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

    Can I use 4 channel remote and receiver?

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

    Can you please make it with speed controlling

  • @no-wing7229
    @no-wing7229 3 ปีที่แล้ว

    I have vg6000 i want it to have Bluetooth so that i can connect it to my phone. How can i do it?

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

    Hello, have you got reverse?

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

    what shield does he have onto of the Arduino?

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

    That tranmitter isn't ugly, it's how they're supposed to look like. (my opinion).
    2:24 if I use right stick with these code. It works, but if I take it to the far left, LED goes on on brightest.

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

      There are some nicer looking TX's out there, Orange, Spectrum ect. Still, they're cheap and they work.

  • @longthanh8091
    @longthanh8091 5 ปีที่แล้ว +1

    Can the tank go backwards

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

    is there the complete code to go reverse as well?

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

    Can you connect Remote to nrf24l01??

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

    Can it Will work with flysky gt2?

  • @kennyking9667
    @kennyking9667 10 หลายเดือนก่อน

    How can i add ultra sonic sensor to this.

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

    Hello. I am trying to make your drone but using a Black Gladiator & an L298 Driver Board. I see activity in serial monitor but the motors won't spin. I have scoured the net and seen many other TH-cam vids & I have tried different lines and pins but am wondering if there is a tweak to your code that will get this to work. While I have been an electronic & IT tech for years, I am only now getting into Raspberry Pi and Arduino robotics so I am very new to this. Any help would be greatly appreciated. Thank you

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

      I have a Motor Shield I could use instead but the video shows how to set it up for BlueTooth and I would rather control it like your drone using my Flysky FS-16

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

    Could this be done with Spektrum or Graupner radios/receivers?

    • @nikodembartnik
      @nikodembartnik  5 ปีที่แล้ว +1

      Sure, you can use any radio

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

      Awesome! Thanks! Time to get researching then.

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

    can fix it l298 motor shield with pwm

  • @edwardthebest9958
    @edwardthebest9958 5 ปีที่แล้ว +3

    This robot is great. I want to make one too but i don't know what pins do I need to use

    • @marn200
      @marn200 5 ปีที่แล้ว +2

      edward the best the pins you need to use depend on the software you write for the hardware.

  • @SianaGearz
    @SianaGearz 5 ปีที่แล้ว +5

    Gotta be a bit careful, those AMS1117-5 regulators on cheap Arduino clones are a wee bit wimpy and have bad failure modes. If you run just the receiver on there, it's no big deal, it's fine, but if you add servos, that could be pushing it. But as long as you can touch it and it's not burning your finger off on the regulator, up near the barrel jack, it's fine.

    • @nikodembartnik
      @nikodembartnik  5 ปีที่แล้ว +1

      Yes I know, they are overheating a lot sometimes.

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

    Circuit diagram of connections please

  • @labstream4122
    @labstream4122 5 ปีที่แล้ว +4

    Hey, nice video! A little remark: at 2:17, you say the pulse-width is between 1000 and 2000 ms (but: 1000ms are one second). What you mean is microseconds (µs): 1000 µs = 1ms, and the pulse widths of modern servos are between 1 and 2 ms. And you say you map 1000-2000 µs, but in the code you only map 1100-1900, why is that? Keep up the good work, I always enjoy your videos!

    • @nikodembartnik
      @nikodembartnik  5 ปีที่แล้ว +2

      Yes, you are right, I made a mistake. Sorry about that. I map 1100-1900 because those are minimum and maximum output values of my radio. I am not sure why but after some tests it turns out that it can't reach full 2000.

  • @alexrydeen2987
    @alexrydeen2987 5 ปีที่แล้ว +1

    Could I do this with a normal adafruit motors shield

    • @nikodembartnik
      @nikodembartnik  5 ปีที่แล้ว +1

      Sure without any problem

    • @alexrydeen2987
      @alexrydeen2987 5 ปีที่แล้ว +1

      @@nikodembartnik another thing what pins would I put the reciever to the analogs and would I need to change the code ?

    • @nikodembartnik
      @nikodembartnik  5 ปีที่แล้ว +1

      it depends on the adafruit shield pinout. You have to connect 5V, GND and signal pins to the Arduino

    • @alexrydeen2987
      @alexrydeen2987 5 ปีที่แล้ว +1

      @@nikodembartnik I have 5v and ground connected to the receiver like you said then I have ch1 connected to digital pin 9 and ch2 connected to digital pin 10 . I then check the serial monitor to see what's going on and it shows that the digital pins are receiving the signal but when I plug into the motors it doesnt drive the motor and the chassis does not move .

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

    Sir, nice video about how to control the RC radio with Arduino. Sir, can the 6 dof robotic arm tank chassis be controlled by Xbox360 wireless controller that would be super awesome, we can easily control the 6 dof robotic arm tank chassis controlled by Xbox360 wireless controller. Sir, can you make the 6 dof robotic arm tank chassis be controlled by Xbox360 wireless controller, also can you give me the circuit diagram and the codes for the 6 dof robotic arm tank chassis to be controlled by Xbox360 wireless controller, is it possible? Sir, tell me. Sir, answer all my questions.

  • @TheSuperSewcio
    @TheSuperSewcio 5 ปีที่แล้ว +4

    2:50 you should a card for this video

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

    Bro I need your help

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

    I'm making an arduino Tank as a school project. I should also mention that I've never used arduini before. I should also mention that I'm in way over my head

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

    I have pwm receiver this code is for ppm reciver

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

    L298n can drive 6 motors?

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

      I think it can only handle 2 (up to 35v), the l293d motor shield can handle 4

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

    👍👍👍👍👍👍🙏🙏🙏

  • @vantakulasairam5401
    @vantakulasairam5401 5 ปีที่แล้ว +2

    Can you share the Arduino code

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

      You can find it on my GitHub

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

      will the code work for all types of motor drivers ??

  • @RogerioSilva-tn5px
    @RogerioSilva-tn5px 3 ปีที่แล้ว

    Because The pins 7,8,12,13, don't change.

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

    where is the schematics ???

  • @sjoerd4307
    @sjoerd4307 5 ปีที่แล้ว +7

    U need A better microphone, but great video!

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

      I do, I also need a new camera, but soon Canon should announce some new mirrorless so I am waiting for that. Thank you!

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

    Hello my english its bad but i am understand .... please you can do a paper...

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

    is there some kind of latency?

    • @nikodembartnik
      @nikodembartnik  5 ปีที่แล้ว +1

      For sure there is some kind of latency but it is very very small I think. Unfortunately I don't have tools to measure that :(

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

      latency is a feeling then it's quite subjective. Nice job Nikodem!

    • @SianaGearz
      @SianaGearz 5 ปีที่แล้ว +1

      Usually FlySky units should be up to around 25ms or so? Usually a good bit less. Until you start hitting end of range and you get packet loss, the apparent latency will shoot up.

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

    This video does not show how to use RC radio with arduino. It shows using it.

  • @stanimiller6486
    @stanimiller6486 5 ปีที่แล้ว +1

    can you show the code pls ?

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

      I didn't check yet, but i guess you can get it by clicking link to his github.

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

    8 BATTERIES!!!! Whyyyeee!!??

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

    What a surprise. Doesn't work. Super disappointed