I have a small project where I am adding wifi controll to a 160W LED light unit (for my reef fish tank)
The unit is 2 channel controlling white and blue LEDs. They are currently controlled with a potentiometer on the top. This pot is 0v to 10v and I am looking to replace that with a ESP8266 but I am not sure the best way to go about it. I can control the LEDs up to 5v with normal PWM but need to be running the lights at near 10v really.
I figure my options are using a 2n222 transistor to bump the 5v pwm to 10v or using a digital potentiometer. Any input?
Dimmable LED supplies usually already have a 10volt supply connected to the DIM pin.
You just need to PWM that DIM pin with an open collector (or open drain) circuit.
Connect the 2N2222 collector to DIM-in, and the emitter to DIM ground and ESP ground.
Connect the base via a 1k resistor to the ESP output pin.
Post a link to the LED supply if that doesn't work.
Leo..
The driver has a 4 pin ouput with a small potentiometer board connected. Its labeled VDM-, VDM+, V+ and ON/OFF
The V+ is 12 VDC
The ON/OFF is the enable line and needs to be connected to the V+ to turn the driver on.
The VDM- and + is the 10v I need to manipulate with the arduino.