I got my hands on a few WS2812D and tried setting them up according to the spec sheet:
2xLEDs connected via Dout/Din with 75R in between
Regulated 5V supply with 104C between +ve and -ve
Control via Arduino UNO PWM pin (eg pin 3), 75 Ohm resistance between Arduino D3 and Din
Arduino UNO GND connected supply GND on breadboard
In terms of code I tried all FastLED library examples and NeoPixel library examples (blink, colour pallet,etc), varying LED chip definitions (WS2812, WS2812B, WS2811,..) but it doesn’t seem to make a difference: both LEDs turn bright green, drawing (capped by regulated supply) 200mA combined when Arduino D3 is not connected. When D3 is connected, first LED turns more blueish, second remains green.
Tried varying number of LEDs (1 to 3) and resistor values between D3/Din/Dout (75-220 Ohm)
First time playing with addressable LEDs. Anything I’m missing here?
You assume correctly, crude but it’s the closest I can get to 75 Ohm. I measure 73 Ohm in that configuration, but I’m not sure if this is electronically sound on a signal line..?
LED orientation seems correct according to spec sheet pin out. Did try reversing pins but doesn’t work either.
How sure are you that they are WS2812 pixels? They look so much like regular RGB LEDs.
If you compare the drawing on the data sheet to those, there seems to be a difference. The height of the WS2812 is 5.1mm. I measured a 6mm RGB LED at 8mm which is how your LEDs look.
This is the box they came in, when going to the distributor’s website you can download a zip file with all spec sheets of LEDs in the box. The one under the link above now corresponds to the one the distributor supplies. P/N is Whadda WCS101
They look very similar to common anode and common cathode LEDs, but those have been verified to be in the correct box and working as expected (ie they’re not mismatched).
Hey, I’m incredibly grateful for the engagement.
Just tried the library you suggested quickly, same result with the “Blinky” example. Might dig into it deeper to see how timings are built up and whether I can play around with them a bit.
Still not sure whether this is a controls or an electronics issue:
Current draw of 200 mA for two LEDs worries me a bit? My supply switches to CC mode at ~5.0V from a CV 12.0V starting condition (mind there’s a 12V to 5V step down to power the breadboard)
Disconnecting the Din on the first LED switches it to Green (like the second LED). Reconnecting switches it back to a more blueish tint.
Haven’t been able to visualise the UNOs output as I only have access to a RPi based oscilloscope board with a too low resolution. Just assuming the FastLED, NeoPixel and light libraries are doing their thing correctly.
So yeah, I wrote to the distributor of the LED set. They didn’t reply, just asked me my address. Today I had a small package in the mail with 5x LEDs that don’t look like the original ones but actually work as intended.. Original on the left/top, new on the right/bottom.