ESP8266 Wifi setup using SoftAP, Captive Portal and EEPROM.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 4dcb08b Jul 27, 2018
Permalink
Failed to load latest commit information.
esp8266_wifi_setup Initial commit Aug 25, 2015
LICENSE Add LICENSE May 3, 2017
README.md Update wiring information Jul 27, 2018
schematic.png Update wiring information Jul 27, 2018

README.md

esp8266-wifi-setup

ESP8266 Wifi setup using SoftAP, Captive Portal and EEPROM.

  1. booting and read Wifi config from EEPROM.
  2. if Wifi config is not found, starting SoftAP at SSID "ESP8266_SETUP".
  3. connect this Access point with your devices. (ex. iPhone, Android...)
  4. Wifi Settings page will automatically open by Captive Portal.
  5. select the SSID, enter the password.
  6. writing SSID and password to EEPROM, then reboot ESP8266 automatically.
  7. booting with STA(client) mode and get IP address from DHCP, then start web server.
  8. now you can connect from within the same LAN.

日本語の解説はブログを参照してください。

Wiring

Boot from flash memory:

  • GPIO 0 - Pulled HIGH with a 10k resistor
  • GPIO 2 - Pulled HIGH with a 10k resistor
  • GPIO 15 - Pulled LOW with a 10k resistor

schematic

If GPIO 0 pin is pulled low during power-up it will start firmware flashing mode.

See also official documents.

Demo

mobile

sample

serial monitor

sample_serial

Requirements