Hey everyone.
I’m trying to control the brightness/intensity of my LED lights through the Blynk application. While I’ve had success with the combination of the on/off button widget and a relay, I’ve come up short on the Slider widget.
Component Breakdown:
- Raspberry Pi 3 +B
- LED Power Supply Unit (PSU)
- LED lights
So the Slider widget for the RPi 3 comes with one option for digital pinning, which is the GP18 PWM (pin 12). The LED PSU comes with a 3-1 dimming function, which allows the user to dim in multiple fashions, including PWM. Furthermore, the LED PSU comes with DIM+ and DIM- wires, which are separate to that of the V+ and V- wires, which connect directly to the LED lights.
As I have it:
GP18 PWM (pin 12) —> Dim+
Ground (pin 14) ----> Dim-
For whatever reason, nothing happens when I adjust the slider in this configuration. I’ve tried different GPIO cables but that doesn’t seem to be the root cause. Does anyone have any insight to share?