Page 1 of 1

First LED of Neopixel ring always ON [SOLVED]

Posted: 11 Oct 2018, 21:35
by pppp33
Hi there, me too with NeoPixel !
I didn't resist and bout the entire 241-led disk (see photo)
The attachment photo1.jpg is no longer available
I connected them in the correct order and got basic Neopixel work.
Now, the strange thing.
After i send the "on" command to first LED with (as an example):

http://192.168.1.163/control?cmd=neopixel,1,0,0,100

I can't switch it off anymore it, whatever command I send.
It looks like the green led is always ON.
Has somebody got same problem ?
I already tried to change the ring, and got same behaviour.
Thx for help.....
Paolo

Re: First LED of Neopixel ring always ON

Posted: 12 Oct 2018, 01:39
by TD-er
Have you set the correct Strip Type? (RGB / RGBW)
And can you set a 5th parameter to 0 in the command?

Code: Select all

            // (1) NeoPixel,<led nr>,<red 0-255>,<green 0-255>,<blue 0-255>
            Plugin_038_pixels->setPixelColor(event->Par1 - 1, Plugin_038_pixels->Color(event->Par2, event->Par3, event->Par4, event->Par5));
As you can see, there is a 5th parameter used to set the color and maybe that one slips through to the next LED.

Re: First LED of Neopixel ring always ON

Posted: 12 Oct 2018, 14:40
by pppp33
Hello TDer,
I did some more testing, and:
- no visible difference between RGB and RGBW
- led 1 is locked to 100% green
- if I power off the disc, led 1 stays off until first command
- If I issue something like:
http://192.168.1.163/control?cmd=neopixel,1,0,0,0,0,0,0
with some more zeroes, :)
I get no error, but can't switch off led 1
Thanx in advance for yr help.....
Paolo

Re: First LED of Neopixel ring always ON

Posted: 12 Oct 2018, 21:39
by pppp33
Solved !
I used the same pin for wifi status led and Neopixel output !
Thanx TDer for support !
Regards....
Paolo
p.s. I'm also checking neopixel clock (plugin070) and it's running fine for now....

Re: First LED of Neopixel ring always ON [SOLVED]

Posted: 13 Oct 2018, 15:46
by TD-er
Great to see it now works.

And just out of curiosity, do you have a link (or links) to these rings?
Is it one set or did you just combine all available ring radius boards?

Re: First LED of Neopixel ring always ON [SOLVED]

Posted: 13 Oct 2018, 17:51
by jjansen

Re: First LED of Neopixel ring always ON [SOLVED]

Posted: 13 Oct 2018, 21:51
by TD-er
jjansen wrote: 13 Oct 2018, 17:51 https://www.aliexpress.com/item/Address ... 69128.html
The 241 LED version
Thanks

Re: First LED of Neopixel ring always ON [SOLVED]

Posted: 14 Oct 2018, 10:33
by pppp33
Yes, that's it ! I chose black background.

Just an addition:
i combined BASIC Neopixel AND Neopixel CLOCK plugins, so I can lit up a static pattern (starting at led 61, for example the center LED) AND HMS leds on the outer ring.....
Next step could be fun to have faces/emoji on the disk.... :D
But we need an emoji "painter" and a "block transfer" plugin....
Regards
Paolo

Re: First LED of Neopixel ring always ON [SOLVED]

Posted: 14 Oct 2018, 11:22
by grovkillen
pppp33 wrote: 14 Oct 2018, 10:33 Yes, that's it ! I chose black background.

Just an addition:
i combined BASIC Neopixel AND Neopixel CLOCK plugins, so I can lit up a static pattern (starting at led 61, for example the center LED) AND HMS leds on the outer ring.....
Next step could be fun to have faces/emoji on the disk.... :D
But we need an emoji "painter" and a "block transfer" plugin....
Regards
Paolo
Pictures or it's just talk ;)

Sounds really interesting!

Re: First LED of Neopixel ring always ON [SOLVED]

Posted: 14 Oct 2018, 12:18
by pppp33
This is a (ugly) picture of the idea: happy, sad, etc.....
I made it with a (long) sequence of commands like this:

curl http://192.168.1.163/control?cmd=neopixel,124,100,100,0
....
....


but we need something more "human" :)

regards
Paolo

Re: First LED of Neopixel ring always ON [SOLVED]

Posted: 14 Oct 2018, 13:36
by grovkillen
Hehe, looks good :)

Re: First LED of Neopixel ring always ON [SOLVED]

Posted: 14 Oct 2018, 16:35
by pppp33
....and this is the "sad" one....

Re: First LED of Neopixel ring always ON

Posted: 29 Aug 2021, 05:47
by cuacco
pppp33 wrote: 12 Oct 2018, 21:39 Solved !
I used the same pin for wifi status led and Neopixel output !
Thanx TDer for support !
Regards....
Paolo
p.s. I'm also checking neopixel clock (plugin070) and it's running fine for now....
Hi ... could you show me your code where you set same pin for Wifi Status Led and neopixel, I facing same issue when internet is enable, if I disable internet the issue with first led disappears

Re: First LED of Neopixel ring always ON [SOLVED]

Posted: 30 Aug 2021, 22:00
by pppp33
Hi, it's not code, but the configuration of LEDs in Espeasy LED page configurations.
You have to deactivate LEDs status on the pin used for neopixel.
Regards
Paolo