Go Down

Topic: analog out 0-10V With Arduino for lighting control (Read 33747 times) previous topic - next topic


I use a simple lm358 configured as a x2 amplifier

with an rc filter I smooth out the arduino PWM signal then i feed it into the amp powered at 12v
if you dont have motors connected to the arduino, you can increase the pwm speed and get smoother signals
i get pretty good results



I try the Delta schematics with the LM324N. Works fine!.
Many thanks to all for the help!


I just wanted to know if someone can confirm that the delay I'm getting when dimming a 0-10V ballast is normal (has nothing to do with the arduino). I'm using a Philips HF-R 118 TL-D (18w). This ballast makes big fades when diming the tube, so I can't make quick transitions. You can see the delays I'm talking about in this youtube video:
Has anyone better results? Maybe with Osram dimmable ballast or with other brands and models?
Any comments are welcome ?


The delays seem normal, if you are using big capacitors for the RC filter.

i was wondering...
as for the initial 10V question, if we power the arduino with an external 12V, why cant we just get the pwm to drive a small npn transistor, powered by the 12V VIN pin?
the dimmable ballast application does not need great linearity. is there another issue i am missing?


is there another issue i am missing?

No, that should work. However as already posted, using a single common emitter transistor will result in a reversal of control action. That is at 0% duty cycle in software the control voltage will be full Vin voltage output and 100% duty cycle will result in near zero voltage output. Just makes the software a little more tricky, but not that big a deal. Biggest concern is if Vin is over 10vdc then the control voltage to the ballast will also be over 10vdc, does this cause any harm to the ballast controller?


Go Up