chrismelba / lightclockwifiv2

Code to run a neopixel strip into a pretty clock
61 stars 26 forks source link

Support for APA102 (Dotstar)? #1

Open terrag42 opened 8 years ago

terrag42 commented 8 years ago

I'm excited about building this project, but I happen to have a 1 meter strip of 144/m APA102 LEDs, not Neopixels. Is there a modification I can make to the code that will let me run this type of addressable LED?

chrismelba commented 8 years ago

I don't know what specific libraries can run those LEDs on ESP8266. I imagine FastLED would be able to, but they haven't got the code working on ESP8266 arduino yet.

https://github.com/FastLED/FastLED/issues/119

If you find a compatible library for your LEDs please let me know :)

On Wed, Dec 9, 2015 at 10:26 AM, terrag42 notifications@github.com wrote:

I'm excited about building this project, but I happen to have a 1 meter strip of 144/m APA102 LEDs, not Neopixels. Is there a modification I can make to the code that will let me run this type of addressable LED?

— Reply to this email directly or view it on GitHub https://github.com/chrismelba/lightclockwifiv2/issues/1.

mager33 commented 8 years ago

FastLED works fine with the AP102 (I just gave it a try :-)

chrismelba commented 8 years ago

Awesome! Did you use the fast led build for esP8266? I've not had a chance to try it yet.

On Tuesday, 9 February 2016, Martin notifications@github.com wrote:

FastLED works fine with the AP102 (I just gave it a try :-)

— Reply to this email directly or view it on GitHub https://github.com/chrismelba/lightclockwifiv2/issues/1#issuecomment-181601536 .

mager33 commented 8 years ago

Yes, and it was totally straightforward: downloard library, place in Ardunino's lib-folder, start Arduino IDE, choose example, adjust pins, number of LEDs and chiptype -> great show! PS: some of the examples have to be adjusted slightly to accept a data pin AND a clock pin, but that is easy!

chrismelba commented 8 years ago

I'm having a lot of trouble getting the FastLED library to work. I keep getting errors saying it doesn't support extensa architecture? Have I got the wrong library?

On Tue, Feb 9, 2016 at 10:35 AM, Martin notifications@github.com wrote:

Yes, and it was totally straightforward: downloard library, place in Ardunino's lib-folder, start Arduino IDE, choose example, adjust pins, number of LEDs and chiptype -> great show! PS: some of the examples have to be adjusted slightly to accept a data pin AND a clock pin, but that is easy!

— Reply to this email directly or view it on GitHub https://github.com/chrismelba/lightclockwifiv2/issues/1#issuecomment-181624471 .

mkeyno commented 7 years ago

@chrismelba it is work now , I have same project to store image data in SPIFF and then injected to APA102 LED strip , however after couple of try I find current version of FastLED not yet supported hardware SPI for ESP and hence it is not fast as it should be , now I'm trying to find the repo that could support HW SPI for APA102 chip