This project demonstrates how to set up a custom ESP32 Wi-Fi access point with a captive portal.
It can serve different HTML login pages (Google-style or Wi-Fi password prompt) based on user input over Serial.
- Starts an ESP32 in Access Point mode
- Custom SSID & password (or open network)
- Two portal types:
- Super Google – fake Google login page
- Super Pass – fake Wi-Fi password page
- Captures submitted form data and prints to Serial
- DNS redirection so all HTTP requests show your page
- ESP32 board
- Arduino IDE with ESP32 core installed
- Open Arduino IDE
- Install ESP32 board support (Tools → Board → Board Manager → Search "ESP32")
- Select your ESP32 board (e.g., ESP32 Dev Module)
- Copy
Super_Google.ino
into Arduino IDE - Connect ESP32 via USB
- Upload sketch
- Open Serial Monitor at
115200 baud
- When prompted:
- Enter SSID
- Enter Password (leave blank for open network)
- Enter portal type:
super google
for Google-style pagesuper pass
for Wi-Fi password page
- ESP32 will:
- Create a Wi-Fi AP with given SSID/password
- Start a captive portal redirecting all requests to the chosen page
- Any login form submissions will be printed to the Serial Monitor.