Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!
Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.
Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!
[Solved] how to get apa102 apa104 led strip with arduino SPI
(@alan)
Active Member
Joined: 11 years ago
Posts: 7
Topic starter
July 10, 2014 4:24 PM
i have some apa102 apa104 led strip ,i want to know how to get them with arduino fast SPI?
(@hans)
Famed Member Admin
Joined: 12 years ago
Posts: 2864
July 12, 2014 5:57 AM
My apologies for the late reply ...
To me it seems like the APA102 is comparable to the WS2811 type. They use the same 5050 LEDs and have the same 4 pins (GND, 5V, C0, D0), the controller chip however might be different. I have not worked with the WS2811.
The APA104 seems to be a WS2812 "clone" - with internal oscillator, works with 24 bit in sequence, etc (as suggested in this blog post).
I guess that the only way to find out, if you have them laying around, is by simply testing it with the Arduino sketch of the WS2812 project. I highly doubt you'd ruin the strips ...
Please let us know if it worked for you ...
(@hans)
Famed Member Admin
Joined: 12 years ago
Posts: 2864
July 12, 2014 6:01 AM
Forgot to add the link to the article: WS2812 with Arduino.
In the sketch you might have to experiment with this line (line 12 in the sketch):
Adafruit_NeoPixel strip = Adafruit_NeoPixel(60, PIN, NEO_GRB + NEO_KHZ800);
Unfortunately I do not have APA102 or APA104 available .... I'd be interested to see if these might be good alternatives to the WS2812.
(@alan)
Active Member
Joined: 11 years ago
Posts: 7
(@hans)
Famed Member Admin
Joined: 12 years ago
Posts: 2864