ESPNOW RC Car using ESP32| Joystick Remote Control 👌🏻

Поделиться
HTML-код
  • Опубликовано: 14 июл 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: 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:
    ✅ 2WD Car Kit amzn.to/3U8BVqK
    ✅ ESP32 module amzn.to/3zf7OZa
    ✅ L298N motor driver module amzn.to/3hfLIwJ
    ✅ 7-12 V DC Battery (in our case lipo 2s battery) amzn.to/4cxwz0Q
    ✅ Double sided tape amzn.to/3KSJdfa
    ✅ Jumper wires amzn.to/3heE3Pa
    👉 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
  • НаукаНаука

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

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

  • @elektron2kim666
    @elektron2kim666 24 дня назад +1

    Cool video. I'm pushing myself into something like that. I have a LEGO Technic setup for the first launch.

  • @frange
    @frange Год назад +2

    Good job, thanks for sharing

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

    Thanks for your good video

  • @AntonioMarcos-dj2ml
    @AntonioMarcos-dj2ml 2 года назад +2

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

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

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

    nice!

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

    thanks

  • @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  4 месяца назад

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

  • @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 8 месяцев назад +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  8 месяцев назад

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

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

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

  • @sarihardianti9903
    @sarihardianti9903 8 месяцев назад +1

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

  • @viveksharma-xi4hp
    @viveksharma-xi4hp 9 месяцев назад +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  9 месяцев назад

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

    • @viveksharma-xi4hp
      @viveksharma-xi4hp 9 месяцев назад +1

      @@hashincludeelectronics Ok, Thanks for reply!

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

  • @616lizzie
    @616lizzie 2 года назад +1

    We can do also wheelie with this car 😅

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

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

      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 . 👏🏻👍🏻

  • @user-bq5yo5bq9y
    @user-bq5yo5bq9y 6 дней назад +1

    Hi great project
    Can u make the same project but for 4 wheel drive please
    Thank you

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

      @@user-bq5yo5bq9y you can use 4wd in the same project 👍🏻👏🏻

    • @user-bq5yo5bq9y
      @user-bq5yo5bq9y 5 дней назад +1

      Can u please provide the code for it and thank you for the reply

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

      @@user-bq5yo5bq9y everything is same for 2WD and 4wd . Just connect 2 additional motors each side 👍🏻👏🏻

    • @user-bq5yo5bq9y
      @user-bq5yo5bq9y 5 дней назад +1

      Oh great thank you so much 😊😊

    • @user-bq5yo5bq9y
      @user-bq5yo5bq9y 4 дня назад +1

      Sorry I have been disturbing u from so long I have just one last question so if I want to add the a feature where I can also control the car with-my phone and with the joystick and also with the esp32 cam so should I just add the code for the surveillance car and this project code together will it work

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

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

      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 . 👍🏻👏🏻

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

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

  • @hecticaperture
    @hecticaperture 8 месяцев назад +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  8 месяцев назад

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

    • @hecticaperture
      @hecticaperture 8 месяцев назад +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  8 месяцев назад

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

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

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

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

  • @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.❤️🤝

  • @vans2842
    @vans2842 7 месяцев назад +1

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

  • @sureshrathore4987
    @sureshrathore4987 Месяц назад +1

    Sir can we use esp 8266 board instead of instead esp32

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

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

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

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

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

  • @nikovriniotis8611
    @nikovriniotis8611 3 месяца назад +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  3 месяца назад

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

  • @abhignaconscience358
    @abhignaconscience358 11 месяцев назад +1

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

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

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

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

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

    Is the rocker potentiometer 10K?

  • @MegamindCreation
    @MegamindCreation Год назад +2

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

  • @9obaino
    @9obaino Год назад +1

    Can you please make a car using funding joystick?

  • @God-empty
    @God-empty 9 месяцев назад +1

    I wonder what is the maximum possible distance for proper control

    • @hashincludeelectronics
      @hashincludeelectronics  9 месяцев назад +1

      It should go around 100ft 👍🏻👏🏻

    • @God-empty
      @God-empty 9 месяцев назад +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  9 месяцев назад +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 9 месяцев назад

      Got it

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

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

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

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

  • @Life-lz8qt
    @Life-lz8qt 6 месяцев назад +1

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

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

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

  • @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 👏🏻👍🏻

  • @widersahulu783
    @widersahulu783 6 месяцев назад +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  6 месяцев назад

      Which version of Arduino ide are you using ?

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

      @@hashincludeelectronics arduino ide new version 2.2.1

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

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

  • @N.g.Chanal
    @N.g.Chanal 7 месяцев назад +2

    please send ESPNOW and WIFI library

    • @hashincludeelectronics
      @hashincludeelectronics  7 месяцев назад +1

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

  • @user-kv6hr3yg6z
    @user-kv6hr3yg6z Месяц назад +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  Месяц назад

      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 Месяц назад +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  Месяц назад

      @@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 Месяц назад

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

  • @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 👏🏻👍🏻

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

    Can you make this on 6 or 8 channel??

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

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

  • @manoranjankumar9912
    @manoranjankumar9912 26 дней назад +1

    can i use esp 8266 instead of esp 32

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

      I have not tried it . I would suggest to use esp32 only to avoid issues 👍🏻👏🏻

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

    Can i apply same circuit for rc boat

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

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

  • @patrickjames7752
    @patrickjames7752 11 месяцев назад +1

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

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

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

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

    Bro its showing error sending data.. How to solve

  • @sarihardianti9903
    @sarihardianti9903 6 месяцев назад +1

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

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

      This is 38 pin esp32 👌🏻👏🏻

    • @sarihardianti9903
      @sarihardianti9903 6 месяцев назад +1

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

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

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

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

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

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

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

  • @N.g.Chanal
    @N.g.Chanal 7 месяцев назад +2

    can i use esp8266 same code and project ?

    • @hashincludeelectronics
      @hashincludeelectronics  7 месяцев назад +1

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

  • @user-dc8wk9kq6e
    @user-dc8wk9kq6e 7 месяцев назад +1

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

  • @techno-with-ranula
    @techno-with-ranula 4 месяца назад +1

    Can i use esp8266 nodemcu board

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

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

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

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

    Does this also work for ESP32 with 30 pins?

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

      Yes it will 👍🏻👏🏻

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

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

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

      @@fishsticks6611 which Arduino IDE are you using ?

  • @JBw.
    @JBw. 2 месяца назад +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  2 месяца назад

      Which Arduino IDE version are you using?

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

      @@hashincludeelectronics the newest one

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

      @@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. 2 месяца назад

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

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

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

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

  • @28.shubhamsuryawanshi56
    @28.shubhamsuryawanshi56 6 месяцев назад +2

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

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

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

  • @mikefreedom2013
    @mikefreedom2013 9 дней назад +1

    hola estoy tratando de replicar tu proyecto pero he tenido ciertas dificultades, no se si tu puedas ayudarme?

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

      What issue are you facing ? 👍🏻👏🏻

    • @mikefreedom2013
      @mikefreedom2013 7 дней назад +1

      @@hashincludeelectronics
      EXCUSE MY BAD ENGLISH, I DO THE THING ABOUT OBTAINING THE MAC OF THE ESP32 MODULE AND I GET A MAC AT 00:00:00:00:00

  • @sketchex2144
    @sketchex2144 8 месяцев назад +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

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

    Can one Arduino joystick control a car with four wheels

  • @suryateja4166
    @suryateja4166 26 дней назад +1

    sir,
    can i use this code for esp8266
    what librarys need to download

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

      Please use esp32 only to avoid issues 👍🏻👏🏻

    • @suryateja4166
      @suryateja4166 25 дней назад

      @@hashincludeelectronics sir I had only esp8266 modules tell me how to use

  • @PedroSilva-zo3iu
    @PedroSilva-zo3iu 8 месяцев назад +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  8 месяцев назад

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

    • @PedroSilva-zo3iu
      @PedroSilva-zo3iu 8 месяцев назад

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

    • @thanujalakmini7643
      @thanujalakmini7643 7 месяцев назад +1

      I am also getting this error i cant not fix it

    • @hashincludeelectronics
      @hashincludeelectronics  7 месяцев назад

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

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

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

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

    how about range?

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

  • @NamanPratapSingh-fo3dj
    @NamanPratapSingh-fo3dj Год назад +1

    can we use esp 8266 instead?

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

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

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

      Which Arduino IDE version are you using ?

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

      @@hashincludeelectronics old one

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

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

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

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

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

    can 30 pin esp32 be used

  • @MegamindCreation
    @MegamindCreation 10 месяцев назад +1

    Bro how to increase the range?

    • @hashincludeelectronics
      @hashincludeelectronics  10 месяцев назад +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 10 месяцев назад +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  10 месяцев назад +1

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

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

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

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

  • @SohailAhmed-ko5sr
    @SohailAhmed-ko5sr 29 дней назад +1

    I want esp8266 code bro

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

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

  • @cengizhancelik3115
    @cengizhancelik3115 Месяц назад +1

    Error sendind data, i did everything right. Pls help

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

      Which Arduino IDE version are you using ?

    • @cengizhancelik3115
      @cengizhancelik3115 Месяц назад +1

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

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

      @@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 Месяц назад +1

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

    • @hashincludeelectronics
      @hashincludeelectronics  Месяц назад +1

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

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

    I got 'error sending the data'

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

    Where can I download esp_now.h ?

  • @ashwiniprakash2773
    @ashwiniprakash2773 7 месяцев назад +1

    which bloody port

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

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

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

    Any ways to contact you

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

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

    • @skillway
      @skillway 3 месяца назад +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.

  • @TheActionGaming456
    @TheActionGaming456 6 дней назад +1

    bro its was error on reciver code its sayledcSetup want not declared in this scope C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved202468-8980-19kg884.h5mg\sketch_jul8a\sketch_jul8a.ino: In function 'void setUpPinModes()':
    C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved202468-8980-19kg884.h5mg\sketch_jul8a\sketch_jul8a.ino:161:3: error: 'ledcSetup' was not declared in this scope
    161 | ledcSetup(rightMotorPWMSpeedChannel, PWMFreq, PWMResolution);
    | ^~~~~~~~~
    C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved202468-8980-19kg884.h5mg\sketch_jul8a\sketch_jul8a.ino:163:3: error: 'ledcAttachPin' was not declared in this scope; did you mean 'ledcAttach'?
    163 | ledcAttachPin(enableRightMotor, rightMotorPWMSpeedChannel);
    | ^~~~~~~~~~~~~
    | ledcAttach
    C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved202468-8980-19kg884.h5mg\sketch_jul8a\sketch_jul8a.ino: In function 'void setup()':
    C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved202468-8980-19kg884.h5mg\sketch_jul8a\sketch_jul8a.ino:184:28: error: invalid conversion from 'void (*)(const uint8_t*, const uint8_t*, int)' {aka 'void (*)(const unsigned char*, const unsigned char*, int)'} to 'esp_now_recv_cb_t' {aka 'void (*)(const esp_now_recv_info*, const unsigned char*, int)'} [-fpermissive]
    184 | esp_now_register_recv_cb(OnDataRecv);
    | ^~~~~~~~~~
    | |
    | void (*)(const uint8_t*, const uint8_t*, int) {aka void (*)(const unsigned char*, const unsigned char*, int)}
    In file included from C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved202468-8980-19kg884.h5mg\sketch_jul8a\sketch_jul8a.ino:1:
    C:\Users\User\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-bd2b9390ef\esp32/include/esp_wifi/include/esp_now.h:157:54: note: initializing argument 1 of 'esp_err_t esp_now_register_recv_cb(esp_now_recv_cb_t)'
    157 | esp_err_t esp_now_register_recv_cb(esp_now_recv_cb_t cb);
    | ~~~~~~~~~~~~~~~~~~^~
    exit status 1
    Compilation error: 'ledcSetup' was not declared in this scope

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

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