Control Two DC motors using Flysky and Arduino | How to make 4 wheel Robot, RC car[ARDUINO + FLYSKY]

Поділитися
Вставка
  • Опубліковано 15 січ 2025

КОМЕНТАРІ • 201

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

    Control DC motors with seperate sticks for pan and tilt application : ua-cam.com/video/pnSPDeeDyxs/v-deo.html

    • @Cursedplane12
      @Cursedplane12 8 місяців тому

      Hey @techathome could you help me? I am making a tank with the same mechanics as shown in your video but I want to add another moter, one servo and a way to shoot a gun using a nichrome wire. I am useless at doing any type of coding, would appreciate it if you helped
      *Edit: not an actual gun just a model one using flash cotton to shoot a small metal bearing

  • @funnyworld5482
    @funnyworld5482 2 роки тому +9

    I wish there was more videos like this. He is very good at explaining things thank you

  • @MBR-and-R
    @MBR-and-R 2 роки тому +4

    this is exactly what iv been searching weeks for :) thank you very much , i will update if all works once my driver arrives :)

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

      Welcome

    • @MBR-and-R
      @MBR-and-R 2 роки тому

      @@techathome all works great as shown in your vid ,
      im useless at any form of coding , how would i be able to connect up another motor driver and control 4 motors independently ?

  • @shakejones
    @shakejones 3 місяці тому +1

    Great video+explanation+presentation! Thank you for sharing! Well done mate - NEW SUB 🙏🏻

    • @techathome
      @techathome  3 місяці тому +1

      Thank you♥
      I would suggest you to check this one more way which is more powerful and has precise control without using Arduino: ua-cam.com/video/8b-mvYnyfhc/v-deo.html
      Four wheel robot: ua-cam.com/video/m9Lq-QADP9A/v-deo.html

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

    Thanks so much for the upload, great step by step explanation! I also have a Fly-Skyi6 and have been looking for something to implement with. This will be significant for the start of my project!

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

    Best explain I liked it
    I wanted this only
    Thanks brother 🙏 💙 ❤️

  • @AB-jm5dj
    @AB-jm5dj 6 місяців тому +1

    thank you soo much buddy this will help me a lot to complete my project

  • @omkarbisale
    @omkarbisale 5 місяців тому +1

    Bro thank you soo much you saved my money of buying brushed esc 🗿🗿🗿

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

    hello techathome. Does this also work with the fs ia6 instead of the fs ia6b receiver that you have used? Thanks

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

      Yes, but one suggestion.
      Instead of this solution, check one more latest video which doesn't require Arduino: ua-cam.com/video/m9Lq-QADP9A/v-deo.html

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

    super bro we use this brush cutter , how to control engine on off and exalter....pl clarify.

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

    Is it possible to control the speed of the motors according to the stick movement in transmitter

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

      L298N was not able to handle properly.
      I have already done updated video using BTS7960 with speed control: ua-cam.com/video/EnbkdrYQ0NE/v-deo.html

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

      @@techathome thanks for the reply 👍

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

    Thank you so much for this update video on the subject cheers!!!

    • @techathome
      @techathome  3 роки тому

      Welcome

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

      @@techathome please sir what is the name of the arduino and the other circuit board???

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

      Arduino Uno
      L298N motor driver

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

    so if we move the joystick in upper left diagonal direction, will it do both forward and left simultaneously??

    • @techathome
      @techathome  2 місяці тому +1

      This scenario is not handled in the code. Logic need some update for this case.

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

      @@techathome got it

  • @omar-dj1pz
    @omar-dj1pz 2 роки тому

    Can i use a brushless motor?

  • @TheOldKid
    @TheOldKid 10 місяців тому

    I can't seem to get the code file to work. I can see the code in your video through the (if) line. Any chance someone help with the remainder? I built a project with the exclusion of an arduino because code for the project would've been way outside my ability but the last item, linear actuator, has forced me to use an arduino. I can do small simple and hopefully at some point do a more complex code on my own in a future project. I just haven't progressed thar far. Harder for older people to grasp this but I'll get there

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

    Sir to Receiver can we add Servo & use it.. ??

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

      Yes
      First in transmitter, got to aux channels and set channel 5 and 6 to VAR-A and VAR-B
      Then connect servo to 5 or 6

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

      @@techathome ok thank you..

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

    Question, does this devive work with any type of receiver? For example a Futaba?

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

      Yes it will work. But you need to print and check the values coming from your receiver and update the same in the code (if statements).

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

    Can i use this with nrf24l01 transmitter and receiver?

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

      To control the robot I have mixed two channels,
      Is that channel mixing possible from that?

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

      No, but I want to use it with separate channels

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

      Then this will help you: ua-cam.com/video/pnSPDeeDyxs/v-deo.html
      But modify the values based on your receiver in the code (if else statements)

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

    Thank you very much mate, great video, program works, I have been able to control 2 dc motors with a flysky transmitter

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

    Hi cool video but I have one question. My motors working on full speed is there possible to make it that they will act as fast as moving the lever?

  • @danlane9917
    @danlane9917 9 місяців тому

    What type of DC motor do you use?

    • @techathome
      @techathome  9 місяців тому +1

      12v DC geared motor 200 RPM

  • @muthut5157
    @muthut5157 10 місяців тому

    There is any changes in transmitter???

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

      Yes, Elevon mixing you have to activate.

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

    hello can i do it with ardunio nano not uno

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

      Yes, you can do.
      Check the pins accordingly in the code as well.

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

    I really like this lesson and I am studying UNO ,AVR 328. I have a question signal output digital pin 4 and pin 7 right? signal output pin 5,6 PWM right? If want to control something else what should I do pin4 ,5 pin 7,6. If I don’t have motor driver

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

    Do you have any idea about controlling 6 by 6 robotics car

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

      You have to connect 3 left motors in parallel( all positives together and all negatives together)
      Repeat same for right 3 motors

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

    Will this work with fsi4x

  • @wannistelrooy
    @wannistelrooy 3 роки тому

    I got rc motor but it's has 3 wire..can I use the motor driver?

  • @ANTRUM666
    @ANTRUM666 6 місяців тому

    Bro can we connect 4 12 v dc motor and pair it by 2 2 motor in one side and another 2 in othr side of motor driver

    • @techathome
      @techathome  6 місяців тому

      Yes you can do that way, 2 motors in parallel

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

    can i use any RC controller with its transmitter or does it have to be flysky? and if i can use any.. does the code changes?

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

      Yes you can use any transmitter,
      Make sure correct receiver output is used.
      Also, in the code we have used values for comparison, those values you can print on serial monitor and edit accordingly for your Transmitter.

  • @rahuldandapat4450
    @rahuldandapat4450 3 роки тому

    ok, I understand ......will it do the same when I connected with 4 motors....?

    • @techathome
      @techathome  3 роки тому +1

      Use 12v DC Gear Motor, you can use 4 motor simultaneously, no issues

    • @rahuldandapat4450
      @rahuldandapat4450 3 роки тому

      @@techathome ok thanks.....Keep replying I told you your number of vewiers will increase.

    • @iampunkiy988
      @iampunkiy988 3 роки тому

      Pls yr contact no???

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

    How would I control 4 dc Motors seperately using the same method?

    • @MBR-and-R
      @MBR-and-R 2 роки тому

      i would also like to know this , please let us know if you have it figured out

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

      ​@@MBR-and-R put values and define each motor and repeat the same i coded my drone using this

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

    If I am connecting power supply to motor driver not getting the signal in Arduino.
    Every connection were perfect.
    What to do?

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

    Bro please tell me how many price in sky fly transmetre and receiver

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

      When I bought 4 years back, it was Rs 3200.
      But now prices are very high

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

    Sir with the same code only one motor is running I have checked the motor driver and the motors are okay. What can be the problem sir? Is their any issue with the code

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

    When flysky with Arduino want to in increase degree servo rotation Example before servo rotation only 90 to 180 degree how to do can help me dear

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

      Servo motor u can directly connect to your Flysky receiver. No need of arduino: ua-cam.com/video/iZnQN5AmDdE/v-deo.html

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

    Circuit for flysky fsct6b?

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

      Circuit remains same,
      But you need to check how to mix two channels in ct6b for robotic movements

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

    I made it but the motors started rotating as soon as I connected the battery, I turned on the elivon and checked every connection. I used 5v bo motors in it is that why it's not working? Please reply 🙏🙏🙏🙏

    • @odellcooley5324
      @odellcooley5324 11 місяців тому +1

      Check your motor trim slider or dial depending on your transmitter. Motors might move until you adjust the trim. Plenty if videos to show you how.

  • @Hey_Prasaaad
    @Hey_Prasaaad 3 роки тому

    Sir I want to add led strips lights to my robot . I should be controll with transmitter ..
    Can you please tell how I should do it ?

    • @techathome
      @techathome  3 роки тому

      U can make using 5v relay module with Arduino
      You can assign Channel 5 to Switch A in transmitter for switching on/off the LED strip
      In Arduino code, you have to read channel 5 (just do as other Channel in the code )
      Use if statement and you can activate relay according to value

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

    Thanks very much sir, but your coding is empty. Can you sharing this forum sir?

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

    I am not able to get rx signals on my arduino....I have connected every wire correctly still i am not able to get arduino rx signal

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

      Check if your jumper wires are fine or not using multimeter

  • @melodymusica2399
    @melodymusica2399 3 роки тому +1

    Please help me with the code of this project...... 🙏

    • @techathome
      @techathome  3 роки тому +1

      code: drive.google.com/file/d/1eFdlvrTiEuPb1a8hdYQt5z5ig92zG8rx/view?usp=sharing

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

      No previe available

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

      Help me I want the code
      Pls 🙏 help

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

      Are you opening in computer or mobile?

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

      Below that no preview available, there is download option

  • @adarshmutalikdesai70
    @adarshmutalikdesai70 3 роки тому

    how to change settings in CT6B transmitter like u did in ur transmitter pls help me

    • @techathome
      @techathome  3 роки тому

      I have not used that,
      But may be you can connect with computer, install the software given in the package and try once

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

    Does the code work on flysky CT6B

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

      Yes it will work,
      But 2 things to take care,
      1. Print the values from both channels on serial monitor(Just uncomment serial.print lines in the code) and based on the values coming from your receiver, edit values in if statements.
      2. For robotic movements, check how to mix two channels in ct6b

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

      @@techathome ok thanks a lot

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

      Could u please make a code got a car using ct6b transmitter as the above thing what u mentioned is not working.

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

      I don't have ct6b with me
      You can mail us
      I will help you there

  • @BLADE-yf5mc
    @BLADE-yf5mc Рік тому

    Im trying this with the same motor driver and motors with an arduino. But my motors are only running in one direction and not the other.

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

      Refer this video and check if your motor driver is working for both direction: ua-cam.com/video/xHbsWyoijb4/v-deo.html

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

    Can you make one where as the motors can operate independently I am making a Pan and tilt system for my Telescope I want to control it with my skyfly

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

      Yes we will do that tutorial

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

      @@techathome thank you so cool

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

      Control motors independently, Tutorial out : ua-cam.com/video/pnSPDeeDyxs/v-deo.html

  • @sayamscreativitystudio5992
    @sayamscreativitystudio5992 4 місяці тому

    Bro Arduino Code Google drive link is not opening, it is showing file unsupported
    Plz give me one more link for this

    • @techathome
      @techathome  4 місяці тому

      Can you send mail: deepakhd20@gmail.com

  • @IshandeepKanchan
    @IshandeepKanchan 8 місяців тому

    what will happen if we will not mix the channel?

    • @techathome
      @techathome  8 місяців тому

      The motor will run separately

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

    Good information but code missing in your link

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

      Thank you!
      You have to download and extract it. Link is still available.
      Also you can send mail.

  • @pedralvezkyle511
    @pedralvezkyle511 3 роки тому

    My motor just keeps on humming even if I changed the power supply to 12v.
    what do I do?

    • @techathome
      @techathome  3 роки тому

      Have you powered your Arduino and Receiver from L298N

  • @shaifpul
    @shaifpul 3 роки тому

    hi brother, do you have code for controlling speed these motors?

    • @techathome
      @techathome  3 роки тому +1

      I tried with that, but not working properly

    • @shaifpul
      @shaifpul 3 роки тому

      @@techathome i heard we need to MAP with some values (PWM)

    • @techathome
      @techathome  3 роки тому +1

      Yes yes, we need to map the values to range 0 to 255
      I did the Same
      But it didn't work

  • @choudharyshivam19
    @choudharyshivam19 3 роки тому

    bhai backward wala kam nahi karaha hai

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

    My not working bro, video dikhaya huaa code aalag hai or link me aalag hai

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

    When I tried this I was using analog A0 for the flysky signal and digital read function that reads like analog in and maps it to the outputs. It didn’t work that way but now I found this video thanks. But why does analog read for A0 not work.

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

    Браво!Може ли проекта да се осъществи с Flysky FS GT3C Remote Control 3 Channel?Ще бъда благодарен за отговор.Поздрав Д.Дяков

  • @electronicsshop1135
    @electronicsshop1135 3 роки тому

    Thank you for good information.

  • @iampunkiy988
    @iampunkiy988 3 роки тому

    U r from whiçh place

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

    Please create a video on... How to control led lights with flysky transmitter and receiver

  • @Chartered_Edu
    @Chartered_Edu 3 роки тому

    Hello brother!
    Actually I was planning to make a remote controlled bike using a bo-motor and a servo motor to turn the handle connected with CT6B receiver, so wat should be the connection of bo-motor and receiver..... Cuz bo-motor don't have signal pin
    Em not getting wat to do so pls assist me 🙏🙏🙏

    • @techathome
      @techathome  3 роки тому

      Servo motor directly Connect to Receiver
      For BO Motor refer these video, but use( 9v battery instead of 12v)
      ua-cam.com/video/Pcct-0RmcZE/v-deo.html

    • @Chartered_Edu
      @Chartered_Edu 3 роки тому

      @@techathome thanks for the reply!!
      bro as I am making a bike..... using any kind of Arduinos makes my bike bulky....so is there any idea other than Arduino???? Pls suggest

    • @techathome
      @techathome  3 роки тому

      Arduino nano you can use

    • @Chartered_Edu
      @Chartered_Edu 3 роки тому

      @@techathome thanks for reply brother!!
      if I use Arduino nano I must compulsorily use any of motor driver viz. L298N....it definitely makes my bike bulky....
      Okay wait!!, I also have an alternative way of making RC bike by using HC-50 bluetooth module without using any receiver....but wires and connections makes bulky....so wat do u suggest for tat

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

    Well done❤

  • @lalithshetty1153
    @lalithshetty1153 3 роки тому

    Ic Is getting heated what to do

    • @techathome
      @techathome  3 роки тому

      Which motor are you using, Jhonson motor or normal 12v DC motor?

    • @lalithshetty1153
      @lalithshetty1153 3 роки тому

      @@techathome 12v dc motor and even 9v motor

    • @techathome
      @techathome  3 роки тому

      L298N only you are using ryt??

    • @lalithshetty1153
      @lalithshetty1153 3 роки тому

      @@techathome yaa

    • @techathome
      @techathome  3 роки тому

      You can add small 12v CPU or Laptop fan near the IC

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

    Controller is only able to start the motors, but after that we can't control the direction of motors..... Not detecting the Code from else if

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

      You can try this:
      Print the values coming from channel 1 and Channel 2 on serial monitor
      According to your transmitter values modify the code

  • @interestinginnovations619
    @interestinginnovations619 3 роки тому

    How to control 10 ->12v dc brushed motor with rc transmitter and receiver?

    • @techathome
      @techathome  3 роки тому

      The Motor used in Video is 12v DC Motor only

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

    If we are using 4 wheels, will the codes be same in arduino ???????please reply,also if the code is different,please provide the code :)

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

      Yes same code
      Connect another motor in parallel to left motor
      Similarly, on the right side
      I guess I have shown in the video somewhere about connection of 4 motors

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

      @@techathome thank you ,it is working fine ....😊

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

    Bro my motor are not working

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

      Check the values coming from your receiver by printing on serial monitor.
      Based on that edit the If else statements.

  • @tsshadowff
    @tsshadowff 4 місяці тому

    Hey bro!
    My not working?

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

    Arduino code is not opening pl send it

  • @user-ht7gk4jv9r
    @user-ht7gk4jv9r 3 роки тому +1

    Code sahi nah I hai

  • @sumitmoolchandani3805
    @sumitmoolchandani3805 3 місяці тому

    not working with gear motor

    • @techathome
      @techathome  3 місяці тому

      Which motor and supply are you using??

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

    Great Video bro.

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

    else if((ch1>1530)&&(ch2>1530))
    Can you explain this command? why 1530?

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

      These are values coming from both Channel 1 and Channel 2 of receiver
      You can try to print on serial monitor

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

    How to control 9 motar

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

      You need to control 9 motors seperately or how??

  • @the_tag
    @the_tag 3 роки тому

    I will try this

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

    Your videos are GREAT. You have been very helpful. Can you provide Arduino code for controlling 2 BTS 7960 with RC? Please!

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

      Thank you!
      Yes I will make, My next video will be on BTS 7960

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

    thank you works great !

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

    🙏

  • @magicmechanicmc2879
    @magicmechanicmc2879 3 роки тому

    But speed control?

    • @techathome
      @techathome  3 роки тому +1

      No, speed control we tried but not working

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

    Thank you so much!

  • @prabhasprabhas7430
    @prabhasprabhas7430 3 роки тому

    Bro nanu Karnataka davanu nange ondu help madtira

    • @techathome
      @techathome  3 роки тому

      yes,you can contact on instagram

  • @rc3d490
    @rc3d490 3 роки тому +1

    add subtitles to your videos.

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

    thanks bro good job

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

    thank you

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

    it worked thank you

  • @somnathpal3591
    @somnathpal3591 3 роки тому

    thank you bro

  • @BrainBotics-b8j
    @BrainBotics-b8j 15 днів тому

    BEST PERSON

  • @AdityaRajput-pl3rp
    @AdityaRajput-pl3rp Рік тому

    Sir give me code

  • @ARTronics-jy2gc
    @ARTronics-jy2gc 3 роки тому

    good work

  • @RupendraKumar-l5m
    @RupendraKumar-l5m Рік тому

    add revolution controll pls xD

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

      How this revolution control should be?

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

    Fast

  • @parisrivers7707
    @parisrivers7707 3 роки тому

    GREAT CONTENT !!!!!

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

    Nice

  • @yourtechybro1151
    @yourtechybro1151 3 роки тому

    Hey guys
    I have also made the same robot using 4 wheels
    Do check it out 🙂....

  • @user-ht7gk4jv9r
    @user-ht7gk4jv9r 3 роки тому

    Bhai kuch jaldi reply kro

  • @TechReddy.
    @TechReddy. Рік тому

    thanks for giving code and circuit for free

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

      Welcome

    • @TechReddy.
      @TechReddy. Рік тому

      @@techathome can I get circuit and code for tank that has four motors at base and one on top. Controlled by fly sky

    • @TechReddy.
      @TechReddy. Рік тому

      Urgent please