Hello, I'm super new to arduino really my area is programming but I need my control to make an LED lamp.
Well I have a source (driver) which accepts intensity control via PWM. I chose to make the arduino automation and soon discovered that the control of pwm arduino is 0 and 5 v.
I'm using the driver
Mean Well ELN-60-48p in which your manual is here http://www.meanwell.com/search/eln-60/default.htm as can be seen on the last page it uses PWM to 0 to 10v. How can I use my ARDUINO to solve this problem?
When you look at the datasheet it says: PWM @ 10V. This is terribly common, as there is generally nothing but a low pass filter behind the "PWM". When using 5V PWM you can most likely only go up to half the power...
You can use a transistor to increase the size of your PWM signal, like this:
npn transistor say a BC458
1K resistor from +10V to the collector
emitter to GND
base to a 1K resistor to the PWM signal from the Arduino
connect the collector to the PWM input to the PSU.
Note that the transistor will invert the signal, so you will have to set the PWM output to 255-x rather than x. Where x is the desired output.
That is your circuit with +V going to 10 (or 12V) and Vout going to your control input and Vin going to one end of a resistor with the other end going to the arduino output. Emitter and all grounds connected together.