Coder Social home page Coder Social logo

thunderstorm's Introduction

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!

thunderstorm's People

Contributors

rnovacek avatar mnovackova 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.