Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

17 Commits

Folders and files

Repository files navigation

Thunderstorm with LED diodes and ESP8266

This repository contains source code for a little project to create a thunderstorm using cotton wool clouds, LED strip and ESP8266 microcontroller.

Installation

  1. create config.py with following structure
USE_AP = False  # set to True to connect to external network, default AP from ESP will be used if False
SSID = ''  # SSID of network you want to connect to
PASSWORD = ''  # Password of the network
NEOPIXEL_PIN = 5  # pin of ESP where is the NeoPixel strip connected
NEOPIXEL_COUNT = 30  # number of LEDs on the NeoPixel strip
  1. install requirements (you may want to use virtualenv), specifically you'll need mpfshell command
pip3 install -r requirements.txt
  1. connect ESP8266, download and install MicroPython to it (if you don't have it already)

  2. check ESP8266 port and if it's different from /dev/ttyUSB0, change it in upload.mpf file

  3. upload files to ESP8266 using mpfshell

mpfshell -s upload.mpf
  1. reboot the ESP

  2. connect to IP address of the ESP from your browser and select mode

  3. enjoy!

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages