I bought a light strip from AliExpress about a year ago but only tried it recently. I tried connecting it to the connections on the end of it as well as soldering to a different cut of the strip but each time the lights are output incorrectly. Sometimes even the wrong light is targeted. I have a small 3 LED strip someone gifted me that works fine, even when connected to the same circuit, both given 5v vcc, shared ground, and 330 ohm resistors.
Here are some code examples and outputs:
I have the instance variable Adafruit_NeoPixel pixels(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800);
And when I was using FASTLED my setup was:
FastLED.addLeds<SK6812, LED_PIN, GRB>(leds, NUM_LEDS);
Run1:
pixels.setPixelColor(0, pixels.Color(5,0,0));
//This outputs a red light on the first led, as expected
Run 2:
pixels.setPixelColor(0, pixels.Color(5,0,0));
pixels.setPixelColor(1, pixels.Color(0,5,0));
pixels.setPixelColor(2, pixels.Color(0,0,5));
//This outputs a red light on the first led, a white light on the first led, and no light on the second
Run 3:
pixels.setPixelColor(0, pixels.Color(5,0,0));
pixels.setPixelColor(1, pixels.Color(0,5,0));
pixels.setPixelColor(2, pixels.Color(0,0,5));
//This outputs a red light on the first led, a white light on the first led, no light on the second, and a green light on the third
Meanwhile the gifted LED always produced the expected RGB outputs. I'm unsure of the specs of the gifted LED, but the one in question has model# BTF-5V-60L-B and SKU#SK68125M60RGBCWB30
Is this a fault on my end or potentially faulty electronics I received?
Imgur: The magic of the Internet Here are images to show the circuitry and the side by sides on the runs. When I tried to post them with my post I got an error that they were too large.