scottlawsonbc / audio-reactive-led-strip

:musical_note: :rainbow: Real-time LED strip music visualization using Python and the ESP8266 or Raspberry Pi
MIT License
2.67k stars 642 forks source link

Few question about the project #291

Closed TrueAccelerator closed 2 years ago

TrueAccelerator commented 3 years ago
  1. Can it be completed on Rpi4 successfully?

  2. If I power the tape through a separate power source and only connect ground and data to Rpi, do I risk any damage should I make a mistake of some sort?

  3. Why do Rpi, power source and led tape MUST share common ground exactly? Do I simply have to connect RPI ground pin to the cable that goes from the led tape to the ground on the controller?

NotUnderi commented 3 years ago

You need common ground in order for the LED strip to actually receive the signals from RPi. Otherwise it would just be any random wire floating around. You need a closed circuit.

TrueAccelerator commented 3 years ago

I see. One last question, is it possible to use a 12v led strip (like ws2811) rather than 5v?

NotUnderi commented 3 years ago

I'm not sure. I believe it would work in theory if you use a buffer like this one, but it'll get pricier fast. You'll also need a 12V supply obviously.

TrueAccelerator commented 3 years ago

6270975400_1599847325

Would this wiring be correct? Of course, I'd have to replace the logic converter with one that handles 12v

NotUnderi commented 3 years ago

I'm not entirely sure what's the point connecting RPi 3V to the low and 5V to the high pins. Is that the voltage supply for the board?

SP110 seems to be a Bluetooth controller for the LED strip. Why not just take the 12V supply that goes into this box and solder it straight on the strip instead?

Here's my schema that I'm thinking of doing. kuva You could practically do the same, just replace the 5V supply stated here with a 12V one and a 12V logic shifter.

gaijinsr commented 3 years ago

Hi, have a look at this tutorial for a mod that I posted a while ago: https://github.com/xoseperez/espurna/issues/1437#issuecomment-599779257 The MagicHome controllers are dirt cheap and rather easy to mod. My use case is exactly the same as yours.

TrueAccelerator commented 3 years ago

Is that the voltage supply for the board?

It's a logic converter, i read on the raspberry forum that although one should theoretically use a 3.3v to 12v logic converter, data can be sent with just 5v and it still works fine. Have yet to confirm it myself because I'm too scared to try (and fry my board in case of failure)

Hi, have a look at this tutorial for a mod that I posted a while ago:

Sorry, but I can't figure out how to use this guide. Esp8285 apparently can power 12v strips, and can be flashed espurna, yes? But what next? Can one send data via Rpi wirelessly to ESP via espurna?

NotUnderi commented 3 years ago

It's a logic converter, i read on the raspberry forum that although one should theoretically use a 3.3v to 12v logic converter, data can be sent with just 5v and it still works fine. Have yet to confirm it myself because I'm too scared to try (and fry my board in case of failure) Well if it works with just 5V it'll work. Still I'd probably take the 12v to the RGB strip straight from the wall instead of having the control box inbetween.

gaijinsr commented 3 years ago

Sorry, but I can't figure out how to use this guide. Esp8285 apparently can power 12v strips, and can be flashed espurna, yes? But what next? Can one send data via Rpi wirelessly to ESP via espurna?

I should have been clearer, sorry: This has nothing to do with espurna, I just quoted that for the hardware side of things. You can use my method to mod one of those cheap MagicHome controllers to obtain an ESP8266 that can drive a 12V WS2811 LED strip. You would flash the normal ESP image provided with AudioReactiveLEDstrip.

TrueAccelerator commented 3 years ago

I see. Indeed, though there is one issue: the part for the esp variant is meant for linux/windows/ios OS, not for the rpi variant. I searched a bit, and there might be problems with setting up the software so the raspberry can handle the data via ESP.

joeybab3 commented 2 years ago

Closing for inactivity