Category PS4 CFW and Hacks       Thread starter PSXHAX       Start date Dec 29, 2019 at 10:45 PM       3,363       2            
Recently NURobotics shared a PS4 ESP32 project on Github that allows you to use a PlayStation 4 Controller with an ESP32 development board. :geek:

Download: PS4-esp32-master.zip / GIT

Here's more from the README.md, to quote: PS4-ESP32

Use a PS4 controller with an ESP32.

This is heavily based on the work of Jeffery Pernis to connect a PS3 controller to an esp32. You can find that here: https://github.com/jvpernis/esp32-ps3

This repo can be downloaded as a zip file and imported into the Arduino IDE as a library. The instructions on how to do this and the library for PS3 controllers can be found here: https://github.com/jvpernis/esp32-ps3/issues/3#issuecomment-517141523

Pairing the PS3 Controller:

When a PS3 controller is 'paired' to a PS4 console, it just means that it has stored the console's Bluetooth MAC address, which is the only device the controller will connect to.

Usually, this pairing happens when you connect the controller to the PS4 console using a USB cable, and press the PS button. This initiates writing the console's MAC address to the controller.

Therefore, if you want to connect your PS4 controller to the ESP32, you either need to figure out what the Bluetooth MAC address of your PS3 console is and set the ESP32's address to it, or change the MAC address stored in the PS4 controller.

Whichever path you choose, you're going to need a tool to read and/or write the currently paired MAC address from the PS4 controller. I used SixAxisPairTool for this, but you can try using SixAxisPairer as well, if open source is important to you.

If you opted to change the ESP32's MAC address, you'll need to include the ip address in the PS4.begin() function during within the setup() Arduino function like below where 03:03:03:03:03:03 is the MAC address:
Code:
void setup()
{
    Serial.begin(9600);
    PS4.begin("03:03:03:03:03:03");
    Serial.println("Ready.");
}
PS4 ESP32 Use a PlayStation 4 Controller with an ESP32 by NURobotics.jpg
 

Comments

Recent Articles
PlayStation 5 User Interface (PS5 UI) Rumored Image Leak Surfaces
An image that is rumored to be a screenshot of the current PlayStation 5 User Interface (PS5 UI) has reportedly leaked by an Anonymous game studio employee on the popular 4Chan bulletin board. 🤩...
Frost4 (PS4 Frostbite Engine) Toolkit & GNMF (BA2) Tools by SockNastre
Recently developer SockNastre made available on Github both a Frost4 Toolkit for modifying the proprietary Frostbite engine on PS4 alongside some BethesdaArchive2 GNMF tools to read / write in...
Grand Theft Auto V (GTA V) ArabicGuy Mod Menu for PS4 2020 Demo
Following the ArabicGuy v1.1 GTA V Mod Menu by @RF0oDxM0Dz and the Ghosts 1.00 SilentShadowV3 Mod Menu, PlayStation 4 scene developer @CustomHooker shared on Twitter a new Grand Theft Auto V (GTA...
PS4: The Best Place to Play Showcases Exclusives in Latest TV Spot
Sony's latest PS4 promotional TV spot titled The Best Place to Play can be seen below, and spotlights some current and upcoming PlayStation 4 exclusive games including The Last of Us: Part II...
Top