-
Notifications
You must be signed in to change notification settings - Fork 108
Controller not connecting #29
Comments
Hi @lexirobins |
Same thing is happening with me. I have changed my controllers MAC address to match the ESP32 using the sixaxispair tool to 03:03:03:03:03:03. The controller simply will not connect. #include <PS4Controller.h> void setup() { // Replace the "03:03:03:03:03:03" with the MAC address void loop() { delay(3000); |
Note that your MAC address must be UNICAST! |
I try'd everythong, Using: Nothing seems to work! I used both modes of pairing (just PS button, and PS+Share button, with all combinations to restart esp), i try'd deleteng flash (esp tools), and start over, and it didn't work. I get this on esp startup:
is there a way to print error messages or state of connectiong? i can't debug it like this. |
having the same issue.. |
having the same issue too :( Arduino : 1.8.15 Build 2021/05/31 10:33 if that can help |
maybe it is relatted to #19 ... @aramich100 : did you solve it ? |
I had this issue too but if your read carefully it's simple... The PS4 Controller and the ESP32 must have the same MAC-Adress!!! You can read your ESP32 MAC-Adress with this Programm here: ` #ifdef ESP32 void setup(){ void loop(){ } And then you have to change the MAC-Adress of your Controller to the same Adress as the ESP32. For me it works fine, hope it helps. :) |
I'm agree the ps4 gamepad has to have the MAC address of the ESP32 It works well with original gamepad, I tested it. But it doesn't work with some non official gamepad :( I bought 4 different non officiel PS4 gamepad, I changed their MAC address, only one is able to connect to ESP32 :( So this library seems to work only with some controllers. In my case, as it was to control robots, I build my own electronics with ESP32 to replace the one in the gamepad. |
I could connect my original PS4 controller with 2 ESP32 without any problems at the beginning, at some point the controller could no longer be connected with one of the two ESP, later also with the second. I almost despaired, tried everything possible, nothing helped. Then I performed Erase Flasch on the ESP, since then it works again. |
You shouldn't do this, I wonder that it worked at all. If you want the Controller-Data on both ESP's, you can connect the controller with one of them and then send the data with RFCOMM to the other ESP. |
I used my laptop to find the ps4 controller's mac address and run the demo with that. But even though it prints ready, it doesn't seem to be connecting while the controller is pairing. I have the sony controller if that matters.
The text was updated successfully, but these errors were encountered: