Skip to content

ESP32 Web server for RGBW led strip control with color picker

License

Notifications You must be signed in to change notification settings

TurboKach/esp32_led_webserver

Repository files navigation

esp32_led_webserver

MicroPython ESP32 Web server for RGBW led strip control with color picker.

Hardware:

Software:

Project architecture (read MicroPython doc for more):

  • boot.py - script is executed first (if it exists)
  • main.py - main script.
  • index.html
  • functions.js
  • style.css

Step-by-step guide

  1. You might need to install CP210x USB to UART bridge driver
  2. Get the latest stable MicroPython firmware or take mine
  3. Install esptool
  4. Erase flash with esptool: esptool.py --port /dev/cu.usbserial-0001 erase_flash
  5. Deploy firmware : esptool.py --chip esp32 --port /dev/cu.usbserial-0001 write_flash -z 0x1000 esp32-idf3-20200902-v1.13.bin
  6. Load project files to the board using ampy (from project directory):
    ampy -p /dev/cu.usbserial-0001 put boot.py
    ampy -p /dev/cu.usbserial-0001 put main.py
    ampy -p /dev/cu.usbserial-0001 put index.html
    ampy -p /dev/cu.usbserial-0001 put functions.js
    ampy -p /dev/cu.usbserial-0001 put style.css
  7. Check it works by visiting ESP32 IP address
  8. TO BE CONTINUED

TODO

  1. put all other files into separate folder for easier flash writing

About

ESP32 Web server for RGBW led strip control with color picker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published