onlaj / Piano-LED-Visualizer

Piano LED Visualizer: Connect an LED strip to your Raspberry Pi and create an immersive visual experience for your piano playing
MIT License
513 stars 111 forks source link

LED strap operation is not possible. #360

Closed tdoypwls closed 1 year ago

tdoypwls commented 2 years ago

I followed the guide exactly and confirmed that the LCD booted normally. However, the LED strap only blinks and cannot be control at all.

All operations such as MIDI playback, piano playing, and LED color change are impossible.

The LED strap I bought is 144leds, IP67, 2m. I connected the LED strap wire to Gnd(-) and Gpio15(control) of Raspberry Pi PCB correctly.

Help plz...

LED strap link : opt(144leds, IP67, 2m.) // https://a.aliexpress.com/_mOZELuA

KakaoTalk_20220608_153404114 KakaoTalk_20220608_153404114_01

https://user-images.githubusercontent.com/107099691/172548997-041fcc67-02a6-4af2-85d0-bd7f4dc7b7b5.mp4

화면 캡처 2022-06-08 155056

onlaj commented 2 years ago

Hello. It's really hard to tell from the photos you posted, but are you sure the wiring is correct? It seems like data cable is going to the wrong hole in the socket.

tdoypwls commented 2 years ago

Yes. It didn't work, so I tested all sockets. I also tried the opposite.

as in the video Connected correctly to GND and GPIO 15 of Raspberry Pi.

GND is connected to the 3rd port from the left, and the LED data GPIO is connected to the 6th port from the left.

The LED does not work even if I reverse it to the right just in case.

In the photo, the flashing light hurts my eyes, so I intentionally put it on the side of the breadboard line so it didn't work.

In the video, it was normally plugged into the breadboard line.

The yellow wire is connected to GPIO 15, and the black wire is the LED strip data cable on the same line on the breadboard.

The white line is GND(-) and the red line is +.

onlaj commented 2 years ago

I meant the other side of cables. Does it go to the correct wires on led strip? From the pictures it looks like data (from RPI) is connected to (+) (from the led strip).

tdoypwls commented 2 years ago

Yes, there are 3 cables attached to the LED strip.

The order is + / data / - .

(+) is the red cable

data is a black cable

(-) is the white cable.

(-) is connected to GND of Raspberry Pi board and - of 5v,

(+) is only connected to 5v +.

data is connected to GPIO 15 with black and yellow wires.

tdoypwls commented 2 years ago

The LED strap I have is

The order is different from the last photo example image.

my strap is (+) / data (-) and

example image is (data) blue (+) red (-) It is in blac 화면 캡처 2022-06-08 194410 k

onlaj commented 2 years ago

The order is different from the last photo example image.

Yeah, sorry, it was little missleading. I checked my led strip and data is also in the middle.

Just to make sure it's not a problem with my code you can try to run strandtest.py . If it still doesn't work I suspect there is something wrong with either RPI gpio pins or led strip.

tdoypwls commented 2 years ago

Thank you very much.

Let's try it again.

If it doesn't work, I guess I'll have to buy the strip again...

tdoypwls commented 2 years ago

Trying strandtest.py doesn't change anything. I think you should buy a strap controller and check if it's a strap problem. thank you