Controlling WS2812 from a webinterface
Posted: Sat Feb 20, 2016 11:31 am
Hello guys,
I need some help for my project from some people who are more experienced than I am. I'm completly new to the esp8266, but have worked a bit arduino. Recently I made a C# programm with an gui (with color picker etc.) that sends commands to an arduino nano over serial to control WS2812 leds, also known as neopixels.
I thought why not take a step further and create something that lets you control the leds from anywhere in local network.
What I wanna do is to create a webpage that gives the user the ability to control the leds (change color, brightness, select from pre-programmed animations like rainbow, breathing/fading colors). It would be nice if I could use something like bootstrap to make the page nice looking and responsive and therefore more user-friendly on mobile devices, but don't know if it is possible, because I wanted the interface hosted completly on the esp.
I ordered some different esp8266 modules (nodeMCU dev board v2; a bare ESP-12E and ESP-01 chip) a day ago and will take a while until they arrive here from china, so I actually haven't tinkered with it at all.
Could you point me to some things I should read up on to tackle this project? I think websockets could be useful for this.
With the arduino I used the FastLED lib to interface the leds and I know that it has esp support, has anyone used it for something similar?
Also I'm unsure if it is possible with the esp alone because I need to process user input and refresh the leds for animations at the same time and I heard that the one-wire-chipsets have some pretty strict timing requirements.
How do I serve a website created with bootstrap from the esp?
Thanks for your help
I need some help for my project from some people who are more experienced than I am. I'm completly new to the esp8266, but have worked a bit arduino. Recently I made a C# programm with an gui (with color picker etc.) that sends commands to an arduino nano over serial to control WS2812 leds, also known as neopixels.
I thought why not take a step further and create something that lets you control the leds from anywhere in local network.
What I wanna do is to create a webpage that gives the user the ability to control the leds (change color, brightness, select from pre-programmed animations like rainbow, breathing/fading colors). It would be nice if I could use something like bootstrap to make the page nice looking and responsive and therefore more user-friendly on mobile devices, but don't know if it is possible, because I wanted the interface hosted completly on the esp.
I ordered some different esp8266 modules (nodeMCU dev board v2; a bare ESP-12E and ESP-01 chip) a day ago and will take a while until they arrive here from china, so I actually haven't tinkered with it at all.
Could you point me to some things I should read up on to tackle this project? I think websockets could be useful for this.
With the arduino I used the FastLED lib to interface the leds and I know that it has esp support, has anyone used it for something similar?
Also I'm unsure if it is possible with the esp alone because I need to process user input and refresh the leds for animations at the same time and I heard that the one-wire-chipsets have some pretty strict timing requirements.
How do I serve a website created with bootstrap from the esp?
Thanks for your help