Skip to content

9SQ/esp8266-wifi-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

ESP8266 Wifi setup using SoftAP, Captive Portal and EEPROM.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages