ESPNOW RC Car using ESP32| Joystick Remote Control 👌🏻

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 มิ.ย. 2024
  • In this video we are going to make RC Car using ESPNOW Protocol.
    We will use transmitter created using Analog joystick and esp32 board to send car control commands.
    Transmitter and receiver esp32 modules will communicate using ESPNOW protocol.
    Car will be controlled in 2 modes, simple movement and throttle+steering mode.
    I have explained in details each step along with code.
    👉 Please subscribe: th-cam.com/users/hashinclude...
    👉 Transmitter Components:
    ✅ ESP32 module amzn.to/34Hewbs
    ✅ Analog Joystick
    ✅ 5V DC Supply
    ✅ Breadboard amzn.to/3KH7sL6
    ✅ Double sided tape
    ✅ Jumper wires amzn.to/3I8fZVG
    👉 Receiver Components:
    ✅ 2WD Car Kit amzn.to/34F7HqJ
    ✅ ESP32 module amzn.to/34Hewbs
    ✅ L298N motor driver module amzn.to/3J98zTJ
    ✅ 7-12 V battery (in our case lipo 2s battery) amzn.to/3q4SjLN
    ✅ Double sided tape
    ✅ Jumper wires amzn.to/3I8fZVG
    👉 Shorts Channel :
    / ujwalnandanwar
    👉 Code and diagram:
    github.com/un0038998/ESPNOW_Car
    👉 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
    00:56 Transmitter Components
    01:16 Transmitter Connections
    01:52 Transmitter Code Explanation
    03:40 Receiver Components
    04:06 Car Assembly
    05:00 Receiver Connections
    06:13 Receiver Code Explanation
    08:24 Demo
    09:38 Important Points
    #esp32 #espnow #hashincludeelectronics
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Great tutorial as always Sir. I got it working without much effort. I made a mistake in ordering the ESP32 with 30 pins instead of 38. The 30 pin is not breadboard friendly, so I had to get 2 new boards with 38 pins. It was worth it! Thanks!

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

      This is awesome news 👏🏻. Nicely done ✅ . It’s always good to get the exact components shown in video because those are well tested as per need and it reduces the chances of errors. 👍🏻

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

    Très belle présentation....Merci beaucoup.

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

    Good job, thanks for sharing

  • @sarihardianti9903
    @sarihardianti9903 7 หลายเดือนก่อน +1

    Min, I want to ask about the coding for analog and which car

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

    Thanks for your good video

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

    Thanks for the video. I have one comment and one question. On the connection table you are connecting the 5V of joystick to 3.3V of Esp32. Is that correct? Also, are you connecting the pins of joystick to analog pins or digital pins? Thanks in advance!

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

      Yes everything is correct and working 👍🏻 Joystick is connected to esp32 pins which can act as analog pins as well .

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

    Nice video, you just got yourself a new follower.
    And please, are the esp32 the same thing or different

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

      Thank you for checking out the video and following 👍🏻 I did not get your question . Could you please elaborate ?

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

      You put there esp32 transmitter and receiver, I don't know if they are two different circuits or they are the same.

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

      @@florenceede2397 those are same esp32 module .

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

      @@hashincludeelectronics Thanks a bunch 👍😁. Please one more question. Can the Arduino joystick control a car with four wheels

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

      @@florenceede2397 just saw this message . Yes it can control 4 wheels car as well 👍🏻👏🏻

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

    Nice
    Just a query
    Program for three Wheeler will be same as that of 4 Wheeler
    Both motor of one side connected together in same port of motor driver

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

    Could you demonstrate a version of this that uses two control sticks & dual throttle? I like the throttle mode, but the turning isn't very sharp, because one wheel is stationary, when turning. In the other mode, you don't have control over the speed. Two sticks would allow for more versatile control. Also, could you demonstrate using the joystick button to turn on an LED lamp? I like the video. Thank you.

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

      You can refer my other videos for this set up 👍🏻👌🏻

    • @hecticaperture
      @hecticaperture 6 หลายเดือนก่อน +1

      @@hashincludeelectronics what other video? the only other video i see with "dual joystick" for tank is ps4 controller which isnt relevant. Am i missing a video with 2 joystick espnow tank?

    • @hashincludeelectronics
      @hashincludeelectronics  6 หลายเดือนก่อน

      @@hecticaperture there is a video of transmitter receiver using ESPNOW and 2 joystick . You can refer that and see if that’s useful. 👍🏻👏🏻

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

    I really love your videos

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

      I would like to know if I can get the link for the esp 32 from AliExpress because I found different types and don't know right one to buy

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

      Thank you very much 👍🏻

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

      Yeah you can buy from Amazon. It’s not that costly . Check for esp32 38 pins

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

      The problem is that amazon don't ship products to my locality. When the product arrives, I still have to way-bill it

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

      @@9obaino oh ok . Then you can check for esp32 38 pin module on any available website .

  • @AntonioMarcos-dj2ml
    @AntonioMarcos-dj2ml 2 ปีที่แล้ว +2

    Sou do Brasil e curto muitos seus vídeos, parabéns!

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

    Hey, buddy. I have a question, I hope you can solve it. My problem is that we did all the connection well and the programming well but apparently we did not connect the esp32 receiver to the wifi of the transmitter and that is why it does not work. Will you know how to connect the two esp? or at least how to see if communication is being effective?

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

      Yes please

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

      If you know how to use serial monitor then try to connect receiver to laptop and open serial monitor . You can see values received and printed on monitor screen .

  • @embeddedmicrocontroller
    @embeddedmicrocontroller 4 หลายเดือนก่อน +1

    thanks

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

    nice!

  • @antonioriley6310
    @antonioriley6310 7 หลายเดือนก่อน +1

    I got a question, I was wondering if there anyway to add led light to the car for example, when the car go forward the led turn green, but when the car go back, the led turn red, if so what the code to add to this

    • @hashincludeelectronics
      @hashincludeelectronics  7 หลายเดือนก่อน

      Yes it can be easily added . You can add the code inside rotate motor function where we move the car forward , turn on the green LED . Else if moving backward turn on the red led . 👏🏻👍🏻

  • @viveksharma-xi4hp
    @viveksharma-xi4hp 7 หลายเดือนก่อน +1

    Nice Projects!
    I am using mx1508 Motor driver, which does not have en pins, so can you suggest changes required in the code, I also want speed control means I want control the motor with PWM signal.

    • @hashincludeelectronics
      @hashincludeelectronics  7 หลายเดือนก่อน

      Unfortunately I am not sure about this driver . You can use L298N driver and use PWM with it 👍🏻👏🏻

    • @viveksharma-xi4hp
      @viveksharma-xi4hp 7 หลายเดือนก่อน +1

      @@hashincludeelectronics Ok, Thanks for reply!

  • @hecticaperture
    @hecticaperture 6 หลายเดือนก่อน +1

    Every worked great except when i try to reverse only one wheel reverses. i tried different ESP 32, different drivers and different motors. all same behaviour. any ideas or pointers in the right direction? the only changes i did to the code was the mac address on the transmitter. im on 1.0.6 as is your video

    • @hashincludeelectronics
      @hashincludeelectronics  6 หลายเดือนก่อน

      Check the polarity of wires of your motor and driver . 👏🏻👍🏻

    • @hecticaperture
      @hecticaperture 6 หลายเดือนก่อน +1

      @@hashincludeelectronics WHat?!?! did you read my question? Does not seem like it.
      OVIOUSLY if the car goes in all oterh directions correctly, how is the polarity relevant?
      These answers make me think that this might be your own content nor designs and you might not be too knowledgeable.
      Completely understandable; where can i find original author to ask proper questions?
      EDIT: just tested it with different esp and l298n and same behavior. whos author of code so i can ask them proper questions?

    • @hashincludeelectronics
      @hashincludeelectronics  6 หลายเดือนก่อน

      @@hecticaperture I might not have understood your question properly. But I would suggest to follow the exact steps in video and your project will work. 👍🏻👏🏻. I have taken good care while making this project and write a code for it . So please spend some more time on video and you will understand where can be the mistake . Good luck 👍🏻 .

    • @hecticaperture
      @hecticaperture 6 หลายเดือนก่อน +1

      @@hashincludeelectronics Oh Ok, so how can I fix copy paste? the code was untuched, the pins are identical. How can there be a mistake if this is an exact copy?

    • @hashincludeelectronics
      @hashincludeelectronics  6 หลายเดือนก่อน

      @@hecticaperture very strange to me too . So you are saying the wheel moves in forward direction and the same does not move in reverse ? Can you try replacing that motor ?

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

    can any body explain how to use this with a L298 mini? it hasnt got enable pins on this board.

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

      Unfortunately I am not sure about mini module . Can someone please help here ?

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

      @@hashincludeelectronics hey i found out it works! great project!

  • @nikovriniotis8611
    @nikovriniotis8611 2 หลายเดือนก่อน +1

    Hey, I need help with the code. I'm getting "Error sending the data" from the serial monitor. I'm using a Mac computer, 30pin esp32 with a 2.3.2 version of Arduino IDE.
    I saw you mention to someone to "memset peer info variable" but I dont entirely understand what that means and where to fix that in the code. I'm new to using bluetooth for arduinos so help would greatly be appreciated.
    Also, for the receiver, I connected the pins to different inputs on the esp32:
    EnA=D14
    IN1=D27
    IN2=D26
    IN3=D25
    IN4=D33
    EnB=D32
    Would that pose as a problem?
    ALSO, how could i go about adding buttons to control a sg90? Thanks!

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

      You need to use that memset above the memcpy code . 👍🏻👏🏻

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

    Instead of using GPIO 32 and 33 for the axis, I'm trying to use GPIO 2 and GPIO 4. Transmitter doesn't read any data. Any idea?

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

      Yes that's true. ADC2 related pins does not work when wifi is used. So GPIO2 and 4 are not available for Analog read because these pins uses ADC2 channels. GPIO32 and 33 uses ADC1 channel so it works.

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

      @@hashincludeelectronics Thanks, which I had knows before making pcb's hehe

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

      @@samvanroy4921 that’s fine 😜 .you can create new PCBs and good thing is your project will work 👍🏻

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

    How about using using NRF24l01 + module and how to get the address of receiver??

  • @vans2842
    @vans2842 5 หลายเดือนก่อน +1

    Can I also connect a powerbank as a Power-supply for the car?

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

    Hey can I use node mcu esp8266 instead of esp 32 ?

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

    Can you make same remote for turn led on and off ?

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

      Yes you can check my other video on espnow transmitter and receiver 👍🏻

  • @abhignaconscience358
    @abhignaconscience358 10 หลายเดือนก่อน +1

    can u make ps5 like game controller with esp now is it fast enough ?

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

      You can check my video on espnow transmitter receiver for reference . That will be helpful to you 👍🏻👏🏻

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

    If i use esp 8266 on receiver side, can it Will work?

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

      Thanks for checking out the video 👍🏻 I have not tried esp8266 in this project . The motor pins used in code are different and not available on esp8266. Also not sure if pwm signal function will work . You can try it and let us know if it works .

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

    Instead of using joystick can I control it with my smartphone via Wi-Fi or bluetooth?

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

      Yes you can . Please check my other car videos where I am using smartphone app .

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

    bro instead of joystick can you use a gesture/motion sensor and control the car.
    if possible please make it.

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

      You can check my video on Gesture Controlled Car. Its already there on channel.

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

      @@hashincludeelectronics yes I saw it ,it is on Arduino,can't we make using esp32(espnow).

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

      @@roofpiece5878 yes we can make it . Just need to interface the mpu6050 with esp32. I can try it later . Meanwhile you can check more on this on how to use mpu6050 with esp32👍🏻

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

      @@hashincludeelectronics ok thank you bro.❤️🤝

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

    Is the rocker potentiometer 10K?

  • @Life-lz8qt
    @Life-lz8qt 5 หลายเดือนก่อน +1

    what is the maximum distance able to connect with this remote to the car?

    • @hashincludeelectronics
      @hashincludeelectronics  5 หลายเดือนก่อน

      It is said to cover distance upto 200 ft. But I tried for 60-80 ft 👍🏻👏🏻

  • @widersahulu783
    @widersahulu783 5 หลายเดือนก่อน +2

    My drill has a problem why my car won't move. The coding was uploaded successfully and there were no errors, I followed the video and changed the MAC but it still doesn't work

    • @hashincludeelectronics
      @hashincludeelectronics  5 หลายเดือนก่อน

      Which version of Arduino ide are you using ?

    • @widersahulu783
      @widersahulu783 5 หลายเดือนก่อน

      @@hashincludeelectronics arduino ide new version 2.2.1

    • @widersahulu783
      @widersahulu783 5 หลายเดือนก่อน

      I've followed your Instagram and sent you messages. I need guidance bro

  • @sarihardianti9903
    @sarihardianti9903 4 หลายเดือนก่อน +1

    Min, what do we do if we use the 38 pin version for the ESP?
    please help min

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

      This is 38 pin esp32 👌🏻👏🏻

    • @sarihardianti9903
      @sarihardianti9903 4 หลายเดือนก่อน +1

      oh thanks you min
      For the Liberty, what do you need to install?
      Please help min

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

      @@sarihardianti9903 I would suggest to follow the video slowly and carefully for all the steps . All the details are given in video 👍🏻👏🏻

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

      @@hashincludeelectronics If the text appears leaving hard resetting via RTS pin

  • @God-empty
    @God-empty 8 หลายเดือนก่อน +1

    I wonder what is the maximum possible distance for proper control

    • @hashincludeelectronics
      @hashincludeelectronics  8 หลายเดือนก่อน +1

      It should go around 100ft 👍🏻👏🏻

    • @God-empty
      @God-empty 8 หลายเดือนก่อน +1

      Cool! I wonder if there is any possible plan to make it up to around 100m(about 330ft) I really need this information for my high school homework. Thanks

    • @hashincludeelectronics
      @hashincludeelectronics  8 หลายเดือนก่อน +1

      @@God-empty not sure if it can reach that range . However if you need more range then you can use nrf24l01 module . You can check my videos on that 👍🏻👏🏻

    • @God-empty
      @God-empty 8 หลายเดือนก่อน

      Got it

  • @ejazmahmood9245
    @ejazmahmood9245 11 หลายเดือนก่อน

    To make this project I bought 2 esp 8266 in miss understood
    Now please make a video on esp 8266 with this project

    • @hashincludeelectronics
      @hashincludeelectronics  11 หลายเดือนก่อน

      I would suggest to buy esp32 module only to avoid any issue while making this project . These type of projects are complicated and requires sufficient time , research and testing . 👍🏻👏🏻

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

    Error sending the data...on serial monitor...and why there is STA mode in both transmitter and receiver code?

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

      Espnow protocol needs WiFi to be just on so we have put both the modules in STA mode . Is your project working ? Or you are facing any issue ?

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

    We can do also wheelie with this car 😅

  • @sureshrathore4987
    @sureshrathore4987 19 วันที่ผ่านมา +1

    Sir can we use esp 8266 board instead of instead esp32

    • @hashincludeelectronics
      @hashincludeelectronics  19 วันที่ผ่านมา

      I have not tested it with esp8266 . So I would recommend to use esp32 to not face any issue 👍🏻👏🏻

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

    thanks, how can use esp8266-01 against esp32

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

      Thanks for checking out the video 👍🏻. I have not tried this esp8266 module . I would suggest to use esp32 so that you don’t face any issue and your project works 👏🏻👍🏻

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

    Hello, where can I find the [Wifi.h] library in the program?

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

      You need to install the esp32 board as shown in video . It will automatically install WiFi library. 👍🏻

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

      @@hashincludeelectronics I have found the reason. I updated the esp32 library to the latest version. That is why the compilation failed。

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

      @@ZhaoGongZiDepcb awesome 😎

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

    Hi bro we can use esp8266 wifi module to this project ?

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

      That’s a good question . Let me check and confirm on this . 👍🏻

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

      I checked on internet and yes we can use it with esp8266 . Please make sure to use the pins for motors as per esp8266 in the code .

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

      @@hashincludeelectronics The esp8266 only has one analog pin, therefore you can't use it.

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

      @@eclecticlife That’s good observation. Yes esp8266 has only one analog input pin . 👍🏻 hence we can not use esp8266 for this project . Thanks John 👏🏻👏🏻

  • @JBw.
    @JBw. หลายเดือนก่อน +1

    Hey man i have a problem, hope can hear your response
    I'm using an ESP32 usb type C code cable, i have followed your instructions, i changed the MacAdress to suit the receiver's aswel, i don't know why it still having "Error sending the data" in the serial monitor, i have a 4-1.5v-battery case connect to the L298N and the receiver esp32, the transmitter esp connected to laptop. The connected Pins are excactly the same as yours
    Please help me, thank you.

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

      Which Arduino IDE version are you using?

    • @JBw.
      @JBw. หลายเดือนก่อน +1

      @@hashincludeelectronics the newest one

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

      @@JBw. ok in that case you need to make one change in code . You need to add memset above memcpy. Please check the comments for solution 👍🏻👏🏻

    • @JBw.
      @JBw. 28 วันที่ผ่านมา

      @@hashincludeelectronics hey bro i found out that the error came from the peer matching, the duo esp cannot match the peer, it also shows in the serial monitor "invalid peer...", however i dont know how to fix it, chat gpt said they doesnt match the wifi channel?

    • @JBw.
      @JBw. 28 วันที่ผ่านมา +1

      @@hashincludeelectronicshi, i want to inform you that i have found the bugs and the car works perfectly, i want to thank you for helping me come up with the idea of the project and help me solve the previous issues
      Much appreciate

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

    I have a problem, with the receiver, first I upload the code for the MAC ad and copy it to the transmitter,
    on the receiver then I upload the code, but I always get this boot error... at the moment I only have the card attached to the computer, no motor or pin connected
    rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    configsip: 0, SPIWP:0xee
    clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    mode:DIO, clock div:1
    load:0x3fff0030,len:1344
    load:0x40078000,len:13924
    ho 0 tail 12 room 4
    load:0x40080400,len:3600
    entry 0x400805f0

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

      Please check the video slowly and carefully for any missing step . Don’t worry it will work 👏🏻👍🏻

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

    Which is your usual communication software, can I add you?

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

      Sorry I did not understand you

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

      @@hashincludeelectronics Which country are you from?

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

      @@ZhaoGongZiDepcb I am from india 🇮🇳

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

      @@hashincludeelectronics nice to see you. Iam from China,what is your email,i have a question i want to ask you

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

      @@ZhaoGongZiDepcb un0038998@gmail.com

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

    Possible to do 2 joystick controller ?

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

      Yes its possible. You can check my other videos where I have used 2 joysticks and add the handling in this code. Or wait for sometime and you will get a video on it.

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

    Thanks for good instructional video. Two comments please. Firstly, please slow down your speech as its difficult to follow. Secondly, Chassis is pronounced "Shassy"

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

      Thank you very much for checking out the video 👍🏻. Sure will take care of it 👏🏻

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

    Is there a way to use the controller not plugged into the computer?

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

      Thanks for checking out the video 👏🏻. However we don’t connect controller to computer .

  • @PedroSilva-zo3iu
    @PedroSilva-zo3iu 7 หลายเดือนก่อน +1

    Hey man, mind for a help?
    i'm getting "error sending the data" on the controller serial. I did got the mac adress right, don't know what is happening
    Info: both esp32 are 30 pin. can't afford a 38 one now so i was wondering if there is any solution

    • @hashincludeelectronics
      @hashincludeelectronics  7 หลายเดือนก่อน

      Do you receive data at receiver ? Please check that . Sometimes we get this error but it’s fine .

    • @PedroSilva-zo3iu
      @PedroSilva-zo3iu 7 หลายเดือนก่อน

      @@hashincludeelectronics Receiver's serial is returning this:
      load:0x40080400,len:3600
      entry 0x400805f0
      E (178) psram: PSRAM ID read error: 0xffffffff

    • @thanujalakmini7643
      @thanujalakmini7643 6 หลายเดือนก่อน +1

      I am also getting this error i cant not fix it

    • @hashincludeelectronics
      @hashincludeelectronics  6 หลายเดือนก่อน

      @@thanujalakmini7643 which version of Arduino IDE are you using ?

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

      @@hashincludeelectronics I AM using esp32 and its not sending nor receiving data what do id o

  • @technicaljatt3523
    @technicaljatt3523 4 หลายเดือนก่อน +1

    Can you make this on 6 or 8 channel??

    • @hashincludeelectronics
      @hashincludeelectronics  4 หลายเดือนก่อน +1

      You can check my video on 12 channel transmitter receiver using ESPNOW for this project 👍🏻👏🏻

  • @user-kv6hr3yg6z
    @user-kv6hr3yg6z 9 วันที่ผ่านมา +1

    Hi friend, thank you for your detail guidance.
    I'm making the same thing as you. But I faced one probem that my two ESP32 aren't having communication between each other...
    Because I'm trying to make this in my school, I only have to make it by Lolin D32 which has 32pins hahahaha,,,
    The point that I found is,,,
    Because the this only have 32pins
    so each pin's functions are little different with yours. Like, Lolin D32 pin-16, pin-17 don't have communication function.
    and pin-1,pin-3 has that function.
    So my question is,,,
    If I change the pin position to 1&3 and change the pin numbers in the code, Do you think it will work properly?
    I will be glad if I can hear your opinion :)
    Thanks.

    • @hashincludeelectronics
      @hashincludeelectronics  9 วันที่ผ่านมา

      It should probably . Also which Arduino IDE version are you using ? If it’s new Arduino IDE 2 then you need to make one small change in code . You need to do memset for peerinfo structure . Please check for this on internet 👍🏻👏🏻

    • @user-kv6hr3yg6z
      @user-kv6hr3yg6z 9 วันที่ผ่านมา +1

      @@hashincludeelectronics Wowwwwww,, Thank you for your quick reply !!
      I'm using 1.0.6 hahaha
      The same version as you.
      And the memset means this code?
      " memset(&peerInfo, 0, sizeof(peerInfo)); " I found this on your comment page at here
      So you are meaning that I have to put this code above the memcpy sentence which is in the transmitter code right?
      Or are there more things that I have to change including this ? Then I will search about it more...!

    • @hashincludeelectronics
      @hashincludeelectronics  9 วันที่ผ่านมา

      @@user-kv6hr3yg6z I think it’s not needed as you are using old IDE only . Ok make the changes as per you suggested for pins in code and try 👍🏻👏🏻

    • @user-kv6hr3yg6z
      @user-kv6hr3yg6z 9 วันที่ผ่านมา

      @@hashincludeelectronics
      Got it 👍👍 I will just change the pin numbers in the code
      Thank you so much for helping me!!
      I will try that and tell you if I success 👊👊

  • @user-dc8wk9kq6e
    @user-dc8wk9kq6e 5 หลายเดือนก่อน +1

    can we use arduino board instead of esp32?????

  • @N.g.Chanal
    @N.g.Chanal 6 หลายเดือนก่อน +2

    can i use esp8266 same code and project ?

    • @hashincludeelectronics
      @hashincludeelectronics  6 หลายเดือนก่อน +1

      I have not tried with esp8266. I would recommend to use esp32 to not face any issue 👍🏻👏🏻

  • @sketchex2144
    @sketchex2144 7 หลายเดือนก่อน +1

    It is somehow not working. I followed all of the instructions correctly but it just says Error sending the data and no signal on the reciever side.
    Please help me fix this issue quickly

  • @pradyumnanimbkar8011
    @pradyumnanimbkar8011 3 หลายเดือนก่อน +1

    Can i apply same circuit for rc boat

    • @hashincludeelectronics
      @hashincludeelectronics  3 หลายเดือนก่อน

      Yes you can . It will work 👍🏻👏🏻. And nice idea 👌🏻

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

    could i use 2 esp8266 board

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

      I believe espnow works on esp8266 as well . Give it a try. You might have to change the pins as per esp8266.

  • @patrickjames7752
    @patrickjames7752 10 หลายเดือนก่อน +1

    hey so I came up with a problem where it keeps saying that it failed to add peer, please help

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

      May be the MAC address is wrong . Please check the video slowly and carefully for any missing step 👍🏻👏🏻

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

    Can you please make a car using funding joystick?

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

      What is funding joystick?

    • @9obaino
      @9obaino ปีที่แล้ว

      @@hashincludeelectronicsArduino joy stick shield

  • @fishsticks6611
    @fishsticks6611 23 วันที่ผ่านมา +1

    Does this also work for ESP32 with 30 pins?

    • @hashincludeelectronics
      @hashincludeelectronics  23 วันที่ผ่านมา

      Yes it will 👍🏻👏🏻

    • @fishsticks6611
      @fishsticks6611 23 วันที่ผ่านมา +1

      @@hashincludeelectronics the trransmitter doesnt connect to the receiver. ESPNOW: Peer interface is invalid

    • @hashincludeelectronics
      @hashincludeelectronics  23 วันที่ผ่านมา

      @@fishsticks6611 which Arduino IDE are you using ?

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

    Can one Arduino joystick control a car with four wheels

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

      Yes you can use four wheels as well in this project . Just connect right side 2 wheels together . And same for left side .

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

      Thanks a lot

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

      @@florenceede2397 no problem 👍🏻

  • @techno-with-ranula
    @techno-with-ranula 3 หลายเดือนก่อน +1

    Can i use esp8266 nodemcu board

    • @hashincludeelectronics
      @hashincludeelectronics  3 หลายเดือนก่อน

      Please use esp32 only in this project . I have not tried esp8266 . 👍🏻👏🏻

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

    I'm having an error on peer-to-peer connection can u please help me out with your code ?

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

      What error do you get?

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

      @@hashincludeelectronics in serial monitor its shows me error sending the data

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

      @@omprajapati9486 that’s fine . Check at receiver end . Connect serial monitor at receiver side and see if you receive data . Transmitter will show that error but don’t worry . We need to check at receiver end .

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

    Plz tell which port to select

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

      Please help me

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

      You need to select the port which is used for your module when you connect it . It will be shown in Arduino IDE.

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

      @@hashincludeelectronics I tried all ports it is not working brother

  • @N.g.Chanal
    @N.g.Chanal 6 หลายเดือนก่อน +2

    please send ESPNOW and WIFI library

    • @hashincludeelectronics
      @hashincludeelectronics  6 หลายเดือนก่อน +1

      You need to install esp32 board which will automatically provide these libraries 👍🏻👏🏻please check the video for this step .

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

    esp powered rc car swarm when?

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

      That is some awesome idea 💡 Thanks and I will definitely try to create this 👌🏻

  • @NamanPratapSingh-fo3dj
    @NamanPratapSingh-fo3dj ปีที่แล้ว +1

    can we use esp 8266 instead?

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

      I would suggest to use esp32 in this project to not face any issue 👍🏻👏🏻

    • @NamanPratapSingh-fo3dj
      @NamanPratapSingh-fo3dj ปีที่แล้ว

      @@hashincludeelectronics Thank you so much.🙏🙏

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

    Does anybody have a problem Peer invalid ? i have the answer... comment and LIKE here.. i will help..😉

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

      Thanks for sharing this . Yes please help if anyone face such issue 👏🏻👍🏻

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

      @@hashincludeelectronics its in the code declare the esp_now_peer_info_t peerInfo; outside the setup..

    • @KartikeySaini-lr2pt
      @KartikeySaini-lr2pt 6 หลายเดือนก่อน

      While transmitting it says message failed. Can u please explain??

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

    can 30 pin esp32 be used

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

      Yes you can use . But check the pins accordingly and make changes in code .

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

      Thanks

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

    how about range?

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

      I tested for 60-80 ft range .

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

      @@hashincludeelectronics okay, thank you.

  • @28.shubhamsuryawanshi56
    @28.shubhamsuryawanshi56 5 หลายเดือนก่อน +1

    Code is error sending data. And I am using Arduino ide 1.8.18 . Why is not working

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

      You need to memset the peer info variable . Please check for more details on comments section or on internet 👍🏻👏🏻

  • @sumeetadsul5014
    @sumeetadsul5014 2 หลายเดือนก่อน +1

    i have done exactly the project exactly as it is
    done in the video still its giving error for sending data

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

      Which Arduino IDE version are you using ?

    • @sumeetadsul5014
      @sumeetadsul5014 2 หลายเดือนก่อน +1

      @@hashincludeelectronics old one

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

      @@sumeetadsul5014 old one but which version exactly ? Also are you receding data at receiver side by any chance ?

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

      @@hashincludeelectronics 1.8.19 version and i am not recieving data on reciever side😅

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

    Bro its showing error sending data.. How to solve

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

    How far is the max?

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

      I tested around 70-80 ft . But it’s said that it can go further .

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

      @@hashincludeelectronics ok

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

      @@hashincludeelectronics I have hc05, it can be set, only when AT, after that it can't, just AT

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

      @@hashincludeelectronics please help me 😭😭😭

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

      @@KnightBear123 this project does not use hc05 module.

  • @MegamindCreation
    @MegamindCreation 8 หลายเดือนก่อน +1

    Bro how to increase the range?

    • @hashincludeelectronics
      @hashincludeelectronics  8 หลายเดือนก่อน +1

      The range of this ESPNOW protocol is limited . How much range do you need ? If you need range in km then you need to use other long range modules 👍🏻👏🏻

    • @MegamindCreation
      @MegamindCreation 8 หลายเดือนก่อน +1

      @@hashincludeelectronics how much this gives 50m? I'm just working on a prototype that's why I don't need range in km

    • @hashincludeelectronics
      @hashincludeelectronics  8 หลายเดือนก่อน +1

      @@MegamindCreation it should work . Try it 👍🏻👏🏻

    • @MegamindCreation
      @MegamindCreation 8 หลายเดือนก่อน

      @@hashincludeelectronics hey bro can use the same code with eps8266?

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

    im getting failed to add peer error how to fix

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

      Please make sure you follow all the steps in video . Check the MAC address properly 👍🏻

  • @cengizhancelik3115
    @cengizhancelik3115 18 วันที่ผ่านมา +1

    Error sendind data, i did everything right. Pls help

    • @hashincludeelectronics
      @hashincludeelectronics  18 วันที่ผ่านมา

      Which Arduino IDE version are you using ?

    • @cengizhancelik3115
      @cengizhancelik3115 17 วันที่ผ่านมา +1

      @@hashincludeelectronics latest version, do i need to change it ? 2.3.2 i think

    • @hashincludeelectronics
      @hashincludeelectronics  17 วันที่ผ่านมา

      @@cengizhancelik3115 ok . You need to make one change in code . There is something related to memset the structure . Please check the comment section or on the internet . 👏🏻👍🏻

    • @cengizhancelik3115
      @cengizhancelik3115 17 วันที่ผ่านมา +1

      @@hashincludeelectronics bro i am at beginner level, pls can you be more spesific what should i do. TY FOR YOUR ANSWERS 🙏🏻

    • @hashincludeelectronics
      @hashincludeelectronics  17 วันที่ผ่านมา +1

      @@cengizhancelik3115 ok . Please add this line above memcpy in the code .
      memset(&peerInfo, 0, sizeof(peerInfo));

  • @famouspeople8611
    @famouspeople8611 11 หลายเดือนก่อน +1

    I did all what u did but it still does not work

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

    Where can I download esp_now.h ?

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

    I got 'error sending the data'

  • @ashwiniprakash2773
    @ashwiniprakash2773 6 หลายเดือนก่อน +1

    which bloody port

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

    I FACE ISSUE
    Succes: Initialized ESP-NOW
    E (136) ESPNOW: Peer interface is invalid
    Failed to add peer
    Error sending the data
    Error sending the data

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

    🆒 Excellent video! Thanks from whole 🇵🇰. If you ignore me, you'll loose a good follower.

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

    Plz help bhai

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

      What help do you need ?

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

      @@hashincludeelectronics Bhai board pe upload hi nhi ho rha code

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

      @@dhruvmittal6151 check the steps in video for uploading code . What error do you get ? Check for that error on internet for more information. If you get error while uploading then send me that error and we will check .

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

      @@hashincludeelectronics It is not showing esp connected to upload the code

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

      @@dhruvmittal6151 try using different cable or USB port .

  • @skillway
    @skillway 2 หลายเดือนก่อน +1

    Any ways to contact you

    • @hashincludeelectronics
      @hashincludeelectronics  หลายเดือนก่อน +1

      You can send me an email . Please check the channel description for email id 👍🏻👏🏻

    • @skillway
      @skillway หลายเดือนก่อน +1

      @@hashincludeelectronics ok

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

    Hey,buddy. Can you help me? I have some problems : after flash your code for ESPNOW_Car_Transmitter :
    21:36:52.164 -> E (178) psram: PSRAM ID read error: 0xffffffff
    21:36:52.287 -> Succes: Initialized ESP-NOW
    21:36:52.287 -> E (314) ESPNOW: Peer interface is invalid
    21:36:52.287 -> Failed to add peer
    21:36:52.287 -> Error sending the data
    21:36:52.779 -> Error sending the data
    21:36:53.283 -> Error sending the data
    21:36:53.792 -> Error sending the data
    21:36:54.299 -> Error sending the data
    21:36:54.788 -> Error sending the data
    21:36:55.279 -> Error sending the data
    21:36:55.798 -> Error sending the data
    21:36:56.274 -> Error sending the data
    21:36:56.791 -> Error sending the data
    21:36:57.297 -> Error sending the data
    21:36:57.773 -> Error sending the data
    I checked everything. My board is 30 pins and the project has 38 pins, I checked the date, the pins are in order. Power : Transmitter from a laboratory power supply, receiver from two 18650 batteries. There is no connection to the receiver. The code loaded without problems and errors. What's wrong? Thanks

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

      Could you please try 38 pins ? Not sure why you are getting this error with 30 pins .

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

      @@hashincludeelectronics thanks. I buy soon.