New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LED "skipping" #702

Open
Spajker7 opened this Issue Dec 20, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@Spajker7
Copy link

Spajker7 commented Dec 20, 2018

Hi, I am using an ESP8266 with a 120 led WS2812B strip.

I made a simple sketch that looks like this

int mode0step = 0;

void loop() {
	for(int i = 0; i < NUM_LEDS; i++) {
		leds[i].red = 0;
		leds[i].green = 0;
		leds[i].blue = 0;
	}

	leds[mode0step].red = 255;
	leds[mode0step].green = 0;
	leds[mode0step].blue = 0;

	FastLED.show();

	mode0step++;

	if(mode0step >= NUM_LEDS) {
		mode0step = 0;
	}
			
	delay(100);
}

My problem is that as the led "moves" it'll randomly skip ( like the index is bad ) and then go back to the correct led.
For example, lets say that LED 5 blinks, The next LED to blink should be LED 6, but sometimes, it'll skip to a random LED on the strip, lets say LED 80, before going back to LED 7.

What could be causing this issue? Is my led strip bad?

@marcmerlin

This comment has been minimized.

Copy link
Contributor

marcmerlin commented Dec 30, 2018

typical issues

  1. bad wire (loose or too thin for how long you're going) / cross talk between the wiring (if more than 50cm let's say, you should cross signal and ground in twisted pair)
  2. low/bad voltage (you are sending 3.3V when the strip wants 5V and it works on 3.3V most of the time).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment