I want to drive a laser using an Arduino. Currently, I am driving the laser using a constant current source of 21 mA. The constant current source has been implemented with an opamp.
How can I integrate this circuit to the Arduino?
How can I basically control the laser using the Arduino?
I need to switch on and off plus control the intensity.
This is a part of a big sensor circuit, where I am driving the laser using the constant current circuit. Also I am newbie to Arduino. So I wonder whether i can connect the circuit to Arduino UNO board
You would never be able to set the current to 21mA with circuit.
You should use the PD as a feedback to control power
Have you actually built and tested it?
I can't see how that is possible.
The current through R4 is the same as the current through the diode.
Then the voltage drop across R4 would be 21mA X 1K = 21V.
Quite impossible with a 12V supply
If you reduce R1 to 5.1K, does the current increase?
I would like to keep the current at 21mA because I want to keep the laser in Class 1 condition. Is there any way I can connect the opamp circuit to the Arduino?
If I would like to switch on and off the laser, how can I connect this circuit to an Arduino?
For small change in intensity, I could go with a digital pot controlled by Arduino.