Go Down

Topic: Has ayone used sure electronics hi power led driver with PWM? (Read 212 times) previous topic - next topic

iisfaq

I am having trouble using a sure electronics hi power led buck regulator with pwm from Arduino.

I am using the 300-3000ma buck regulator as seen http://store3.sure-electronics.com/ps-sp12153

If you have a clean no flashing/flickering of the led please let me know. I need to use this driver but I can not understand how to use pwm on it with no flicker.

Thanks

iisfaq

I have now got it workng and have the answer up on stack exchange where I had posted a different question but related to the same fading with this driver.

https://electronics.stackexchange.com/questions/375163/arduino-pwm-led-buck-regulator-flashing-not-smooth

But the basic wiring is this






septillion

Use fricking code tags!!!!
I want x => I would like x, I need help => I would like help, Need fast => Go and pay someone to do the job...

NEW Library to make fading leds a piece of cake
https://github.com/septillion-git/FadeLed

iisfaq

It felt like the safest option for me with the different voltages and very high current.

How would you do it?


septillion

Connect GND to GND. Connect PWM pin to EN.

Using different voltages with shared ground is pretty common. And EN is an input and will not supply any voltage. So nothing weird or uncommon about it :)
Use fricking code tags!!!!
I want x => I would like x, I need help => I would like help, Need fast => Go and pay someone to do the job...

NEW Library to make fading leds a piece of cake
https://github.com/septillion-git/FadeLed

iisfaq

Thanks, I tried this and it worked fine.

One thing I did notice was the optocoupler stopped the LED lighting until it had a valid signal, unlike the direct connect.When the arduino was turned off or while booting the LED was on 100%.

Chris

septillion

That's because that's the default of the driver when noting is connected to the EN. Add a pull down or pull up resistor (depending on what level you want in rest) to the EN pin to fix that.
Use fricking code tags!!!!
I want x => I would like x, I need help => I would like help, Need fast => Go and pay someone to do the job...

NEW Library to make fading leds a piece of cake
https://github.com/septillion-git/FadeLed

Go Up