I first used ws2812b leds and they worked like a charm, but now I need 3535 format, so I have one rgb led (SK6812) linked to an arduino Due via pin 8 -> din (+ VSS/VDD)
when I plug the power (3v or 5v), the led is green, all SK3812 led I tried do the same
(I thought they were faulty so I ordered them from another seller, yet they reset on green light)
the real problem is that once I provide them data, they turn off
I use the pinout from this pdf although I found other pinouts which makes things even more confusing
Does that even compile? You use "PIN" before you define it.
With the ws2812 that did work: was that also with the Due and the same source of power?
My thoughts at this point are:
the led being green at startup could be normal and maybe cannot be prevented. But try a 10K pull-down on the Arduino pin. Perhaps the led thinks it is receiving data when the Due starts up and the pin is floating for a short time.
put a low value resistor (220~470R in series with the data line to the led
it could be that the 3.3V signals are not received correctly by the led, which is expecting 5v signals. Use a 74hc14 or 74hct14 chip as a 3.3-5V level converter. 74hc(t)14 contains 6 gates. Connect 2 of them in series to avoid inverting the signal. Power the chip with 5V and don't forget a 0.1uF bypass cap near the chip's power pins.