PDA

View Full Version : Driver with inverted PWM


jason2982
03/03/2018, 05:51 PM
Hi, today I received a led drivers that I bought from aliexpress, the drivers seems to work pretty well but here´s the problem:

The PWM is inverted... I mean.. I´m trying to dim the leds with a Storm controller... and if I put the output to 100% the led turns off.. and as I go down then the leds starts to bright, meaning 0% output on the storm controller turns the led completely on.

Do you know if there´s a way to invert the signal on the storm, or maybe modify something on the driver?

Here´s the driver

https://es.aliexpress.com/item/10PCS-LOT-3W-5-35V-LED-Driver-700mA-PWM-Dimming-DC-to-DC-Step-down-Constant/32825112632.html?spm=a2g0s.9042311.0.0.nECblT

Thanks in advanced.

bert tickle
03/03/2018, 10:13 PM
Hi There.
I have some drivers the same as yours and I got round it with 2 resistors and a transistor. If you look at the bottom of this page you will see what I used, worked a treat.
https://github.com/gnea/grbl/issues/22
Hope this helps

frankv702
03/06/2018, 01:44 AM
You can try NAND gates with the inputs tied together. That’ll give you an inverted signal.

jason2982
03/06/2018, 09:14 AM
Hi, thank you very much Bert and Frank, the easy fix was writing to coralux and explain the situation, they send me an inverted sketch to flash it on the controller... great customer service.

Thaks for your help.

frankv702
03/06/2018, 09:31 AM
Well that’s definitely the easiest fix. Haha. Glad you got it taken care of.