/esp8266-web-server

Run a web server within a NodeMCU ESP8266

Primary LanguageC++MIT LicenseMIT

🚀 esp8266-web-server

Run a web server within a NodeMCU ESP8266

🙋‍♂️ Made by @abhijithvijayan

Donate: PayPal, Patreon

Buy Me a Coffee


demo

Station (STA) Mode

The ESP8266 that connects to an existing WiFi network (one created by your wireless router) is called Station (STA)

In STA mode ESP8266 gets IP from wireless router to which it is connected. With this IP address, it can set up a web server and deliver web pages to all connected devices under existing WiFi network.

Publishing to ESP8266 NodeMCU

  1. In your Arduino IDE, go to File > Preferences
  2. Enter https://arduino.esp8266.com/stable/package_esp8266com_index.json into the Additional Boards Manager URLs field. Then, click the OK button
  3. Open the Boards Manager. Go to Tools > Board > Boards Manager
  4. Search for ESP8266 and press install button for the ESP8266 by ESP8266 Community
  5. It should be installed after a few seconds.
  6. Choose board as NodeMCU 1.0 and set erase to ALL FLASH CONTENTS. That’s it.

Show your support

Give a ⭐️ if this project helped you!

Licence

Code released under the MIT License.