NeoPixel (basic) not working

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Mav63
New user
Posts: 5
Joined: 17 Feb 2019, 15:08

NeoPixel (basic) not working

#1 Post by Mav63 » 26 Dec 2022, 12:27

Merry Christmas to all.
I like to use the free time this christmas to extend my environment with some WS2812 RGB LEDs controlled by espeasy on a nodemcu board.
Unfortunately I do not get it to work. I searched for hours now... each how to looks simple... but not here :cry:
I use ESP_Easy_mega_20221224_normal_302_ESP8266_4M1M
Configuration:
Device: Output - NeoPixel (Basic)
Name: NeoPixel
GPIO: GPIO-12 (D6) - but tried with others as well

LED (just ONE Led for testing):
Power: Vin of NodeMCU
Ground: GND of NodeMCU
Din: D6 on NodeMCU -> R330 -> Din (tried with and without resistor already)

Command:

Code: Select all

NeoPixelAll,255,0,0

- also tried: NeoPixel,1,255,0,0
- also tried: NeoPixelAllHSV,255,255,255

Log-Output:

Code: Select all

ACT : NeoPixelAll,255,0,0
P038 : write - NeoPixelAll,255,0,0
Nothing happens on LED...
Tried on a Wemos D1 mini pro with Din to D4:
Booting lights up the blue LED on Wemos board AND the WS2812 as well. After firing the command the WS2812 switched off but the blue light keeps light.

I am lost....
Any help would highly appreciated!

/Mav

TD-er
Core team member
Posts: 8756
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: NeoPixel (basic) not working

#2 Post by TD-er » 26 Dec 2022, 12:50

Can you measure the actual voltage on the Vin pin (relative to GND) ?
How many LEDs do you try to connect to the Vin?
Lots of those may draw significant current.

I just googled a bit on "neopixel schematics" and noticed this warning:
Image
So double check the pin order :)

Also there are quite a few useful hints here:
https://learn.adafruit.com/adafruit-neo ... onnections
Like that you may need a level shifter for the data.

User avatar
Ath
Normal user
Posts: 3520
Joined: 10 Jun 2018, 12:06
Location: NL

Re: NeoPixel (basic) not working

#3 Post by Ath » 26 Dec 2022, 13:00

Is the Initial brightness set to a value > 0, as 0 will cause that level of brightness: 0 :shock:
/Ton (PayPal.me)

Mav63
New user
Posts: 5
Joined: 17 Feb 2019, 15:08

Re: NeoPixel (basic) not working

#4 Post by Mav63 » 26 Dec 2022, 13:18

Ath wrote: 26 Dec 2022, 13:00 Is the Initial brightness set to a value > 0, as 0 will cause that level of brightness: 0 :shock:
Stupid me!!!

Thank you so much for the hint!!!!

User avatar
Ath
Normal user
Posts: 3520
Joined: 10 Jun 2018, 12:06
Location: NL

Re: NeoPixel (basic) not working

#5 Post by Ath » 26 Dec 2022, 13:21

Mav63 wrote: 26 Dec 2022, 13:18 Stupid me!!!
Well, actually, stupid me, as I added this setting, but have not set a decent initial value. I'll fix that.
/Ton (PayPal.me)

User avatar
Ath
Normal user
Posts: 3520
Joined: 10 Jun 2018, 12:06
Location: NL

Re: NeoPixel (basic) not working

#6 Post by Ath » 26 Dec 2022, 13:56

I've created Pull request #4434 to correct this issue.
/Ton (PayPal.me)

Post Reply

Who is online

Users browsing this forum: No registered users and 33 guests