How to make RC Tractor using ESP32 | Joystick remote control | espnow

Поделиться
HTML-код
  • Опубликовано: 13 июл 2024
  • In this video we are going to make RC Tractor using esp32.
    We will use transmitter created using Analog joystick and esp32 board to send tractor control commands.
    Transmitter and receiver esp32 modules will communicate using ESPNOW protocol.
    We will control the steering using servo motor.
    I have explained in details each step along with code.
    👉 Please subscribe: ruclips.net/user/hashinclude...
    👉 Transmitter Components:
    ✅ ESP32 module amzn.to/3zf7OZa
    ✅ Analog Joystick amzn.to/4eAxQ98
    ✅ 5V DC Supply amzn.to/45CnzWf
    ✅ Breadboard amzn.to/3sXgZqC
    ✅ Double sided tape amzn.to/3KSJdfa
    ✅ Jumper wires amzn.to/3heE3Pa
    👉 Receiver Components:
    ✅ Tractor amzn.to/3RCbn1M
    ✅ TT Gear Motors amzn.to/3KSBSMz
    ✅ ESP32 module amzn.to/3zf7OZa
    ✅ Servo Motor amzn.to/3zl7MPc
    ✅ L298N motor driver module amzn.to/3hfLIwJ
    ✅ 7-12 V battery (in our case lipo 2s battery) amzn.to/4cxwz0Q
    ✅ Double sided tape amzn.to/3KSJdfa
    ✅ Jumper wires amzn.to/3heE3Pa
    👉 Code and diagram:
    github.com/un0038998/ESPNOW_R...
    👉 ESP32 board URL:
    dl.espressif.com/dl/package_e...
    👉 Wi-Fi Robot Tank
    • WiFi Robot Tank | ESP3...
    👉 Elevating Car
    • Elevating WiFi Car usi...
    👉 Camera Car
    • Surveillance Car using...
    👉 Wi-Fi Car
    • Smartphone controlled ...
    👉 Hand Gesture controlled car
    • Hand Gesture Controlle...
    👉 Bluetooth car
    • How to make Bluetooth ...
    👉 Obstacle avoiding car
    • Arduino Obstacle Avoid...
    👉 Arduino RC car using nrf24l01+ module
    • Arduino RC car using N...
    👉 Watch more videos:
    / hashincludeelectronics
    👉 Follow us on Instagram:
    / hashincludeelectronics
    ⏱Chapters
    00:00 Intro
    01:04 Transmitter Components
    01:23 Transmitter Connections
    02:26 Transmitter Code Explanation
    04:32 Receiver Components
    05:03 Car Assembly
    06:37 Receiver Connections
    09:15 Receiver Code Explanation
    11:03 Demo
    13:25 Important Points
    #esp32 #espnow #rctractor #hashincludeelectronics
  • НаукаНаука

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

  • @hashincludeelectronics
    @hashincludeelectronics  27 дней назад

    Guys who needs code for SMOOTH Steering ?🙂 please let me know in the comments👍🏻👏🏻

  • @lunacryd9020
    @lunacryd9020 29 дней назад +2

    bro you are the real goat when it comes to this I was waiting for this thank you so much I love your videos you are the best for real I learned so much because of you. I learned how to edit your code i added police LED lights and brake lights to the Smartphone controlled WiFi car Mecanum wheels code from the video you posted on May 29, 2021 thank you

  • @ankushkumar6809
    @ankushkumar6809 29 дней назад +3

    1st like and comment from me ❤

  • @gamingwithprakalp
    @gamingwithprakalp 28 дней назад +1

    Nice one ❤❤❤❤

  • @shahnewajbd4623
    @shahnewajbd4623 29 дней назад +2

    Bro please make a fire fighter robot car

  • @kumardigvijaymishra5945
    @kumardigvijaymishra5945 28 дней назад +1

    Nice

    • @hashincludeelectronics
      @hashincludeelectronics  28 дней назад

      Thank you 🙏

    • @kumardigvijaymishra5945
      @kumardigvijaymishra5945 28 дней назад +1

      What extra electronics will be needed to control a big tractor?

    • @hashincludeelectronics
      @hashincludeelectronics  28 дней назад +1

      @@kumardigvijaymishra5945 glad that you are thinking in that direction . However it’s just a hobby project so we don’t consider lot of things in testing and design . For using such design for big tractor is not recommended . It needs lot of attention , things to consider , safety and many other things. 👍🏻👏🏻

  • @lunacryd9020
    @lunacryd9020 27 дней назад +1

    I’m trying to make this work with a RC car motor it’s a titan 550 how do I change the speed on the code so it will move because it’s making a sound but it’s not moving it needs more power

    • @hashincludeelectronics
      @hashincludeelectronics  27 дней назад

      The max speed is already there in code . You need to move the joystick to the extreme position . 👍🏻👏🏻

  • @AceNexy-Bhargav
    @AceNexy-Bhargav 28 дней назад +2

    Ah man! It was a tractor 🚜😅

  • @MrBoi96969
    @MrBoi96969 29 дней назад +2

    Bro I connect transmitter with Arduino ide serial monitor but it is showing message failed sent successfully plz help

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

      try this code it will work
      #include
      #include
      void readMacAddress(){
      uint8_t baseMac[6];
      esp_err_t ret = esp_wifi_get_mac(WIFI_IF_STA, baseMac);
      if (ret == ESP_OK) {
      Serial.printf("%02x:%02x:%02x:%02x:%02x:%02x
      ",
      baseMac[0], baseMac[1], baseMac[2],
      baseMac[3], baseMac[4], baseMac[5]);
      } else {
      Serial.println("Failed to read MAC address");
      }
      }
      void setup(){
      Serial.begin(115200);
      WiFi.mode(WIFI_STA);
      WiFi.STA.begin();
      Serial.print("[DEFAULT] ESP32 Board MAC Address: ");
      readMacAddress();
      }

      void loop(){
      }

    • @MrBoi96969
      @MrBoi96969 28 дней назад

      Bro plz tell me any solution

  • @lunacryd9020
    @lunacryd9020 29 дней назад +2

    im getting this error code Compilation error: 'ledcSetup' was not declared in this scope

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

      Please install lower version of esp32 board 2.0.16 👍🏻👏🏻

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

      Thanks it worked lol 😂 all the codes are on the boards now let’s get to my favorite part lol I can finally repurpose my old rc car I have at home I can’t wait to play around with the code when I’m finished lol I love electronics

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

      @@lunacryd9020 that’s awesome 🙌🏻

  • @lunacryd9020
    @lunacryd9020 29 дней назад +3

    hello hash the link to the code dos not work 404 page

  • @subhanmalik990
    @subhanmalik990 29 дней назад +2

    Range ?

  • @thinkerrobotics
    @thinkerrobotics 29 дней назад +2

    code link not working

  • @Lunacryd
    @Lunacryd 29 дней назад +2

    When you click on code and diagram it doesn’t work please fix 404 code