ws28128-rpi icon indicating copy to clipboard operation
ws28128-rpi copied to clipboard

i can not run on raspberry pi2

Open mrthiti opened this issue 9 years ago • 8 comments

Hi

i execut file ws2812-rpi-test but it not working. no output at GPIO18.

mrthiti avatar Jun 24 '15 04:06 mrthiti

Ok, first thing is to give me a few more details. How many LED's are you chaining? Are they connected to GPIO18/physical pin 12 via a load resistor and/or a level shifter? How are you powering the LED's? If you look at this video you will see the setup I used.

Also, I have not actually done this with a Pi2 yet, although I do have one, this was tested on an original model B. I see no reason why it wouldn't work though. Are you running this from python or C++? Are you running the programs as 'sudo' (it doesn't work without)?

I hope the few questions, points here help your debug. If you still have no joy, post me the answers to these and I'll see what I can do. If necessary I will try and setup my open Pi2 at the weekend (not possible before I'm afraid) and do some testing.

Thanks, jazzycamel

jazzycamel avatar Jun 24 '15 09:06 jazzycamel

I can confirm too that it works well for me on my RPi B+, but not at all on my RPi 2. I was just using it with one single neopixel. But to be fair, none of the other solutions out there worked for me on the RPi 2 too (for example NeoUART)

wernerterreb avatar Jun 24 '15 21:06 wernerterreb

OK, Thank you :)

mrthiti avatar Jun 25 '15 02:06 mrthiti

https://github.com/jgarff/rpi_ws281x works fine for me on the RPi 2.

rodrigob avatar Feb 24 '16 19:02 rodrigob

Hi, Im new to RPi and have been trying to make an LED panel work with Pi 3 model B. The https://github.com/jgarff/rpi_ws281x lib works fine but I need the C++ lib to use with my rest of C++ project. This library doesnt turn on the LED panel (16*16) at all. No errors when test is run but doesnt display anything.

Im wondering what needs to be looked into? Do I need to modify it in some way (DMA, PWM, GPIO pins...) before I can use it on 3B?

vliva avatar Nov 22 '17 12:11 vliva

Hi,

Plase see this https://www.thitiblog.com/blog/759

On Wed, Nov 22, 2017 at 7:33 PM, vliva [email protected] wrote:

Hi, Im new to RPi and have been trying to make an LED panel work with Pi 3 model B. The https://github.com/jgarff/rpi_ws281x lib works fine but I need the C++ lib to use with my rest of C++ project. This library doesnt turn on the LED panel (16*16) at all. No errors when test is run but doesnt display anything.

Im wondering what needs to be looked into? Do I need to modify it in some way (DMA, PWM, GPIO pins...) before I can use it on 3B?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jazzycamel/ws28128-rpi/issues/3#issuecomment-346337438, or mute the thread https://github.com/notifications/unsubscribe-auth/AGsZMuiYGDouTAoCqXLTpkNfR2WAOhiuks5s5BSzgaJpZM4FKeEs .

-- THITI YAMSUNG Computer Engineer Facebook messenger: m.me/t.yamsung Line ID: thiti.y URL: www.thitiblog.com

mrthiti avatar Nov 23 '17 03:11 mrthiti

Hi, Plase see this https://www.thitiblog.com/blog/759 On Wed, Nov 22, 2017 at 7:33 PM, vliva @.**> wrote: Hi, Im new to RPi and have been trying to make an LED panel work with Pi 3 model B. The https://github.com/jgarff/rpi_ws281x lib works fine but I need the C++ lib to use with my rest of C++ project. This library doesnt turn on the LED panel (1616) at all. No errors when test is run but doesnt display anything. Im wondering what needs to be looked into? Do I need to modify it in some way (DMA, PWM, GPIO pins...) before I can use it on 3B? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#3 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AGsZMuiYGDouTAoCqXLTpkNfR2WAOhiuks5s5BSzgaJpZM4FKeEs . -- THITI YAMSUNG Computer Engineer Facebook messenger: m.me/t.yamsung Line ID: thiti.y URL: www.thitiblog.com

i would love to use your library, but i cant read thai (?) and a few very important steps are not described in english. So i get "undefined reference to `ws2812b::ws2812b"

Zappelphilipp avatar Mar 16 '19 11:03 Zappelphilipp

You can see this https://github.com/thiti-y/ws2812b-raspberry-pi2

example in file “neo-test.cpp”

On Sat, 16 Mar 2562 at 6:47 PM Zappelphilipp [email protected] wrote:

Hi, Plase see this https://www.thitiblog.com/blog/759 … <#m_-4491608714719330207_> On Wed, Nov 22, 2017 at 7:33 PM, vliva @.**> wrote: Hi, Im new to RPi and have been trying to make an LED panel work with Pi 3 model B. The https://github.com/jgarff/rpi_ws281x https://github.com/jgarff/rpi_ws281x lib works fine but I need the C++ lib to use with my rest of C++ project. This library doesnt turn on the LED panel (1616) at all. No errors when test is run but doesnt display anything. Im wondering what needs to be looked into? Do I need to modify it in some way (DMA, PWM, GPIO pins...) before I can use it on 3B? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#3 (comment) https://github.com/jazzycamel/ws28128-rpi/issues/3#issuecomment-346337438>, or mute the thread https://github.com/notifications/unsubscribe-auth/AGsZMuiYGDouTAoCqXLTpkNfR2WAOhiuks5s5BSzgaJpZM4FKeEs . -- THITI YAMSUNG Computer Engineer Facebook messenger: m.me/t.yamsung Line ID: thiti.y URL: www.thitiblog.com

i would love to use your library, but i cant read thai (?) and a few very important steps are not described in english. So i get "undefined reference to `ws2812b::ws2812b"

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jazzycamel/ws28128-rpi/issues/3#issuecomment-473523193, or mute the thread https://github.com/notifications/unsubscribe-auth/AGsZMgsOgTAKtAhKkhl7SeRlgxIFKvukks5vXNnRgaJpZM4FKeEs .

-- THITI YAMSUNG Computer Engineer Facebook messenger: m.me/t.yamsung Line ID: thiti.y URL: www.thitiblog.com

mrthiti avatar Mar 16 '19 15:03 mrthiti