Guys, I have added code for drive and steer at the same time. You can find the code under folder PS3_Car_Throttle_Steering. No change in connection diagram. Its really cool to experience drive and steer simultaneously 👍 Thanks for suggestion guys.
Hi thanks for this great video. Is it possible to connect ps5 controller with esp32? I tried to connect it to my pc and used sixaxis app but it says can't find any device. Can you help me out please?
I am glad that you are learning coding and electronics from videos 👍 However I strongly suggest that you work on these projects under the supervision of elder. Because we deal with batteries and power supplies. Happy learning !!
hey,you are doince nice work...im in final year in ECE ,Can you please make a video on how to build a drone for the final year project ...., it should be at the level considering the final year project... plzzzz
Thanks for checking out the video 👍🏻. Actually I was working on drone last year from scratch . But it needs lot of testing and efforts . So I stopped it . But may be in near future I will resume working on it . However I can not promise if I will be able to finish it soon .
Very well explained. I am going to try this and this is somethin I am going to try first time. Thanks for the easy and nice video which inspired me to start with this. I have question like other user. Can you please share code for both drive & steer at the same time? Also, I have PS4 controller. Can I connect with that? Thanks
Thanks for checking out video 👍🏻. The good news is i have created code for drive and steer and works very well (no change in connections) 🙂 I will share the code soon . As far as PS4 is concerned , I am not sure if it will work . The library says it’s for PS3 controller.
@@hashincludeelectronics Thanks for the quick response. I am watching your video for mobile control car. Also, I am checking other videos related to PS4 controller to ESP32 connection but if you find any other option then please post. Thanks!!
This is great! Do you have a video where you control a slightly bigger motors like the power wheels motor? I think they are the 550. I’m guessing the code is the same just different h bridge? I’m new at all this and I have just been copying what you have been doing and so far so good! Thank you for the education!
Thank you very much 👍🏻 no I have not used bigger motors . Yes you are right that you should use different motor driver based on power of motors. May be depending upon motor driver the code might slightly change based on how the driver needs to be signalled.
@@amonrawal2502 unfortunately I don’t have battery holder with me . You can try it yourself it’s simple . Just place batteries in holder and attach that holder to car . And then connect those +ve and -ve battery wires to car as shown in connection diagram 👍🏻
Hello everything is fine? Would you like to know the generic control you are using? Do you have a specific model. I bought several generics and none can communicate esp32. I'm using ps3controller.h. The control I bought it communicates with the cell phone without problem but not like the Esp32. I believe the data package that the control sends is not matching the library. Thank you for your attention. Thanks!
Hello sir I am not from this field but I follow as your instructions given in your video but in Port my tab shown COM3 And COM4 and if I press on it the code is not ported on the microcontroller, can you help me ?
Hi Please tell me the name of the company of PS3 console you bought. I bought one of VOYEE. Sixaxis software (windows) could not detect it. Thank you so much.
If we make a normal rc car which has one rear motor at back and one forward motor at front for steering, then can we control all it's front, back, right and left movements with a single joystick of this PS3 controller?? Please say
For some reason I use the OEM ps3 controller called double shock 3 and the device can’t be recognized by SixaxisPair Tool when the USB connected. Do you have any idea how to fix it?
@@hashincludeelectronics ok. Also can we use li-ion battery? How long can we run this car on the battery that you are using? I want to build such a car for my kid.
@@hashincludeelectronics my bad the answer to my question was already in your video it just wasn't as simple as I thought it would be because of having to write the module Mac address into the PlayStation controller. Did anyone find a way to pair different controllers without having to write code or use the PC program ?
@@rroge5 You can also avoid setting MAC address of esp32 module inside play station controller . You can just use the MAC address which is already provided by controller inside esp32 code. In any case we need to know MAC address of either device. Not sure if this is what you needed.
@@hashincludeelectronics my thinking is that if your device was sold to regular consumers I recon alot of them would be returned due to user experience being difficult... But it makes more sense if it's just your own project to do it this way. I am now thinking I wonder what happens if the module and the game console have same Mac address and are both turned on at the same time do you accidentally drive the Rc car when your trying to get victory Royale in fortnite?
Saludos hermano excelente tu proyecto. Queria preguntarte cómo sería si tuviera que modificar tu código para adaptarlo a un carro de RC un motor para el movimiento y el otro para la dirección.
Hello, thanks for your video, I have a question, do you have the frequencies of each pwm pin of the esp32? I'm using other pins and I understand that the frequency is different on each pin
It’s not true that each pin has different frequency . It is based on timer and channel . Not pins . However the frequency we have used is 1000 hz. You can change that in code as well PWMFreq variable . 👌🏻👏🏻
@@hashincludeelectronics Hello, thanks for your code, it works on my robot, when I saw the code page, I found a code with an accelerator, I uploaded it to my esp32 and it only goes forward and backward, but it does not go sideways, I am using a car with 2 wheels, but the first code worked well for me, is there something I have to change in the accelerator code if I am using 2 wheels?
Great video, is there a way to also control a relay ? I want to be able to turn on a dc motor for a 3d printed tank so i can mow my lawn. I have tried but im not as good as you at coding.
How can i adapt your new steering here to your ps4 tank setup? i made your tank ps4 controller setup but with tank steering, how can i have new steering with ps4 controller? (left stick forward and back right stick left and right) thank you
Try to use “notify” function from that steering code . 👍🏻👏🏻 you might have to just change the X and Y values in this function as per PS4 controller . Give it a try 👍🏻
I just copy pasted your ps3 motor code into the ps4 motor code and changed the proper things and it works, thank you man this is insane. It is even easy to adjust for single joystick control. Unfortunately this makes it very hard to control at very low speeds. @@hashincludeelectronics
Hello! Thank you for the video. So I have managed to connect an OEM PS3 controller with my ESP WROVER, Although I bought a second OEM PS3 controller and tred to connect it with ESP32 WROOM 32D but it doesn't connect. Any ideas why? Thank you!
I think you will have to change the library for PS4 controller. All other part of the code should be same . I did not try PS4 controller yet . You can Give it a try .
at 5:14 before you upload the code you change the port to COM12, i dont get the COM12 option only 3, 4, 5, 6, 7, 8. then when i select a differnet port and try to upload it says errror the selected port failed or your board is not connected. how do i fix this, please help
hey theres a problem in my case if you can help me, there is a error: ledcSetup in this scope not declare is there anyway to fix it? i have tried all but still cant
Can you drive and steer at the same time? I see in the video that you only do one or the other at any given time. Is there any way to combine the functions?
Thanks for checking out the video 👍🏻. Yeah actually to keep the car simple I used very basic movements . But if you need steering with variable speed I can provide the code for it . Let me know if you need one and I can add it in my git repository
@@hashincludeelectronics That would be awesome! Thank you! I'm currently planning a robot based on the Pitsco Tetrix platform, but I want to use arduino/esp controllers instead of theirs in order to save a few hundred dollars.
Yup we can control it . You can give it a shot . I have video on my channel for mecanum wheels car as well . You can play with it and share with us 👌🏻👏🏻
@@hashincludeelectronics I heard that we need to install cp201x driver for PC to recognize esp32. But I am even having problems installing it. Pls help
good day, can want to ask, is there any other way to change the mac address of may generic ps3 controller? sixaxis pair tool always prompt no device found. i already test the program in 3 other PC but with the same result.
@@hashincludeelectronics Arduino: 1.8.1 (Windows 10), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, None" D:\BABA AFRA\Project IRTC\PS3ControlledCar-main\PS3_Car_Throttle_Steering\PS3_Car_Throttle_Steering.ino:1:27: fatal error: Ps3Controller.h: No such file or directory compilation terminated. exit status 1 Error compiling for board ESP32 Dev Module. This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
@@sanjeevvyogendran6695 not much range I would say . I tried till 30-40 ft. You can get better range if you use antenna on esp32 module. You can also share your experience 👍🏻
@hashincludeelectronics some times it connects but when i put the mac address in and click update it just says " searching for devices " and say " no device found " . but i still can play games with it (wired)
Thanks for checking out the video. 👍🏻 it should show the MAC address unless there is any issue with your esp32. Try using other esp32 board if you have .
Thanks for checking out video 👍🏻. We can use esp32cam module as well. But as PS3 controller does not have screen to display video , so I did not use it . Just wanted to keep it simple to understand the car handling .
still not working! serial monitor Err: Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled. jumping text. this thing could work on esp32cam too.
Please install the esp32 board using url as shown in video. Also select proper board while uploading the video . Check video slowly and carefully for all these steps 👍🏻👏🏻
and what are you even doing there! ? you must have 2 ESP chips there - "PS3_Car" code goes to one chip, and "GetBluetootMacAddress" code to the other chip. 1 chip "PS3_Car" controls the car. 2 chip "GetBluetootMacAddress" receives the remote control signal. in the video you don't show that you have two ESP chips attached. it is not possible to put two codes on one chip. or why do you put "PS3_Car" code on the chip, if instead of this code you put "GetBluetootMacAddress" code ?? it's still goddamn nonsense what you're showing there!
Thank you very much for checking out the video 👍🏻👏🏻. There is only one esp32 module . First you need to upload the GetBluetoothMacAddress code to get the MAC address . Once that is done , upload the second code which is actual car code . So at a time there will be only one code in that esp32 module . Hope this clears the doubts 👍🏻👏🏻
@@hashincludeelectronics and it doesn't work either! SixaxisPairTool find something else to replace it - windows won't install its drivers. repeatedly Run exe Administrator - drivers does not start to install.