Page 1 of 1

NeoPixel Plugin and WS2812B strip make me mad

Posted: 08 Feb 2022, 21:38
by juju
Hello,

I used the following hardware components :
- Wemos D1 Mini ESP
- WS2812B 5meter Strip led : https://aliexpress.com/item/32793981314.html
- 1000uf condensator
- 470 Resistance

I connect the strip led to a dedicated power in 5V with the condensator
I connect the D7 pin to the "data" pin of the strip led.
screenshot.48.jpg
screenshot.48.jpg (45.24 KiB) Viewed 9593 times
And now it's fun when I send the command NeoPixel,1,255,255,0
A various number of leds switch on with some variable colours...
If i try the command NeoPixelAll,0 : sometimes colors change but never switch off.

I don't see error in logs :

Code: Select all

07891: HTTP: NeoPixel,1,0,0,0
107892: HTTP after parseTemplate: NeoPixel,1,0,0,0
107894: Command: NeoPixel
107894: NeoPixel,1,0,0,0
107895: Par1: 1 Par2: 0 Par3: 0 Par4: 0 Par5: 0
or

Code: Select all

544401: HTTP: NeoPixel,3,0,0,0
544402: HTTP after parseTemplate: NeoPixel,3,0,0,0
544404: Command: NeoPixel
544404: NeoPixel,3,0,0,0
544404: Par1: 3 Par2: 0 Par3: 0 Par4: 0 Par5: 0

Do you have any idea ?

Re: NeoPixel Plugin and WS2812B strip make me mad

Posted: 08 Feb 2022, 22:49
by Ath
- What version of ESPEasy do you have installed on your ESP?
- Did you try another GPIO pin?
- Is SPI disabled, on the Hardware page? (GPIO 13 is the MOSI, master out, slave in, pin for SPI)

Re: NeoPixel Plugin and WS2812B strip make me mad

Posted: 10 Feb 2022, 07:23
by juju
I forgot to specify that I am on vacation for a few days. :roll:
I'll make the checks soon.

Re: NeoPixel Plugin and WS2812B strip make me mad

Posted: 28 Mar 2022, 22:32
by juju
Sorry for this long vacation :)

I tried with the latest build : Build: ESP_Easy_mega_20220328_normal_ESP8266_4M1M Mar 28 2022
I try on another pin without any success.
SPI is disabled.

I do have 5V on my led strip (checked with my multimeter).
I also have have a strange behavior with WLED bin.

Maybe the problem is the led strip itself, do you know how can I check this one ?
I mean without esp board.

thanks in advance.

Re: NeoPixel Plugin and WS2812B strip make me mad

Posted: 28 Mar 2022, 23:05
by Ath
Do you use a level-converter from the GPIO pin to the LED strip? That's advised to be used, as some of these Neopixels strips don't like the somewhat low signal level of 3.3V when powered at 5V

Re: NeoPixel Plugin and WS2812B strip make me mad

Posted: 29 Mar 2022, 09:54
by chromo23

Re: NeoPixel Plugin and WS2812B strip make me mad

Posted: 30 Mar 2022, 21:55
by juju
The led strip is powered by a dedicated power supply (5V 8A)
The Wemos is powered by a 5v power also.

Re: NeoPixel Plugin and WS2812B strip make me mad

Posted: 30 Mar 2022, 21:59
by juju
Image

Re: NeoPixel Plugin and WS2812B strip make me mad

Posted: 30 Mar 2022, 22:07
by chromo23
My suggestion:
Try it without the resistor and only use the first led for testing. If this doesn´t work reliably than try the level converter as @Ath suggested or if you don´t have one but a diode than try the solution in the link i posted

Edit: and if you want to double check if there are settings messed up or anything else firmware related i recommend to try wled (https://kno.wled.ge/)..

Re: NeoPixel Plugin and WS2812B strip make me mad

Posted: 30 Mar 2022, 22:12
by Ath
The signal levels on the GPIO's is 3V3, not 5V, the link @chromo23 shared explains the reason quite well, and offers a sort-of neat trick to avoid buying a level converter.

Re: NeoPixel Plugin and WS2812B strip make me mad

Posted: 06 Apr 2022, 08:21
by juju
Hi , I tried with only 1 LED, and with a diode as you suggest without success.
I bought a new strip led. I'll update after delivery.

Thanks !

Re: NeoPixel Plugin and WS2812B strip make me mad

Posted: 06 Apr 2022, 08:46
by TD-er
Maybe also try to make sure your GPIO pin is working well using something like a multimeter.
Try to measure the voltage on that pin compared to GND and use commands like these from the command field on the tools page of the web interface:

Code: Select all

gpio,N,1
gpio,N,0
With 'N' being the GPIO pin you try to toggle.

Re: NeoPixel Plugin and WS2812B strip make me mad

Posted: 07 Apr 2022, 20:37
by juju
I received my new led strip and it works...

Re: NeoPixel Plugin and WS2812B strip make me mad

Posted: 07 Apr 2022, 22:12
by Ath
The joys of defective components :(

Good that it's solved now.