Demo GIF
" data-cpx-injected="1"> ESP8266 Config Portal — ESP32 & ESP8266 Build | CodeProven

ESP32 & ESP8266 Connectivity · Intermediate · Config portal

ESP8266 Config Portal

The same idea on the cheapest board that can do it: an ESP8266 that configures itself from a browser.

Firmware status: Generated from this project's own pin map and compiled with arduino-cli for esp8266:esp8266:nodemcuv2 before publication; bench validation on your hardware is still required..

Hardware scope

ESP8266 access point plus station, DNS catch-all, credentials persisted by the core. Pins assigned by the generator: status led → GPIO5, button → GPIO12.

Components

  • ESP8266 board (NodeMCU v3 or Wemos D1 mini)
  • USB data cable
  • Push button
  • LED and a 220 Ω resistor

Tools

  • USB programming cable
  • Multimeter
  • Current-limited bench supply (for anything that switches a load)
  • Small screwdriver and wire cutters

Build steps

  1. Flash with WIFI_SSID empty. The board opens an access point named for the project.
  2. Join it, complete the form, and wait for the reboot message.
  3. Read the assigned address in the serial monitor and open it.
  4. Hold the button to clear the stored network if a password was mistyped.

Test and expected result

Portal appears on first boot, the board connects with the entered credentials, and the status page loads over the network.

Acceptance checks

form saves, station mode connects, status page reports rssi and uptime

Safety and limits

Only A0 is analog and it accepts 3.3 V — do not feed it 5 V. The board draws up to 300 mA briefly on transmit.

Guide source: Generated from this project's own pin map and compiled with arduino-cli for esp8266:esp8266:nodemcuv2 before publication; bench validation on your hardware is still required.

Download Arduino source code

Download connection diagram SVG

Related projects

Back to all project guides · Study the course