-->
Page 1 of 1

control WS2812 LEDs connected to MCP23017 through ESP8266

PostPosted: Mon Mar 13, 2017 6:37 pm
by Payal Shah
Hi All,
I am new to ESP8266 and Arduino. I am trying to light the 8 LEDs connected to port A or MCP23017 which is connected to WeMos D1 Mini. can somebody plz help me with the code.

Re: control WS2812 LEDs connected to MCP23017 through ESP826

PostPosted: Tue Mar 14, 2017 10:38 am
by martinayotte

Re: control WS2812 LEDs connected to MCP23017 through ESP826

PostPosted: Tue Mar 14, 2017 3:09 pm
by Payal Shah
I want to connect 1 single WS2812 LED to each of the 8 pins of Port A of MCP23017. Can you please explain in detail how I can do it with adafruit/Adafruit-MCP23017-Arduino-Library

Re: control WS2812 LEDs connected to MCP23017 through ESP826

PostPosted: Wed Mar 15, 2017 9:17 am
by martinayotte
Well, unfortunately, I misread the title yesterday, I thought it was with plain LED.
For WS2812, the MCP23017 is not a good choice, because you need to bitbang 24 bits RGB into WS2812, which will be quite slow thru MCP23017 and I2C bus.

You should take a look at those :
http://www.instructables.com/id/ESP8266 ... rduino-ID/
https://github.com/kitesurfer1404/WS2812FX