ESP32 2-Channel 5V Relay Module-based device for remote control of the BC-250 atx power supply with web interface and PS5 controller support.
Key Features
Remote Power Control: Turn PC on/off via web interface or physical button PS5 Controller Integration: Use DualSense controller to power on PC with PS button WiFi Configuration: Web-based setup with network scanning MAC Address Locking: Restrict controller access to specific devices Over-the-Air Updates: Firmware updates via web interface
Installation
Before installing libraries, you need to add the ESP32_bluepad32 platform to your Arduino IDE.
Open Arduino IDE. Go to File > Preferences (or Arduino IDE > Settings on macOS). In the "Additional Boards Manager URLs" field, paste the following URL:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json ,https://raw.githubusercontent.com/ricardoquesada/esp32-arduino-lib-builder/master/bluepad32_files/package_esp32_bluepad32_index.json
Go to Tools > Board > Boards Manager. In the search bar, type "esp32_bluepad32".
install Library LittleFS (for ESP32) ArduinoJson
Web
SETUP Notes
-
WIFI AP mode is laggy, be patient. IP: http://192.168.4.1
-
https not work!
-
in setup. Lock current cotroller button, is use short time when controller is connected to esp32, be quick.
-
Testing without TPMS1 pin 9 connected causes instability.