Thanks for the library. The amount of times I've used the bluetooth on the ESP is somehow less than 0 but I might have some uses for it with a controller.
The Nintendo Switch controllers use the Bluetooth HID protocol, and to get the pairing mode to work correctly, it requires you send an HID feature request packet to the controllers. The Switch Pro controller, you might have better luck with Awesome work btw! A friend just linked me to the channel. Really looking forward to seeing what else is to come :)
Awesome video! I'm just getting into microcontrollers, I'm thinking of starting with the ESP32, and after seeing the PS3 controller project I was excited. But then I saw the PS4 controller ((I'm not much of a gamer, and when I was playing, it was XBOX)) and I am pumped to get one and see if I can make it work! Thank you for your work on this project, and also keeping the code in to detect data patterns from all remotes! Admittedly, the remote I use won't be an official one, but I'm okay with that. It's going to be used for a menu system, mainly, if I get to build the project I want to build.
Thanks!! Worked perfectly with M5StickC except the x,y’s coordinates are noisy when nothing is pressed. Sensor information (accelerometers and/or gyro) is not detected. Mouse pad events and clicks are not detected.
That noisiness seems to be on the controller side as joysticks rarely rest at their perfect (0,0) position. I normally just have the code not react to the joystick unless it's >5 or
Hi Guys. There is a section saying "By query each button individually: a(), b(), x(), y(), l1(), etc..." Would someone have the rest of the buttons individual assignments?
How hard would it be to make it so R2 and L2 provide a distance sensitive (pressure sensitive) value. At the moment they return a 0 or a 1 This is an absolutely fantastic library by the way, thank you for creating it!
first of all, thanks for your great video,but i still got a problem,i already change mac adress to make it the same,using 2 method, getting adress from saved address from controller then pasted on esp32,and getting esp32 address then write to the controller,but it doesnt work for me,i already comment some line on ps4spp files like in the video,but doesnt work,when im pressing home button led just blinking then turned off,then im trying to connect my controller to pc for testing playing some games its just fine,then im trying connecting esp32 bluetooth with my android using SerialBluetooth example and its perfectly fine, i mean both device function just normal,but still didnt work when trying to pairing my controller to the esp, need help here im using used ps4 controller,probably clone, idk, but it working fine in console, and generic esp32 devkit 1
I really appreciate the work you put into this! I've recently built a rover with a water cannon that uses your library and esp32 / PS4 controller. It works great. I'd love to add an audio pass through from plugging in a headset to the PS4 and passing the audio to / from the rover with the headset. Is this possible with your library? I'm pretty fresh to coding and have watched some videos on bluetooth audio with esp32 - but.... not with a PS4. Any ideas?
I highly recommend Paul McWhorter's arduino tutorial series--I've used it extensively for help on my first arduino project, and his explanations are perfect for a beginner: ua-cam.com/play/PLGs0VKk2DiYw-L-RibttcvK-WBZm8WLEP.html
This is definitely interesting - curious though if it could work the other way - use an esp32 to send button commands to the PS4, essentially working like a DS4?
This is an error I came across several times as well and something I'm actively trying to fix. My current solution, which isn't ideal, is to keep trying to pair until it does. Eventually I always get it to work when doing this, but I wish there was a more reliable solution.
Hi... maybe I fix it... not all esp32 boards are the same ... they have different signal measurements.....for example esp32 DEVKIT V1 will not work correctly... TTGO is a best option.. I will try another esps when I get them
Hi I was wondering if anyone cam up with a solution for this. I cannot get my controller to connect. I noticed if ESP32 is off it will blink for a long time. However, when the esp32 is on it will only blink for a couple seconds then go off. Then after that the Bluetooth will blink less and less until the controller does not respond anymore. Battery is fully charged and will connect happily to my windows PC.
Is the library Arduino compatible, or it only works with a esp32? Besides, do you think I can have any luck trying to connect any third party wireless controller?
Sir, love the video on how to use the PlayStation controller to control any robot. Sir, can you make a video on youtube to make an Xbox-controlled 6-dof robotic arm car using the Xbox 360 controller and give me the circuit diagram and the code for the Xbox-controlled 6-dof robotic arm car with the Xbox 360 controller?
hola, me encanto tu video y lo quice probar con un esp32 pero a subir me aparecio un error y como soy nuevo te quice preguntar si puedes encontrar el error: /home/estudiante/Arduino/libraries/PS4-esp32-master/src/ps4_parser.c: In function 'parsePacketSensor': /home/estudiante/Arduino/libraries/PS4-esp32-master/src/ps4_parser.c:278:10: error: 'ps4Sensor' is used uninitialized in this function [-Werror=uninitialized] return ps4Sensor;
time to control a submarine with it and dive to the titanic with it
It's great seeing young people get into microcontrollers. I will try using your library to control an RC car with the DS4. Keep up the good work!
@Swim Fan What?
I'm wondering if you tried this, and how it went. Any comments?
This is one of the coolest channels I've come across! Really highlights how practical and feasible programming can be. Thanks!
Thanks for the library. The amount of times I've used the bluetooth on the ESP is somehow less than 0 but I might have some uses for it with a controller.
The Nintendo Switch controllers use the Bluetooth HID protocol, and to get the pairing mode to work correctly, it requires you send an HID feature request packet to the controllers. The Switch Pro controller, you might have better luck with
Awesome work btw! A friend just linked me to the channel. Really looking forward to seeing what else is to come :)
Awesome video! I'm just getting into microcontrollers, I'm thinking of starting with the ESP32, and after seeing the PS3 controller project I was excited. But then I saw the PS4 controller ((I'm not much of a gamer, and when I was playing, it was XBOX)) and I am pumped to get one and see if I can make it work! Thank you for your work on this project, and also keeping the code in to detect data patterns from all remotes! Admittedly, the remote I use won't be an official one, but I'm okay with that. It's going to be used for a menu system, mainly, if I get to build the project I want to build.
Okay. Doing electronic engineering, that battle bots thing looked dope
Loving the content, Dyson. Hell of a channel. Keep it up!
I am really interested to see you do more arduink projects!!!
Thanks!! Worked perfectly with M5StickC except the x,y’s coordinates are noisy when nothing is pressed. Sensor information (accelerometers and/or gyro) is not detected. Mouse pad events and clicks are not detected.
That noisiness seems to be on the controller side as joysticks rarely rest at their perfect (0,0) position. I normally just have the code not react to the joystick unless it's >5 or
I think I read somewhere that the switch controllers make sure they are connecting to a switch before fully handshaking.
Hi Guys. There is a section saying "By query each button individually: a(), b(), x(), y(), l1(), etc..."
Would someone have the rest of the buttons individual assignments?
How hard would it be to make it so R2 and L2 provide a distance sensitive (pressure sensitive) value. At the moment they return a 0 or a 1 This is an absolutely fantastic library by the way, thank you for creating it!
Did you find anything for that???
first of all, thanks for your great video,but i still got a problem,i already change mac adress to make it the same,using 2 method, getting adress from saved address from controller then pasted on esp32,and getting esp32 address then write to the controller,but it doesnt work for me,i already comment some line on ps4spp files like in the video,but doesnt work,when im pressing home button led just blinking then turned off,then im trying to connect my controller to pc for testing playing some games its just fine,then im trying connecting esp32 bluetooth with my android using SerialBluetooth example and its perfectly fine, i mean both device function just normal,but still didnt work when trying to pairing my controller to the esp, need help here
im using used ps4 controller,probably clone, idk, but it working fine in console, and generic esp32 devkit 1
I have a question, will a fake one work?
I really appreciate the work you put into this! I've recently built a rover with a water cannon that uses your library and esp32 / PS4 controller. It works great. I'd love to add an audio pass through from plugging in a headset to the PS4 and passing the audio to / from the rover with the headset. Is this possible with your library? I'm pretty fresh to coding and have watched some videos on bluetooth audio with esp32 - but.... not with a PS4. Any ideas?
May I ask how to write the codes for beginners I mean control servos or some tutorial thanks
I highly recommend Paul McWhorter's arduino tutorial series--I've used it extensively for help on my first arduino project, and his explanations are perfect for a beginner: ua-cam.com/play/PLGs0VKk2DiYw-L-RibttcvK-WBZm8WLEP.html
This is definitely interesting - curious though if it could work the other way - use an esp32 to send button commands to the PS4, essentially working like a DS4?
Is there anyway I can get in touch with you? I'm trying to use your library and it's just not working right.
Cheers!
Al principio se conectó, después dejó de reconocer mi ESP32 y ya más no se pudo conectar...
So... Is there footage of those robot battles somewhere?
Can I get the gyro data of a PS5 dualsense controller to send to ESP32?
Can you combine mouse and controller to operate a console?.
legend
Wow this was a realy cool and gread vind. I loved it.
Great job, thank you!
Any chance on fixing issue #19 for aftermarket controllers?
finally i dont feel like raj is telling me to click his grabify
Thanks man you are the bomb.
Well nice job..... But when i connect to esp32 it stay 2 second and than disconect... I am using original ps4 Sony controller...
This is an error I came across several times as well and something I'm actively trying to fix. My current solution, which isn't ideal, is to keep trying to pair until it does. Eventually I always get it to work when doing this, but I wish there was a more reliable solution.
Hi... maybe I fix it... not all esp32 boards are the same ... they have different signal measurements.....for example esp32 DEVKIT V1 will not work correctly... TTGO is a best option.. I will try another esps when I get them
Hi I was wondering if anyone cam up with a solution for this. I cannot get my controller to connect. I noticed if ESP32 is off it will blink for a long time. However, when the esp32 is on it will only blink for a couple seconds then go off. Then after that the Bluetooth will blink less and less until the controller does not respond anymore. Battery is fully charged and will connect happily to my windows PC.
6:09 I’m not buying anymore controllers for my switch just for them to break. Playstation controller in switch it is
🤣🤣🤣 facts their $10 cheaper and last way longer
Is the library Arduino compatible, or it only works with a esp32? Besides, do you think I can have any luck trying to connect any third party wireless controller?
This library is about Bluetooth. Does standard Atmega-based Arduino have Bluetooth? No, so you can't use it
Awesome!
Shouldnt the thumbnail say "Use this to control all of these" ?
I feel as if there's definitely valid reasons to use PS4 controllers on the Switch.
I was just thinking how I would use it for fighting games exclusively
Sir, love the video on how to use the PlayStation controller to control any robot. Sir, can you make a video on youtube to make an Xbox-controlled 6-dof robotic arm car using the Xbox 360 controller and give me the circuit diagram and the code for the Xbox-controlled 6-dof robotic arm car with the Xbox 360 controller?
why were you working ar 2:00 am you need to get some sleep and thats coming from a guy who never sleeps!
New sub. You’re humble as fuck dude great work
you just cannot control xbox with esp32
God dammit now I want to make something with it.
SHOW......😁🇧🇷👏👍🇧🇷👏👍
hola, me encanto tu video y lo quice probar con un esp32 pero a subir me aparecio un error y como soy nuevo te quice preguntar si puedes encontrar el error: /home/estudiante/Arduino/libraries/PS4-esp32-master/src/ps4_parser.c: In function 'parsePacketSensor':
/home/estudiante/Arduino/libraries/PS4-esp32-master/src/ps4_parser.c:278:10: error: 'ps4Sensor' is used uninitialized in this function [-Werror=uninitialized]
return ps4Sensor;