Code Monkey home page Code Monkey logo

ledanim's Introduction

Led animation library for ESP8266

  • Has a nice webgui to select and SIMULATE led animations.
  • Create web animations in javascript in your browser and submit them to your ESP8266 that has an actual ledstrip.
  • Our goal is to create a huge library with animations.

For a demonstration look at: http://ledanim.datux.nl/

Supported ledstrips

For most SPI-controlled strips you should be fine with FastLED. However there are timing issues with serial-controlled strips like the WS2812b. In that case you should use the NeoPixelBus library. (it works excellent with the WS2812b)

NeoPixelBus uses all kind of hardware tricks (DMA, UARTS) to create smoother and faster led-updates. (but its less portable as a library)

HOWTO

1. hardware

Build something like this:

schematic

You can skip the transistor and just power your ATX supply by connecting green to ground. (or use a different 5v power supply)

2. configure software

  • install platformio-ide into Atom editor.

  • with Atom open the directory ledanim/esp8266

  • change platform.ini to match your board and port. (you can also do this via the gui)

  • edit config.h and enable the correct ledstrip config. (and FastLed/NeopixelBus stuff)

3. wifi configuration

  • create ledsim/esp8266/data/wifi.txt:
myssid
mypassword
  • Upload SPIFFS

  • Build and upload project

4. testing

  • After powerup the first 3 leds should be blinking in order r, g, b with a fade effect. Check if the rgb-order is fine and the fading is smooth.

  • Use serial monitor to see if the unit boots and connects to your wifi

  • Goto http://ipadress

  • ( You might need to refresh/reload the page a few times, the esp8266 webserver code doesnt handle parallel connections very well )

In later versions you can just use the online webbpage from github and add the ip's of your ESP8266.

ledanim's People

Contributors

psy0rz avatar

Stargazers

 avatar

Watchers

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