ESP8266 Pixel Contr...
 
Notifications
Clear all

ESP8266 Pixel Controller

6 Posts
4 Users
0 Reactions
3,681 Views
Posts: 116
Topic starter
(@djred2000)
Estimable Member
Joined: 13 years ago
[#40907]

The FastLED library recently added support for the ESP8266 so I did some testing and it works great at driving WS2811 pixels. Since it has WiFi built in, it can drive the pixels using E1.31. I wrote some code that receives unicast E1.31 and drives one full universe (170 pixels) and it works great! I am using the latest version of Vixen 3 for control. I know there is the ESPixelStick library which works just as well, but I like being able to use the added functionality of FastLED.

I'd be happy to post my code if anyone is interested.


5 Replies
Barnabybear
Posts: 1583
(@barnabybear)
Noble Member
Joined: 15 years ago

Hi, it would be good to see. What processor speed does it compile at?


Reply
Posts: 116
Topic starter
(@djred2000)
Estimable Member
Joined: 13 years ago

Here is the code. It can receive both unicast and multicast E1.31 data, however the data rate is much slower when using multicast. I recommend only using unicast. I am using all the default settings in the Arduino IDE when uploading to the ESP8266. I am using version 1.6.5.


Reply
ukewarrior
Posts: 4674
(@ukewarrior)
Illustrious Member
Joined: 18 years ago

How did you physically hook it up to the pixels?

djred2000 wrote:The FastLED library recently added support for the ESP8266 so I did some testing and it works great at driving WS2811 pixels. Since it has WiFi built in, it can drive the pixels using E1.31. I wrote some code that receives unicast E1.31 and drives one full universe (170 pixels) and it works great! I am using the latest version of Vixen 3 for control. I know there is the ESPixelStick library which works just as well, but I like being able to use the added functionality of FastLED.

I'd be happy to post my code if anyone is interested.


Reply
Posts: 911
(@madsci1016)
Noble Member
Joined: 12 years ago
djred2000 wrote:The FastLED library recently added support for the ESP8266 so I did some testing and it works great at driving WS2811 pixels. Since it has WiFi built in, it can drive the pixels using E1.31. I wrote some code that receives unicast E1.31 and drives one full universe (170 pixels) and it works great! I am using the latest version of Vixen 3 for control. I know there is the ESPixelStick library which works just as well, but I like being able to use the added functionality of FastLED.

I'd be happy to post my code if anyone is interested.

ESPixelStick library uses the second hardware UART to generate the WS2811 signals. This keeps the main processor free to do other things, instead of getting bogged down by bit-banging. A quick glance at FastLED leads me to believe they are still bit banging.

What features from FastLED did you like?


Reply
Page 1 / 2
Share: