Giter Site home page Giter Site logo

esp8266-wifi-setup's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.