I would like to turn on an LED that can use 1 A and 4 V and the Arduino using the same power source which is an adapter 12 V and 2 A. I have the driver for the LED, so that part is ok. I just want to know if I can make a voltage divider and use the same power source for both LED and Arduino Uno circuit.
The PWM section of that driver datasheet shows that your input signal spec is:
0V for on,
3-5V for off,
1 mA current max,
and should be around 200 Hz update frequency.
All of which is quite doable with Arduino digital outputs.
Do take note that the signal is 'inverted', that is the wider the PWM 'ON' pulse, the less light will be emitted.
PWM Dimming and ON/OFF Control (Leave open if not used)
Remote ON/OFF DC/DC ON Open or 0V<Vr<0.6V
Threshold Voltages DC/DC OFF (Standby) 0.6<Vr<2.9V
DC/DC OFF (Full Shutdown) 2.9V<Vr<6V
Remote Pin Drive Current Vr=5V 1mA max
Quiescent Input Current in Shutdown Mode Vin=36V 200μA max
Recommended PWM Frequency For Linear Operation 200Hz
(measured 10%~90% Dimming) Maximum Frequency 1000Hz
Thanks, but the max forward voltage for the LED is just 4.2 V, and assuming that I connect the 12 V to the driver and the driver output is more than 4.2, I am worried that it might burn the LED.
Yes I do understand the difference between them and the one I have is just a current regulator one. I just want to know if there is a way that i can turn on this LED with the driver that I have. Max input for LED is 4.2 V and min input for the driver is 6 V.
The current output of your driver must match the LED needs fairly closely(it does). Beyond that, as long as the driver has enough voltage (it does), what you will get is exactly what you need. Feed it 6V or 10V, it doesn't matter, because all that matters is the LED gets the current specified. It's a current regulator, remember, and the LED is a current-driven device.
Great thanks. I have always thought that the input and output voltage for a current regulator driver is same or very near each other. Now i know what you mean. Thanks again for enlightening me.