ESPNOW RC Car using ESP32| Joystick Remote Control 👌🏻

Поделиться
HTML-код
  • Опубликовано: 3 янв 2025

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

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

    every person in the comment were saying error and stuff but i done it in 1 try with 30 pin esp32, i just edited the code a little bit for the 30 pin one and it worked fine with no issues😃

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

      That’s awesome 👍🏻👏🏻. That’s how it should work in first attempt itself . I have taken very good care while making this entire project . If we follow exact steps then there will be no issue 👍🏻👏🏻

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

      @@hashincludeelectronics yea this is the only video i made a joystick car without any problem, last time i tried arduino nano and it was a big disaster connecting with nrf module so this time it perfectly worked with esp32, and i also thought that its the only video with esp32 in yt, i thought it would turn out as a disaster again but it worked so well and i am still using it with no issues

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

      @@ananthanayyappan9391 great 👍🏻👏🏻

  • @alexfernandesportrai
    @alexfernandesportrai 2 года назад +2

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

  • @9obaino
    @9obaino 2 года назад +1

    I really love your videos

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

      Thank you very much 👍🏻

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

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

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

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

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

    whats the button being used for ? i cant figure it out i wanna use it to contol a relay or add a button chanel for a relay how can i do this ?

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

    i make this project at 2024 the code not worked with esp32 version 3.0.5 but when i try with 1.0.6 it worked .i think that this chat will be helpful for some people

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

      Exactly . We need to install lower version of esp32 board . 2.0.16 will also work 👍🏻👏🏻

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

      Can you tell me which library you chose for esp32 since if I search for one, there are about 3 please?

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

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

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

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

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

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

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

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

    Thanks for your good video

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

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

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

      Yes please

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

      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 .

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

    Good job, thanks for sharing

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

    Can it be done with two esp32-s3? And which version of the board could work?

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

      I have not tried this module so can’t comment . However if you have those modules then give it a try 👍🏻👏🏻

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

      Is it okay if I use two 6v battery holders? Or should they be of the voltages specified in the diagrams?

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

      @@kevinfernandez9842 use total voltage 7-12 V . And make sure it’s rechargeable battery only 👍🏻👏🏻

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

      For the control I have 5v, is this okay if I use 6v for the car part?

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

      @ for car use 7-12 v 👍🏻👏🏻

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

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

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

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

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

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

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

    It will be more fun if you add 1 push button & MPU6050 module on TX to activate gyro mode.

  • @hecticaperture
    @hecticaperture Год назад +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  Год назад

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

    • @hecticaperture
      @hecticaperture Год назад +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  Год назад

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

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

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

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

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

    can i use esp8266 instead of esp32 and what will the operating range of the car.

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

      I would suggest to use only esp32 module to not face any issue 👏🏻👍🏻

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

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

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

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

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

    Bro its showing error sending data.. How to solve

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

      Which Arduino IDE version are you using ?

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

      @@hashincludeelectronics 2.3.3, how to fix this? Even i have the same issue

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

    Can you make a esp now remote with two joy stick? I will use it for a macanum wheel car

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

      @@NanonplayZ you can check my video on RC tractor using ESPNOW where I have used 2 joysticks 👍🏻👏🏻

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

      @@hashincludeelectronics thanks I didn't see it before, so now I just have to change how the code function

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

      @@NanonplayZ exactly 👍🏻

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

  • @Life-lz8qt
    @Life-lz8qt Год назад +1

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

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

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

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

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

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

      @@AliasgarLodhgar you can use 4wd in the same project 👍🏻👏🏻

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

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

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

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

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

      Oh great thank you so much 😊😊

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

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

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

    We can do also wheelie with this car 😅

  • @notprogamerz8076
    @notprogamerz8076 17 дней назад +1

    What if we use normal AA batteries instead of this Li Ion

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

      @@notprogamerz8076 please only use rechargeable battery to avoid power related issues 👍🏻👏🏻

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

    Can you please suggest software that you are asking for Circuit diagram

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

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

  • @viveksharma-xi4hp
    @viveksharma-xi4hp Год назад +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  Год назад

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

    • @viveksharma-xi4hp
      @viveksharma-xi4hp Год назад +1

      @@hashincludeelectronics Ok, Thanks for reply!

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

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

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

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

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

      This is 38 pin esp32 👌🏻👏🏻

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

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

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

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

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

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

  • @God-empty
    @God-empty Год назад +1

    I wonder what is the maximum possible distance for proper control

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

      It should go around 100ft 👍🏻👏🏻

    • @God-empty
      @God-empty Год назад +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  Год назад +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 Год назад

      Got it

  • @N.g.Chanal
    @N.g.Chanal Год назад +2

    can i use esp8266 same code and project ?

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

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

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

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

    Is the rocker potentiometer 10K?

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

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

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

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

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

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

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

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

  • @naeerartandcrafts8297
    @naeerartandcrafts8297 10 дней назад +1

    can i use a less mah battery

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

    thanks

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

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

    Can you make this on 6 or 8 channel??

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

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

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

    Sir can we use esp 8266 board instead of instead esp32

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

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

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

      Esp now is compatible with esp8266 so it should work!

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

    Does this also work for ESP32 with 30 pins?

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

      Yes it will 👍🏻👏🏻

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

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

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

      @@fishsticks6611 which Arduino IDE are you using ?

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

    nice!

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

    can i use esp 8266 instead of esp 32

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

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

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

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

  • @widersahulu783
    @widersahulu783 Год назад +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  Год назад

      Which version of Arduino ide are you using ?

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

      @@hashincludeelectronics arduino ide new version 2.2.1

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

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

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

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

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

      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 ?

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

    Plz tell which port to select

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

      Please help me

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

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

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

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

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

    Can i apply same circuit for rc boat

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

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

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

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

    can we use esp 8266 instead?

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

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

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

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

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

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

  • @KnightBear123
    @KnightBear123 2 года назад +2

    How far is the max?

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

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

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

      @@hashincludeelectronics ok

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

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

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

      @@hashincludeelectronics please help me 😭😭😭

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

      @@KnightBear123 this project does not use hc05 module.

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

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

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

      @@서유현-r1j 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 👍🏻👏🏻

    • @서유현-r1j
      @서유현-r1j 7 месяцев назад

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

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

      Which Arduino IDE version are you using?

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

      @@hashincludeelectronics the newest one

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

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

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

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

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

  • @PedroSilva-zo3iu
    @PedroSilva-zo3iu Год назад +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  Год назад

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

    • @PedroSilva-zo3iu
      @PedroSilva-zo3iu Год назад

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

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

      @thanujalakmini7643 which version of Arduino IDE are you using ?

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

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

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

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

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

      What issue are you facing ? 👍🏻👏🏻

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

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

    Hi man, is good work but now the espesif change the API from 2. to 3. in which your code not working in my esp32 and after a lot of work I got the code compiled and uploaded on my esp32 but does not work I douple checked the wiring all good but not working for the receiver shows in the serial monitor message failed, what could be the problem. i think the problem is with the API's updated can you help me if you can thank you for your good video

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

      @@ahmadmurad8126 you need to add this line in transmitter code .
      esp_now_peer_info_t peerInfo;
      memset(&peerInfo, 0, sizeof(esp_now_peer_info_t));

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

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

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

      Please use esp32 only to avoid issues 👍🏻👏🏻

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

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

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

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

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

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

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

  • @Techno-With-Ranula
    @Techno-With-Ranula 10 месяцев назад +1

    Can i use esp8266 nodemcu board

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

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

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

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

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

    Can one Arduino joystick control a car with four wheels

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

    Good Tutorial., We are doing a world-wide competition, We are using ur code but it isn't working, Can u please assist us by sending the correct code
    Thank You..If u reply

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

      That’s really good news that the code is being used for such competition👏🏻👍🏻. However what issue are you facing ? Also which version of Arduino IDE are you using ?

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

      @@hashincludeelectronics 2.3.2 , Latest Edition

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

      @@hashincludeelectronics The Code isn't sending data properly..The other espnow led activities are working

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

      ​@@CreativeDude9269 I had some issues with this code, but after moving this line: "esp_now_peer_info_t peerInfo;" out of the void setup() to just under the line with: "PacketData data;" it worked for me
      Like this:
      Line
      17 PacketData data;
      18 esp_now_peer_info_t peerInfo;

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

    can 30 pin esp32 be used

  • @9obaino
    @9obaino 2 года назад +1

    Can you please make a car using funding joystick?

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

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

    Compilation error: 'ledcSetup' was not declared in this scope, what should i do ?

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

      Please install 2.0.16 version of esp32 board 👍🏻👏🏻

    • @l-drago5434
      @l-drago5434 3 месяца назад +1

      ​@@hashincludeelectronicsmeans?

    • @l-drago5434
      @l-drago5434 3 месяца назад +1

      Same error

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

      @@l-drago5434 please check the video for the steps to install esp32 board . Select 2.0.16 version while installing in Arduino IDE . That will solve the error 👍🏻👏🏻

    • @l-drago5434
      @l-drago5434 3 месяца назад +1

      @@hashincludeelectronics solved it and the car worked😀

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

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

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

      What error do you get?

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

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

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

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

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

  • @N.g.Chanal
    @N.g.Chanal Год назад +2

    please send ESPNOW and WIFI library

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

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

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

    how about range?

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

    Bro how to increase the range?

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

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

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

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

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

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

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

      Which Arduino IDE version are you using ?

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

      @@hashincludeelectronics old one

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

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

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

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

  • @sketchex2144
    @sketchex2144 Год назад +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

  • @28.shubhamsuryawanshi56
    @28.shubhamsuryawanshi56 Год назад +2

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

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

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

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

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

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

    Error sendind data, i did everything right. Pls help

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

      Which Arduino IDE version are you using ?

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

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

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

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

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

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

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

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

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

    bro, iam running into ledcsetup problem

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

    Can we do it with esp8266

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

      Please use only esp32 board to avoid issues 👍🏻👏🏻

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

      @hashincludeelectronics but I have node MCU esp 8266

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

      And I can't buy another

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

      If possible can you try with esp8266

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

      Please

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

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

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

    Where can I download esp_now.h ?

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

    hola me sale un problema a la hora de subir el programa
    void setUpPinModes()
    {
    pinMode(enableRightMotor,OUTPUT);
    pinMode(rightMotorPin1,OUTPUT);
    pinMode(rightMotorPin2,OUTPUT);

    pinMode(enableLeftMotor,OUTPUT);
    pinMode(leftMotorPin1,OUTPUT);
    pinMode(leftMotorPin2,OUTPUT);
    //Set up PWM for motor speed
    ledcSetup(rightMotorPWMSpeedChannel, PWMFreq, PWMResolution);
    ledcSetup(leftMotorPWMSpeedChannel, PWMFreq, PWMResolution);
    ledcAttachPin(enableRightMotor, rightMotorPWMSpeedChannel);
    ledcAttachPin(enableLeftMotor, leftMotorPWMSpeedChannel);
    me dice que no esta declarado esto usando una placa esp32 wifi bluetooh de 30 pines o le puedo quitar esto o empieas a especificar para que tipo de placas utilizar esto

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

    I want esp8266 code bro

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

      I don’t have esp8266 to test so can’t provide it 👍🏻👏🏻

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

    I got 'error sending the data'

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

    which bloody port