Hello, this is my first time tinkering with a Pi. I have a Pi 4B. I want to control an LED lightstack with the GPIO. I will be using an external 24VDC power supply, but am not sure how this should be wired up to switch the 24V to the LEDs.
This is the light stack I will be using. https://www.amazon.com/Baomain-Industry ... 68&sr=8-3l
I imagine I need a relay board like this https://www.amazon.com/JBtek-Channel-Mo ... 79&sr=8-2l but am not sure how I wire this up to provide 24V to my light stack. Would I connect my GPIO to the IN1, IN2, IN3, IN4 pins of the relay board and then plug 24V from my power supply to VCC and connect GND to either from the Pi's GND or my power supply's 0V?
This is the light stack I will be using. https://www.amazon.com/Baomain-Industry ... 68&sr=8-3l
I imagine I need a relay board like this https://www.amazon.com/JBtek-Channel-Mo ... 79&sr=8-2l but am not sure how I wire this up to provide 24V to my light stack. Would I connect my GPIO to the IN1, IN2, IN3, IN4 pins of the relay board and then plug 24V from my power supply to VCC and connect GND to either from the Pi's GND or my power supply's 0V?
Statistics: Posted by jmoua6 — Sat Apr 13, 2024 3:07 am — Replies 2 — Views 61