How to Make an Arduino RC Car with Flysky FS-i6X Transmitter | Ultimate Guide for Beginners

Поделиться
HTML-код
  • Опубликовано: 6 июл 2024
  • #arduino #rccar
    How to Make an Arduino RC Car with Flysky FS-i6X Transmitter
    Your Searches...
    Arduino
    Arduino Bluetooth Car
    Arduino Joystick Control Car
    Arduino Joystick Controller
    Arduino Joystick Project
    Arduino Long Range Car
    Arduino Long Range Remote Control
    Arduino nrf24l01 Projects
    Arduino Projects
    Arduino Projects for Beginners
    arduino robot
    Arduino Robot Car
    Arduino Robot Projects
    Arduino Transmitter And Receiver
    DIY Builder
    DIY RC Car
    Flysky FS-i6x
    Flysky Transmitter
    Homemade RC Car
    How to Make a RC Car
    How to Make Arduino Car
    How to Make Arduino RC Car
    How to Make RC Car
    how to make rc car using flysky
    L298N Motor Driver
    L298N Motor Driver Arduino
    Long Range RC Car using Arduino
    Make RC Car at Home
    RC Car using Flysky transmitter and receiver
    Pro Know
    Radio Control Car
    RC Car
    RC Car DIY
    Remote Control Car
    Buy components at best prices from China
    Store Link
    click.daraz.pk/e/_CXJJfF
    Arduino UNO
    click.daraz.pk/e/_CVlDTL
    L298N Motor Driver
    click.daraz.pk/e/_CXDADj
    Flysky Receiver
    click.daraz.pk/e/_CWmZuH
    4 wheel chassis
    click.daraz.pk/e/_C611LL
    2 wheel chassis
    click.daraz.pk/e/_CWGSRR
    TT Gear Motor 2 pcs
    click.daraz.pk/e/_CVeY5L
    Arduino Expansion Shield
    click.daraz.pk/e/_CZ7ynX
    Arduino Code:
    bit.ly/48TcUr0
    Circuit Diagram:
    L293D - ARDUINO:
    ENA --- 5
    ENB --- 6
    IN1 --- 2
    IN2 --- 3
    IN3 --- 4
    IN4 --- 7
    RECEIVER -- ARDUINO:
    CH1 --- A0
    CH2 --- A1
    CH3 --- A2
    CH4 --- A3
    CH5 --- A4
    CH6 --- A5
    VCC --- VCC
    GND --- GND
    (Will soon share the schematic diagram. For now, you can just do wiring as above)
    Time stamps
    0:00 Intro
    0:18 Components Required
    0:57 Making the Car
    5:04 Programming
    5:37 Finishing
    6:08 Transmitter Setup
    6:55 Testing
    #akelectrodiy #arduino #arduinoproject #rccar #diybuilder #arduinorobot #arduinocar #proknow #diy #electronics
  • НаукаНаука

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

  • @wellingtonpereira8171
    @wellingtonpereira8171 3 дня назад +1

    thanks for the feedback

    • @AKElectroDIY
      @AKElectroDIY  3 дня назад

      @@wellingtonpereira8171 You're welcome

  • @Elisrc.
    @Elisrc. 5 месяцев назад +1

    Thats awsome ,really Nice👍

    • @AKElectroDIY
      @AKElectroDIY  5 месяцев назад +1

      Thanks ❤

    • @Elisrc.
      @Elisrc. 5 месяцев назад +1

      @@AKElectroDIY 👍👍

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

    Bro how do use it using kendin yap 6 channel reciever can you answer

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

      It's the same for that too. Any receiver can be used with this. Mean they are interchangeable. Just you need to set channels 5 and 6 as aux switches in transmitter. And connect channels 1 and 2 to the arduino similar as shown

  • @wellingtonpereira8171
    @wellingtonpereira8171 3 дня назад +1

    Pode ser um controle de carro com 4 canais?

    • @AKElectroDIY
      @AKElectroDIY  3 дня назад

      The car is controlled by 2 channels. There are two additional aux channels to control speed mode.

  • @bindur6006
    @bindur6006 2 месяца назад +3

    It's a great tutorial 👏👏
    I wanted to use BLDC or Brushes motors INSTEAD....
    Can i simply replace the motors without changing any circuit connection or code??
    Will it affect any power issues??
    I'm planning to build it please let me know..
    Thank you

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

      I would also like to know...
      It would be great to build it with brushless motors

    • @AKElectroDIY
      @AKElectroDIY  2 месяца назад +1

      Yes that's easy to make. But for it, I have made another video. You may see that. Two brushless ESCs will be required for that one.
      Here is the video
      ruclips.net/video/FcyyWRq44n4/видео.html

    • @AKElectroDIY
      @AKElectroDIY  2 месяца назад +1

      In that video, I used brushed motors with a brushed esc. Just replace the brushed motors with brushless ones and the brushed ESCs with brushless ESCs

    • @bindur6006
      @bindur6006 2 месяца назад +1

      @@AKElectroDIY thank you

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

      Actually the point here is, the L298N is made just for brushed motors. For brushless motors, you will just need a brushless ESC. And if an ESC is used, then there will be no need of arduino. Means no programming needed for that.

  • @unknownguyfromu.p2030
    @unknownguyfromu.p2030 4 месяца назад +1

    Will this car run on muddy tracks

    • @AKElectroDIY
      @AKElectroDIY  4 месяца назад +1

      Yes you can. But for muddy tracks, you will have to modify its shape a little bit so that it can easily run on it. I mean the motors should be a bit upwards to increase the ground clearance for easy driving on such tracks.

  • @ram_gupta5
    @ram_gupta5 День назад +1

    I have FS-i6, so what changes i have to do in code and transmitter setting

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

      Code will be the same for all transmitters. All it needs to be is a 6 channel transmitter.

    • @ram_gupta5
      @ram_gupta5 День назад +1

      @@AKElectroDIY fir transmitter ki setting m kya change krne honge q ki video m AUX wala setting Kiya tha woh usme nhi h

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

      Flysky i6 mein bhi same Aux setting ho jaye gi. Bas apne channel 5 ko sw1 aur channel 6 ko sw2 assign karna hai.

    • @ram_gupta5
      @ram_gupta5 День назад +1

      @@AKElectroDIY ohk main try krke dekhta hu....
      BTW thnks for the video 🫡

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

      @@ram_gupta5 Welcome

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

    Could you help to add relay for putting 220v motor?

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

      4 channel Relay module is available for arduino. You can see it

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

      @@AKElectroDIY Could you help to make that video and add camera esp32 cam?

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

      @@evo8773 Yes why not. So you just want to use relays instead of L298n, right?
      And for esp32, I am already planning to make a video on that. To control a car using esp32 and also display camera result on mobilr

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

    Bro itz a great one, but I couldn't find the code of the project evn I have subscribed tour channel

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

      Code link is in description

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

      Copy and paste the link in a browser

    • @ninaarmy79
      @ninaarmy79 2 месяца назад +1

      @AkElectroDIY ok

  • @akeditz8945
    @akeditz8945 2 месяца назад +1

    can you do one with Fly Sky Ct6b

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

      That is exactly the same. No difference

  • @sajidakilledar779
    @sajidakilledar779 29 дней назад +1

    Hey bro how did u made your own code

    • @AKElectroDIY
      @AKElectroDIY  29 дней назад

      I found the code from online resources and modified it according to my own needs.

  • @shajudeen4554
    @shajudeen4554 4 месяца назад +2

    Where is the link for the circuit diagram ? 👍🏼

    • @AKElectroDIY
      @AKElectroDIY  4 месяца назад +2

      Sorry brother, I haven't yet made the circuit diagram. But don't worry, here are all the connections. You can easliy make the connections by yourself.
      L293D ---> ARDUINO:-
      ENA ---> 5
      ENB ---> 6
      IN1 ---> 2
      IN2 ---> 3
      IN3 ---> 4
      IN4 ---> 7
      RECEIVER ---> ARDUINO:-
      CH1 ---> A0
      CH2 ---> A1
      CH3 ---> A2
      CH4 ---> A3
      CH5 ---> A4
      CH6 ---> A5
      VCC ---> VCC
      GND ---> GND

    • @shajudeen4554
      @shajudeen4554 4 месяца назад +2

      ​@@AKElectroDIY Ok, brother...

  • @Anonymous-by6qo
    @Anonymous-by6qo 3 месяца назад +1

    Can u provide me circuit diagram ??

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

      The connections are very simple
      L293D -- ARDUINO:-
      ENA --- 5
      ENB --- 6
      IN1 --- 2
      IN2 --- 3
      IN3 --- 4
      IN4 --- 7
      RECEIVER --- ARDUINO:-
      CH1 --- A0
      CH2 --- A1
      CH3 --- A2
      CH4 --- A3
      CH5 --- A4
      CH6 --- A5
      VCC --- VCC
      GND --- GND
      For now, you can just do all the wiring as mentioned. I will soon share the circuit diagram too.

  • @dronescheck3991
    @dronescheck3991 5 месяцев назад +1

    Hello do u have the light video

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

      Soon. Stay tuned!

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

      My parts have arrived my friend please do it fast or you would loose your biggest fan​@@AKElectroDIY

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

      My parts have arrived pls do fast or you will loose a fan

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

      Ok, on this Sunday

    • @dronescheck3991
      @dronescheck3991 5 месяцев назад +1

      @@AKElectroDIY please do brother

  • @pradeepgr1692
    @pradeepgr1692 5 месяцев назад +1

    the code is not opening

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

      Copy the link and paste it in a browser. It will open bit.ly/48TcUr0

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

    'setModeLED' was not declared in the scope
    exit status 1
    Why?😮
    Clear the code and upload.....

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

      You can remove that line from the program. It is useless

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

      Actually, it was a function that was declared earlier, but I removed that because it had no important use.

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

      ​@@AKElectroDIYLet me check

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

      @@AKElectroDIY let me check

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

      Ok I will upload again. Sorry for the mistake

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

    The code is not opening can you provide the code ..?

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

      Kindly copy the link and paste it in a browser. It should open then

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

      Also, if you're opening on a mobile phone then you will need a text editor application to open the code as its an arduino file

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

      @@AKElectroDIY nothing happens bro same not even working

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

      @@ravinani9198 // Arduino RC Car using Flysky Transmitter and Receiver
      // Subscribe the Channel: www.RUclips.com/@AKElectroDIY
      // Video Link: ruclips.net/video/q-Clw0m3E18/видео.html
      int enA = 5;
      int in1 = 2;
      int in2 = 3;
      int enB = 6;
      int in3 = 4;
      int in4 = 7;
      int receiver_pins[] = {A0, A1, A2, A3, A4, A5};
      int receiver_values[] = {0, 0, 0, 0, 0, 0};
      int res_min = 950;
      int res_max = 2020;
      int working_range = 255; // motor driver range
      boolean prt = true;
      int mode = 0;
      //-1 = transmitter not connected or out of range
      // 0 = transmitter connected and ready
      // 1 = slow speed mode
      // 2 = high speed mode
      void setup() {
      pinMode(enA, OUTPUT);
      pinMode(enB, OUTPUT);
      pinMode(in1, OUTPUT);
      pinMode(in2, OUTPUT);
      pinMode(in3, OUTPUT);
      pinMode(in4, OUTPUT);
      Serial.begin(115200);
      }
      void loop() {
      receive();
      int m1 = 0;
      int m2 = 0;
      int rot = receiver_values[0];
      if (mode == 1) {
      m1 = receiver_values[1] / 2 + (rot)/1.5;
      m2 = receiver_values[1] / 2 - (rot)/1.5;
      } else if (mode == 2) {
      m1 = receiver_values[1] + rot / 1.75;
      m2 = receiver_values[1] - rot / 1.75;
      }
      mpower(1, m1);
      mpower(2, m2);
      }
      int rp = 0;
      void receive() {
      receiver_values[rp] = map(pulseIn (receiver_pins[rp], HIGH), res_min, res_max, -1 * working_range, working_range);
      rp++;
      if (rp == 6){
      rp = 0;
      }
      boolean activevalues = true;
      for (int i = 0; i < 6; i++) {
      if (prt) {
      Serial.print("CH");
      Serial.print(i);
      Serial.print(" : ");
      Serial.print(receiver_values[i]);
      Serial.print(",\t");
      }
      if (receiver_values[i] < -500) {
      activevalues = false;
      }
      }
      mode = 0;
      if (!activevalues) {
      mode = -1;
      } else if (receiver_values[4] > -100) {
      mode = 2;
      } else if (receiver_values[5] > -100) {
      mode = 1;
      }
      if (prt) {
      Serial.println("");
      }
      }
      void mpower(int motor, int spd) {
      int rotation = 0;
      if (spd > 0) {
      rotation = 1;
      } else if (spd < 0) {
      rotation = -1;
      spd *= -1;
      }
      if (spd > 255) {
      spd = 255;
      }
      int pwm;
      int pA;
      int pB;
      if (motor == 1) {
      pwm = enA;
      pA = in1;
      pB = in2;
      } else if (motor == 2) {
      pwm = enB;
      pA = in3;
      pB = in4;
      } else {
      return;
      }
      if (rotation == 0) {
      digitalWrite(pA, LOW);
      digitalWrite(pB, LOW);
      } else if (rotation == 1) {
      digitalWrite(pA, HIGH);
      digitalWrite(pB, LOW);
      } else if (rotation == -1) {
      digitalWrite(pA, LOW);
      digitalWrite(pB, HIGH);
      }
      analogWrite(pwm, spd);
      }

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

      @@AKElectroDIY tq bruh

  • @DARSHAN_AGRAWAL18
    @DARSHAN_AGRAWAL18 4 месяца назад +1

    Hii bro i will connect the blutooth with same code

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

      The code will have to be a little changed then. I can also make a complete video on bluetooth car if you want.

    • @DARSHAN_AGRAWAL18
      @DARSHAN_AGRAWAL18 4 месяца назад +1

      @@AKElectroDIY send link bro

    • @DARSHAN_AGRAWAL18
      @DARSHAN_AGRAWAL18 4 месяца назад +1

      Bro mene ek robot banaya he
      Arduino Uno
      L298n
      And Bluetooth
      Ke sath lekin bich me chalna band ho jata kya issue ho sakta he

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

      Bluetooth ki connectivity ka issue ho sakta hai. Pehle ap bluetooth ki range test karo ke kitna dur tak sahi kaam karta hai.

  • @Anime_Edtz_
    @Anime_Edtz_ 5 месяцев назад +1

    bro code is not opening

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

      Copy the link and paste it in a browser. It will open bit.ly/48TcUr0

    • @Anime_Edtz_
      @Anime_Edtz_ 5 месяцев назад +1

      @@AKElectroDIY bro the link is not working

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

      Just copy it by long pressing the link, and paste it in google, chrome, etc.

    • @Anime_Edtz_
      @Anime_Edtz_ 5 месяцев назад +1

      @@AKElectroDIY nothing happens bro same not even working

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

      @@Anime_Edtz_
      Try this link drive.google.com/file/d/1_pXMvwVtUgeOv9VHgYj6TTDrA6GJCnsT/view?usp=drivesdk

  • @ninaarmy79
    @ninaarmy79 2 месяца назад +1

    Bro how can i contact u ?

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

      You can contact me on messenger or Instagram. Link in bio.