-->
Page 1 of 2

WS2812-wifi

PostPosted: Fri Sep 18, 2015 4:32 am
by andrew melvin
Hi,

I've finally got round to getting my sketch up on github

https://github.com/sticilface/ESP8266-wifi

some photos here too
https://github.com/sticilface/ESP8266-wifi/wiki

This is an all purpose WS2812 sketch that can do a variety of things. See the github page for specifics. It is very much work in progress, the code is a mess, probably full of lots of unconventional stuff, as i only started with C at the beginning of this year with (and I'm not a programmer)... so be kind.

I have this sketch powering 120 LEDs behind my TV using ADALIGHT, and in a lamp with the LEDs wrapped around a bar, and in my bathroom in a strip. It has a whole load of really flexible animation sequences that can make, blobs, squares, lava lamp style effects... etc... but also be set to input using DMX via E131, ADALIGHT via serial at 2,000,000 baud (the adalight is far faster than with an arduino.., there is no lag at that speed), and UDP packets.

You can program and save effects to the EEPROM, so if you get something you like you don't have to mess around. It is all controllable (mostly) via MQTT so works with home automation nicely.

give it a go...

The binaries on github are 512K which will work when flashed but the OTA will not work... so do not try it.

here is a picture of the adalight and lamp in action

Image

Re: WS2812-wifi

PostPosted: Mon Apr 04, 2016 12:46 pm
by andrew melvin
I've just released the first version of a much improved version of w2812-wifi.. It builds on all the problems I had with the first version .

1) It required sending the whole web page every time.
2) Each effect had to have ALL the parameters or variables that every other effect had.
3) Was not very modular.

This is a complete rewrite that has actually taken months. But it is a lot more stable, much fast, more flexible and addresses all the issues above, and adds more functionality like matrix support.

Take a look
https://github.com/sticilface/Melvanimate

cheers

Re: WS2812-wifi

PostPosted: Mon May 02, 2016 4:39 am
by sxreid
Looks very interesting but unfortunately I can't get it to work at all.

Initially I tried the Melvinate Example and got the error when trying to compile
Code: Select allPropertyManager.h:298:14: error: 'class IPAddress' has no member named 'fromString'


Similarly when trying to use your ESPManager Example I got a similar error
Code: Select allESPmanager.cpp:373:26: error: 'class IPAddress' has no member named 'fromString'


Any ideas?

Re: WS2812-wifi

PostPosted: Tue May 03, 2016 1:55 am
by andrew melvin
Hi.

Thanks for trying it out.

I'm suspecting your esp arduino core is out of date.

https://github.com/esp8266/Arduino/blob ... ress.h#L51

This is part of IPAddress class which is part of the core?

Which version are you using?