Neopixel (Basic) WS2812b do not work on wemos d1
Moderators: grovkillen, Stuntteam, TD-er
Neopixel (Basic) WS2812b do not work on wemos d1
Hallo,
i have a little projekt on my Wemos D1 with Firmware "ESP_Easy_mega_20201102_normal_ESP8266_4M1M". I test a neopixel stripe with 36 leds on
GPIO-13 (D7). Between the port D7 (3,3V out) and the neopixel stripe Input Din i placed a converter from 3,3V to 5V Level.
The hardware works fine and the levels are correct. i measure this with an oscilloscope.
I configure this in Devices:
Device: Output - NeoPixel (Basic) ℹ
Name: neopixel
Enabled: yes
Led Count: 36
GPIO: GPIO-13 (D7)
Strip Type: GRB
in tools > command i place the command "NeoPixelAllHSV,255,255,255" but no led has a reaction.
i measure the D7 port with the oscilloscope the d7 port and i see only a short high Impulse. That is not correct for the output!
Where is the Problem? Firmware bug? Anyone can help me ?
i have a little projekt on my Wemos D1 with Firmware "ESP_Easy_mega_20201102_normal_ESP8266_4M1M". I test a neopixel stripe with 36 leds on
GPIO-13 (D7). Between the port D7 (3,3V out) and the neopixel stripe Input Din i placed a converter from 3,3V to 5V Level.
The hardware works fine and the levels are correct. i measure this with an oscilloscope.
I configure this in Devices:
Device: Output - NeoPixel (Basic) ℹ
Name: neopixel
Enabled: yes
Led Count: 36
GPIO: GPIO-13 (D7)
Strip Type: GRB
in tools > command i place the command "NeoPixelAllHSV,255,255,255" but no led has a reaction.
i measure the D7 port with the oscilloscope the d7 port and i see only a short high Impulse. That is not correct for the output!
Where is the Problem? Firmware bug? Anyone can help me ?
Re: Neopixel (Basic) WS2812b do not work on wemos d1
Do you see anything in the logs when trying to send this command?
Re: Neopixel (Basic) WS2812b do not work on wemos d1
yes , there is only this:
12059578: P038 : NeoPixelAllHSV,255,255,255 HSV converted to RGB(W):53,0,201,0
12059578: P038 : NeoPixelAllHSV,255,255,255 HSV converted to RGB(W):53,0,201,0
Re: Neopixel (Basic) WS2812b do not work on wemos d1
Is the selection between "GRB" and "GRBW" correct? (and/or does changing this setting make any difference?
Re: Neopixel (Basic) WS2812b do not work on wemos d1
with "GRBW"
Log:
17555488: P038 : NeoPixelAllHSV,255,255,255 HSV converted to RGB(W):53,0,201,0
but on D7 no data/clock impulses only a short high impulse
there is no difference on the output D7
Log:
17555488: P038 : NeoPixelAllHSV,255,255,255 HSV converted to RGB(W):53,0,201,0
but on D7 no data/clock impulses only a short high impulse
there is no difference on the output D7
Re: Neopixel (Basic) WS2812b do not work on wemos d1
Can we have a schematic of your HW ?
Here's what I use for a project of mine (not Espeasy though), ignore the blue.
I expiremented a bit and I can tell you that not every pins of the Wemos works. Don't ask me why but it's like that. For sure D4 works I have several units running.
I power the Din of the strips through it with a 330ohm resistor in between. I also place a 1000µF capacitor between GND & VCC.
It's custom and I'm using Domoticz to swap one mode to another, the Esp does all the changes on the strips and maintain de "mood" until domoticz tells him otherwise.
I'll share this project when I'm ready but if it is what you're trying to do, I'm happy to explain.
Tested with strips, the sorotff Xmas garland & RGBW (alternate firmware). With a good PSU I was abled to drive 300 (need 600).
So TL;DR
What's the pin you use? and do you have a capacitor & no need to convert for 3.3v to 5 for DIN.
Here's what I use for a project of mine (not Espeasy though), ignore the blue.
I expiremented a bit and I can tell you that not every pins of the Wemos works. Don't ask me why but it's like that. For sure D4 works I have several units running.
I power the Din of the strips through it with a 330ohm resistor in between. I also place a 1000µF capacitor between GND & VCC.
It's custom and I'm using Domoticz to swap one mode to another, the Esp does all the changes on the strips and maintain de "mood" until domoticz tells him otherwise.
I'll share this project when I'm ready but if it is what you're trying to do, I'm happy to explain.
Tested with strips, the sorotff Xmas garland & RGBW (alternate firmware). With a good PSU I was abled to drive 300 (need 600).
So TL;DR
What's the pin you use? and do you have a capacitor & no need to convert for 3.3v to 5 for DIN.
Re: Neopixel (Basic) WS2812b do not work on wemos d1
Thank you for you information and checked this for a few minutes.
here is my schematic diagram
.
I have check following ports D4, D5, D6, on all defined Ports i have only a short high 3,3V impulse at the Wemos D1, but no Data Impulses at the D4 or D5 or D6 or D7 GPIO Ports.
My LED Din get so a short high 5V impulse, the hardware works fine but not on that firmware "ESP_Easy_mega_20201102_normal_ESP8266_4M1M" with a wemos D1 !!!
Something went wrong at the actual firmware.
here is my schematic diagram
.
I have check following ports D4, D5, D6, on all defined Ports i have only a short high 3,3V impulse at the Wemos D1, but no Data Impulses at the D4 or D5 or D6 or D7 GPIO Ports.
My LED Din get so a short high 5V impulse, the hardware works fine but not on that firmware "ESP_Easy_mega_20201102_normal_ESP8266_4M1M" with a wemos D1 !!!
Something went wrong at the actual firmware.
Re: Neopixel (Basic) WS2812b do not work on wemos d1
I just tried with my HW, configuring output as GPIO12 (D6) and it worked. (don't pay attention to the mess it's early debugging)
Here's the board I'm using (the red version you see is the strict minimum for driving the strip, connectors, 1 capa, 1 resistor. I can send you one if you want. I haven't tested de Dallas but all the rest is functionnal.
The yellow messy one you see is populated with everything but the dallas and everything works with Espeasy.
PS: forgot to mention I'm using the ESP_Easy_mega_20201102_dev_ESP8266_4M1M firmware but I really doubt that's the reason. I can check with your version tomorrow if you want.
I don't know but I'll bypass the converter and feed the led in directly from D6 after a 330 ohm resistor. Maybe 2.2k is too much for this version ? If it doesn't work like that, adding a little capacitor may help.Here's the board I'm using (the red version you see is the strict minimum for driving the strip, connectors, 1 capa, 1 resistor. I can send you one if you want. I haven't tested de Dallas but all the rest is functionnal.
The yellow messy one you see is populated with everything but the dallas and everything works with Espeasy.
PS: forgot to mention I'm using the ESP_Easy_mega_20201102_dev_ESP8266_4M1M firmware but I really doubt that's the reason. I can check with your version tomorrow if you want.
Re: Neopixel (Basic) WS2812b do not work on wemos d1
Just as a side note, the changed/updated Dallas code is included in the build I made today.
Re: Neopixel (Basic) WS2812b do not work on wemos d1
As i say, it is not a hardware problem of my or your circuit.
if i sent this Command: "NeoPixelAllHSV,255,255,255"
i have at the outputs, which i before define, only this signal measuring with an oscilloscope it looks like that:
------------
| |
| |
____________| |___________________________________________
but that is not correct!!!!!
The data signal must be look like that:
------------ ------------ ------------ ------------
| | | | | | | |
| | | | | | | |
____________| |_______| |_ __| |___________| |_ ........
so if you have a firmware before, it would may be declare your working project.
if i sent this Command: "NeoPixelAllHSV,255,255,255"
i have at the outputs, which i before define, only this signal measuring with an oscilloscope it looks like that:
------------
| |
| |
____________| |___________________________________________
but that is not correct!!!!!
The data signal must be look like that:
------------ ------------ ------------ ------------
| | | | | | | |
| | | | | | | |
____________| |_______| |_ __| |___________| |_ ........
so if you have a firmware before, it would may be declare your working project.
Re: Neopixel (Basic) WS2812b do not work on wemos d1
It looks like you both claim to be running the same build data, only a different set of other included plugins (normal vs. dev)
So I am really curious to what actual version is used and what exact command is given to make it work.
So I am really curious to what actual version is used and what exact command is given to make it work.
Re: Neopixel (Basic) WS2812b do not work on wemos d1
Now it works
i do not need the 3,3V to 5V Level Transistor Converter, he is not fast enough. He make from the data packet only one Impulse, which i saw at the oscilloscope yesterday.
today I take a better Osci with more MHz and then i saw the Problem.
Only a Resistor 330R or 470R works between Wemos D1 Port and the Neopixel Stripe Din, that told me "Grumpf". Thanks
So please make a notice at the neopixel Device Mask for the other people, who do work with neopixels.
Now i can make my Rules for my Project. Thanks for the help.
i do not need the 3,3V to 5V Level Transistor Converter, he is not fast enough. He make from the data packet only one Impulse, which i saw at the oscilloscope yesterday.
today I take a better Osci with more MHz and then i saw the Problem.
Only a Resistor 330R or 470R works between Wemos D1 Port and the Neopixel Stripe Din, that told me "Grumpf". Thanks
So please make a notice at the neopixel Device Mask for the other people, who do work with neopixels.
Now i can make my Rules for my Project. Thanks for the help.
Re: Neopixel (Basic) WS2812b do not work on wemos d1
Happy to help. And if you want to drive a lot of leds, don't forget the capa.
Cheers.
Cheers.
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 13 guests