Skip to content

rnovacek/thunderstorm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published