Controlling BuckPuck Driver
Hi, I am a newbie and I may have totally gone off track, sorry if I ask some stupid questions that are obvious.
With that said, I am trying to control a Buckpuck Driver (http://www.leddynamics.com/LuxDrive/datasheets/3021-BuckPuck.pdf), I want to build a simple circuit to slowly dim the LEDs through the buckpuck driver.· According to the spec sheet, you can supply·a voltage of 0-5V to the control port which·will act·like a dimmer to the LED.· Which is perfect using the PWM function·in SX/B.· I finished with the program, check the output port using a simple multimeter, and it's running as I wanted, 5-0V in 1 minute slowing ramping down.· But when I plug the output to the control port on the Buckpuck Driver, the·voltage start to go erratically and·jumps around.· I cannot get a stable voltage out from SX28 to control the Buckpuck.
So my question is, do I need an op-amp·buffer circuit between the output of SX28 and control port of the Buckpuck Driver?· All I have between it right now is a simple RC circuit, and I am trying to get away with the least possible components (space issue).· I can't find the spec of how much current the control port is drawing but I assume is not big enough that I need a buffer circuit, since according to the spec sheet, it can take TTL/CMOS signal, but obviously it's not working right now.· Am I totally off track?· Please advise, thanks.
With that said, I am trying to control a Buckpuck Driver (http://www.leddynamics.com/LuxDrive/datasheets/3021-BuckPuck.pdf), I want to build a simple circuit to slowly dim the LEDs through the buckpuck driver.· According to the spec sheet, you can supply·a voltage of 0-5V to the control port which·will act·like a dimmer to the LED.· Which is perfect using the PWM function·in SX/B.· I finished with the program, check the output port using a simple multimeter, and it's running as I wanted, 5-0V in 1 minute slowing ramping down.· But when I plug the output to the control port on the Buckpuck Driver, the·voltage start to go erratically and·jumps around.· I cannot get a stable voltage out from SX28 to control the Buckpuck.
So my question is, do I need an op-amp·buffer circuit between the output of SX28 and control port of the Buckpuck Driver?· All I have between it right now is a simple RC circuit, and I am trying to get away with the least possible components (space issue).· I can't find the spec of how much current the control port is drawing but I assume is not big enough that I need a buffer circuit, since according to the spec sheet, it can take TTL/CMOS signal, but obviously it's not working right now.· Am I totally off track?· Please advise, thanks.
Comments
Are the BuckPuck and SX running off of the same battery/psu? Just for testing try using separate power supplies. The BuckPuck has a switching power supply inside and switching power supplies can produce a LOT of noise. Using separate power supplies keeps this noise out of the SX. If this fixes the problem extra filtering on the SX's power supply input is needed to keep the SX happy. (noise can sneak in on the ground wires too) You could also try a stiffer RC circuit. 1k/10uF would be good.
Marty
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Lunch cures all problems! have you had lunch?
PWM pin, duty, 110
for which "duty" is from 240 to 0, -4 each time. Oh and the above line of code only get excuted every second which I have an external timer circuit that keep tracks of.
So maybe is it because I burst too short of voltage out each second?
I also think you can easily run the SX off the BuckPuck's Vref port, but you'll definitely want a decoupling capacitor across Vcc and ground to smooth things out.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-Paul
And yes I can use the Vref port from buckpuck, but it gave me problem because it's going to power not only the SX chip, but also another circuit plus a LCD screen. I end up scraping the idea and headache trying to cramp everything using that ref port.
Thanks for all that replied, I will try playing around with it more, but if anyone got anymore ideas or experience, feel free to chime in. thanks.
Chris I.
You are using buckpucks in your project? What are you building? What LED are you driving?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Timothy D. Swieter, E.I.
www.brilldea.com·- Prop Blade, LED Painter, RGB LEDs, uOLED-IOC, eProto fo SunSPOT, BitScope
www.sxmicro.com - a blog·exploring the SX micro
www.tdswieter.com