Giter VIP home page Giter VIP logo

esp8266_async_webserver's Introduction

RGB LED controller

esp8266 webserver with wifimanager Async using https://github.com/alanswx/ESPAsyncWiFiManager repository

Board pin connections

here is the schematics of the board that i used

NodeMCU-ESP8266-Pinout

i used D4(GPIO2) , D3(GPIO0) , D2(GPIO4) and 3V pins for this module

  1. D4 -> red
  2. D3 -> green
  3. D2 -> blue

IMG_20231112_031204

How to use

first time that you upload the code using Arduino IDE v2.x.x
you get esp_wifi as AccessPoint(no password) then Enter 192.168.4.1
(be carefull not to use https instead of http).
whenever you use disconnect button in the page you will get an AP named esp_wifi again,
then you can enter your new credentials, after that the board restarts and connects to new wifi. note that your old credentials will be erased each time for the
WiFi.disconnect(true,true); in testasync.ino file.

Note

for finding the IP of board for the main webpage you can check your router or alternativly you can use ip neigh command in linux or
termux(android terminal emulator) for finding the IP.
(be carefull not to use https instead of http).

Optional

to prevent the board from erasing the the credentials change the
WiFi.disconnect(true,true); to
WiFi.disconnect(true,false); in the testasync.ino file.

Bugs

turning the builtin LED would turn on the the Red LED on RGB module

esp8266_async_webserver's People

Contributors

guipelder avatar

Watchers

 avatar

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.