Pardon me if I posted this in the wrong categor as I'm not sure where to ![]()
So my project or at least idea for now is a "DIY ReefLight Controller". I have one of these chinese "blackbox" led light it has a manual brightness control using a traditional 100K ohm pot. The goal is to have some sort of control and scheduling software/hardware system for the light. Example: 8:00AM 10% Blue Channel 5% White Channel, something like that.
So I checked the hardware of this light and it's pretty simple, just a led driver outputing 60-100vdc to the led array and 2 pin for control. This 2 pins outputs 13.3vdc and other one is GND. The way that the brightness is controlled is by adjusting the resistance between these two pins. The manual pot wiper pin is connected to the 13.3v and the GND pin is at the LOW pin of the manual pot. The lower the resistance in between these 2 pins, the dimmer the leds are and vice versa. If you short them leds will turn off. Pretty simple so far. ![]()
My idea is to replace that manual pot with a digital potentiometer which I can hook up to my ESP32 and control the light from there. I have no issues regarding the software side, I can set the wiper step and such.
Now, going to my problem; the digipot I have is called TPL0501 a 100k digipot with 256 taps. Great digipot for fine tuning the brightness of the leds.
But here's the catch: this digipot can only handle 5v max on its control pins. Searched the forum for hours to see if anyone had the same problems with mine but to no avail. Also I tried other approach like sending PWM signals or Analog 0-10v signals but the leds flickers so much and this is the closest solution I have so far.
I tried the voltage divider theory but that affects the minimum resistance I need. The resistance should range from (minimum 6.3 ohms and maximum 94k ohms) for the leds to dim and have max brightness properly. Please see the attached schematic as well the image of the LED driver and LED itself if that can help. Thank you very much Arduino Team!
LED Driver:
LED Light Itself:
Basic Schematic of what I have done so far:


