This is continued from Part 1.
Get the Mac address of Blue Tooth on ESP32
First, we need to get the Mac address of the ESP32’s Blue Tooth so that the PS3 controller can find the ESP32.
I have used this sitethis site as a reference. There are two points to note
- Set “Upload Speed” to 115200.
It can be set by Tool bar > Tool > “Upload Speed” - Set “Flash Size” to 16 MB(Max value of all).
It can be set by Tool bar > Tool > “Flash Size”.

Setting of “Upload Speed” and “Flash Size”.
Confirm that the Bluetooth Mac address has been successfully obtained via serial communication.

Confirmation via serial communication
Write ESP32 Mac address to PS3 controller
I will give the ESP32 Mac address to the PS3 controller with reference to this site .

ESP32 Mac address writing on PS3 controller
Check input from PS3 controller on serial monitor
Referring to this site, I confirmed that ESP32 is receiving input from the PS3 controller via serial monitor.
Please also see the following articles.
Click here for Part 1.
Click here for その 1.5 はこちら.
Click here for その③はこちら.
Click here for その④はこちら.



コメント