APA102 + D1 Mini

Hi Guys,

I cant get to work an APA102 on a D1 mini.

I connected:
APA102 D0 to D4
APA102 C0 to D3

However all the led light up white and I can not change control them


Also not sure what to add in

Hardware setup

LED outputs:
Screen Shot 2021-09-26 at 8.43.57 PM|482x207

The posted image does not match the first post. Data to D4 & Clock to D3 (1st post), and Data to pin 3 & Clock to pin 2 (image).
D4 = GPIO Pin 2
D3 = GPIO Pin 0
RX = GPIO Pin 3

This link shows preferred GPIO pins for outputs and may help you resolve the problems you are having.

So… I connect:
APA102 D0 to D4
APA102 C0 to D3

and in

Hardware setup

LED outputs:
CLK: 3

Does this look correct?


That puts D0 on PIN GPIO2 and C0 on PIN GPIO 0. For the wiring you have, that would be D0 to PIN 2 and C0 to PIN 0.
Refer to the link with the images showing the GPIO # at the device designations, D#, A#, RX/TX.

1 Like

I have the same setup. The board I have says D3 and D4, but those are pins 0 and 2 to the software. Mine are working fine now: