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

Поделиться
HTML-код
  • Опубликовано: 26 июн 2021
  • 🔽
    Arduino code : drive.google.com/file/d/1eFdl...
    Circuit diagram : drive.google.com/file/d/1Y8Mq...
    ---------------------------------------------------------------------------
    Components-
    Arduino Uno : amzn.to/3C1vKxF
    -------------------------------------------------------------------------
    Control brushed DC motor using Flysky and Arduino : • Control brushed DC mot...
    Homemade Brushed DC motor controller for Flysky [150 RUPEES ONLY] : • Homemade Brushed DC mo...
    How to make 4 wheel wireless Robot for Roborace using Flysky and Brushed ESC : • How to make 4x4 wirele...
    Music-----------------------------
    Good Love by Vendredi / vendrediduo​
    Creative Commons - Attribution 3.0 Unported - CC BY 3.0
    Free Download / Stream: bit.ly/3unfdOw​
    Music promoted by Audio Library • Good Love - Vendredi (... ​
    ------------------------------
    Follow us on Instagram :
    / tech_at_home
    Like us on Facebook :
    / tech-at-home. .
    Thanks for watching!
    Like Share and Subscribe
  • НаукаНаука

Комментарии • 175

  • @techathome
    @techathome  Год назад +1

    Control DC motors with seperate sticks for pan and tilt application : ruclips.net/video/pnSPDeeDyxs/видео.html

    • @vedantpayal3698
      @vedantpayal3698 2 месяца назад

      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

  • @MBR-and-R
    @MBR-and-R 2 года назад +3

    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 Год назад

      @@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 ?

  • @funnyworld5482
    @funnyworld5482 Год назад +9

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

  • @sharrodjohnson336
    @sharrodjohnson336 Год назад +3

    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 года назад +2

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

  • @wesleysnipes9454
    @wesleysnipes9454 3 года назад +1

    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

  • @AB-jm5dj
    @AB-jm5dj 18 дней назад

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

  • @juanmakabayan6577
    @juanmakabayan6577 2 года назад

    Thank you so much!

  • @electronicsshop1135
    @electronicsshop1135 2 года назад

    Thank you for good information.

  • @sinofpride1235
    @sinofpride1235 2 года назад

    it worked thank you

  • @thanachartsuwannapusit3899
    @thanachartsuwannapusit3899 8 месяцев назад

    thanks bro good job

  • @karmaalwaysprevail1202
    @karmaalwaysprevail1202 Год назад

    Great Video bro.

  • @patbisson7338
    @patbisson7338 2 года назад

    thank you works great !

  • @jacquewilson5568
    @jacquewilson5568 Год назад +1

    Well done❤

  • @emadabuhagag222
    @emadabuhagag222 Год назад

    thank you

  • @somnathpal3591
    @somnathpal3591 3 года назад

    thank you bro

  • @parisrivers7707
    @parisrivers7707 3 года назад

    GREAT CONTENT !!!!!

  • @nareshrobodrone6287
    @nareshrobodrone6287 2 года назад

    Nice

  • @TheOldKid
    @TheOldKid 4 месяца назад

    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

  • @kubakon5945
    @kubakon5945 Год назад

    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?

  • @ARTronics-jy2gc
    @ARTronics-jy2gc 2 года назад

    good work

  • @kamalkannan2786
    @kamalkannan2786 Год назад

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

  • @theskornhinkaew4364
    @theskornhinkaew4364 Год назад

    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

  • @ismailshah8154
    @ismailshah8154 Год назад

    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.

  • @newthinkofficial
    @newthinkofficial 10 месяцев назад

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

  • @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?

  • @ANTRUM666
    @ANTRUM666 День назад

    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

  • @dyakovdiyan5739
    @dyakovdiyan5739 2 года назад

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

  • @the_tag
    @the_tag 3 года назад

    I will try this

  • @bumblebimmer
    @bumblebimmer 2 года назад

    Thank you . I have been looking for a way to control ebike controllers . However I am not sure ebike controllers can go in reverse

    • @techathome
      @techathome  2 года назад

      This motor driver is for small motors

  • @Ak_aerospace_pvt_ltd.
    @Ak_aerospace_pvt_ltd. 2 года назад +1

    🙏

  • @muthut5157
    @muthut5157 4 месяца назад

    There is any changes in transmitter???

  • @martinsoublette95
    @martinsoublette95 11 месяцев назад

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

    • @techathome
      @techathome  11 месяцев назад

      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).

  • @johnduguay2767
    @johnduguay2767 Год назад

    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  Год назад

      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.

  • @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: ruclips.net/video/EnbkdrYQ0NE/видео.html

    • @bibinchacko326
      @bibinchacko326 Год назад

      @@techathome thanks for the reply 👍

  • @Hey_Prasaaad
    @Hey_Prasaaad 2 года назад

    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  2 года назад

      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

  • @adarshmutalikdesai70
    @adarshmutalikdesai70 2 года назад

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

    • @techathome
      @techathome  2 года назад

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

  • @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

  • @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

  • @ediirawan3400
    @ediirawan3400 Год назад

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

  • @talawadekargaureshsandeep5494
    @talawadekargaureshsandeep5494 Месяц назад

    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  29 дней назад

      Check if your jumper wires are fine or not using multimeter

  • @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

  • @interestinginnovations619
    @interestinginnovations619 2 года назад

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

    • @techathome
      @techathome  2 года назад

      The Motor used in Video is 12v DC Motor only

  • @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

  • @iftikharguliyev
    @iftikharguliyev 8 месяцев назад

    hello can i do it with ardunio nano not uno

    • @techathome
      @techathome  8 месяцев назад

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

  • @BLADE-yf5mc
    @BLADE-yf5mc 10 месяцев назад

    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  9 месяцев назад

      Refer this video and check if your motor driver is working for both direction: ruclips.net/video/xHbsWyoijb4/видео.html

  • @pakhipakhi1
    @pakhipakhi1 8 месяцев назад

    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 5 месяцев назад +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.

  • @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: ruclips.net/video/iZnQN5AmDdE/видео.html

  • @politicalmemes6801
    @politicalmemes6801 6 месяцев назад

    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

    • @techathome
      @techathome  6 месяцев назад

      There is no issue with code,
      Have you mixed channel 1 and 2?

  • @funnyworld5482
    @funnyworld5482 Год назад

    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  Год назад +1

      Yes we will do that tutorial

    • @funnyworld5482
      @funnyworld5482 Год назад

      @@techathome thank you so cool

    • @techathome
      @techathome  Год назад

      Control motors independently, Tutorial out : ruclips.net/video/pnSPDeeDyxs/видео.html

  • @HENROCable
    @HENROCable 2 года назад +1

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

    • @MBR-and-R
      @MBR-and-R Год назад

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

    • @aleemanwar3883
      @aleemanwar3883 Год назад

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

  • @wannistelrooy
    @wannistelrooy 2 года назад

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

  • @omar-dj1pz
    @omar-dj1pz Год назад

    Can i use a brushless motor?

  • @punjabisongwriterbazida6269
    @punjabisongwriterbazida6269 Год назад

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

    • @techathome
      @techathome  Год назад

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

  • @Chartered_Edu
    @Chartered_Edu 2 года назад

    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  2 года назад

      Servo motor directly Connect to Receiver
      For BO Motor refer these video, but use( 9v battery instead of 12v)
      ruclips.net/video/Pcct-0RmcZE/видео.html

    • @Chartered_Edu
      @Chartered_Edu 2 года назад

      @@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  2 года назад

      Arduino nano you can use

    • @Chartered_Edu
      @Chartered_Edu 2 года назад

      @@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

  • @Ak_aerospace_pvt_ltd.
    @Ak_aerospace_pvt_ltd. 2 года назад +1

    Fast

  • @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..

  • @rc3d490
    @rc3d490 3 года назад +1

    add subtitles to your videos.

  • @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 2 года назад

      Pls yr contact no???

  • @danlane9917
    @danlane9917 3 месяца назад

    What type of DC motor do you use?

    • @techathome
      @techathome  3 месяца назад +1

      12v DC geared motor 200 RPM

  • @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

  • @user-oq8hn2iw8q
    @user-oq8hn2iw8q Год назад

    add revolution controll pls xD

    • @techathome
      @techathome  Год назад

      How this revolution control should be?

  • @newthinkofficial
    @newthinkofficial 10 месяцев назад

    Can i use this with nrf24l01 transmitter and receiver?

    • @techathome
      @techathome  10 месяцев назад

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

    • @newthinkofficial
      @newthinkofficial 10 месяцев назад

      No, but I want to use it with separate channels

    • @techathome
      @techathome  10 месяцев назад

      Then this will help you: ruclips.net/video/pnSPDeeDyxs/видео.html
      But modify the values based on your receiver in the code (if else statements)

  • @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

  • @CutScence
    @CutScence 2 года назад

    bhai backward wala kam nahi karaha hai

  • @swaritsworld2188
    @swaritsworld2188 5 месяцев назад

    Will this work with fsi4x

  • @shaifpul
    @shaifpul 2 года назад

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

    • @techathome
      @techathome  2 года назад +1

      I tried with that, but not working properly

    • @shaifpul
      @shaifpul 2 года назад

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

    • @techathome
      @techathome  2 года назад +1

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

  • @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

  • @user-sh5ps9xz4y
    @user-sh5ps9xz4y 2 месяца назад

    what will happen if we will not mix the channel?

    • @techathome
      @techathome  2 месяца назад

      The motor will run separately

  • @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

  • @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 ....😊

  • @iampunkiy988
    @iampunkiy988 2 года назад

    U r from whiçh place

  • @melodymusica2399
    @melodymusica2399 2 года назад +1

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

    • @techathome
      @techathome  2 года назад +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

  • @sitamunidevi4932
    @sitamunidevi4932 10 месяцев назад

    Bro my motor are not working

    • @techathome
      @techathome  10 месяцев назад

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

  • @user-ht7gk4jv9r
    @user-ht7gk4jv9r 2 года назад +1

    Code sahi nah I hai

  • @lalithshetty1153
    @lalithshetty1153 2 года назад

    Ic Is getting heated what to do

    • @techathome
      @techathome  2 года назад

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

    • @lalithshetty1153
      @lalithshetty1153 2 года назад

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

    • @techathome
      @techathome  2 года назад

      L298N only you are using ryt??

    • @lalithshetty1153
      @lalithshetty1153 2 года назад

      @@techathome yaa

    • @techathome
      @techathome  2 года назад

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

  • @saims3680
    @saims3680 2 года назад

    How to control 9 motar

    • @techathome
      @techathome  2 года назад

      You need to control 9 motors seperately or how??

  • @magicmechanicmc2879
    @magicmechanicmc2879 3 года назад

    But speed control?

    • @techathome
      @techathome  3 года назад +1

      No, speed control we tried but not working

  • @user-ht7gk4jv9r
    @user-ht7gk4jv9r 2 года назад

    Bhai kuch jaldi reply kro

  • @yourtechybro1151
    @yourtechybro1151 2 года назад

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

  • @prabhasprabhas7430
    @prabhasprabhas7430 2 года назад

    Bro nanu Karnataka davanu nange ondu help madtira

    • @techathome
      @techathome  2 года назад

      yes,you can contact on instagram

  • @AdityaRajput-pl3rp
    @AdityaRajput-pl3rp Год назад

    Sir give me code