awawa-dev / HyperHDR

Highly optimized open source ambient lighting implementation based on modern digital video and audio stream analysis for Windows, macOS and Linux (x86 and Raspberry Pi / ARM).
http://www.hyperhdr.eu/
MIT License
980 stars 106 forks source link

Add Option for GPIO pin to control relay like WLED #578

Closed vegedb closed 1 year ago

vegedb commented 1 year ago

WLED Options

image.

Current Setup: 1) (Raspberry Pi 4) GPIO18 is used for LED Data Pin 2) Separate 12V Power Supply for LED's 12V+GND

Feature Request: 3) Use 3.3v/5v relay (GPIO 15) to switch/relay 12v Power Supply [AC SIDE] image

As you can see (screenshot), WLED has this feature already inbuilt in the software. It would be great if you implement this feature.

Addressable Strips around 55" TV, measured 6-7W idle when LED's are turned OFF! This is the same power used on a raspberry pi 4 by itself!!!

awawa-dev commented 1 year ago

Hi Controlling Neopixel directly from current Rpi models is not and will not be officially supported due to the many issues it usually causes, so I see no reason to implement such a companion feature in HyperHDR. Potentially such a solution could be added to some of my HyperSerial projects. If you have one of the supported boards (esp32/esp32-s2 mini/rp2040) and will provide testing and feedback, please open a feature request in one of these projects.

vegedb commented 1 year ago

Controlling Neopixel directly from current Rpi models is not and will not be officially supported due to the many issues it usually causes, so I see no reason to implement such a companion feature in HyperHDR.

wdym? It can be used using these setting. GPIO 18 image image

awawa-dev commented 1 year ago

I left it only for backward compatibility for advanced users. Please read the faq or https://github.com/awawa-dev/HyperHDR/discussions/320

awawa-dev commented 1 year ago

If the next generation of the Rpi5 includes a PIO coprocessor like the one built into the rp2040, the implementation of the control relay may be reconsidered.