Just a simple ESP32 script that uses the ESP32's onboard Wi-Fi to broadcast a fake network, which rickrolls unsuspecting users upon joining.
Wire the SD card module as shown in the diagram below:
Once wired, be sure to format your SD card to FAT32. Upload the video file you'd like to play upon joining and name it your-video-file.mp4
. After that, upload the SD card version of the sketch to your ESP32 and insert the SD card into the reader.
For the non-SD card version, you’ll need to flash a shortened audio-only file to the ESP32 using SPIFFS and name it your-audio-file.mp4
. Then, upload the non-SD card version of the sketch to the ESP32.