Hey all,
I've been lurking for a few weeks but this is my first post so go easy on me
I'd like to use an Arduino (uno) and an optocoupler to TTL/PWM switch a ir LD (808 nm, 280 mA) which gets a constant current from an LM317. From my lurking here (thanks folks for all the excellent info) and in an effort to learn a little bit of eagle I've drawn up the following two circuits (which I hope upload ok!).
In both circuits the arduino drives the opto via transistor 1. In the first circuit (LD on the right) the opto then switches the supply to the LM317 via transistor 2. In the second circuit (LD in the middle) the opto switches the current through the LD via transistor 2.
I'm not an electronics engineer so I'm wondering which (if any) of these approaches makes (most) sense? Or am I going to kill the LM317 or LD...?
All the best,
Alan.
I've been lurking for a few weeks but this is my first post so go easy on me
I'd like to use an Arduino (uno) and an optocoupler to TTL/PWM switch a ir LD (808 nm, 280 mA) which gets a constant current from an LM317. From my lurking here (thanks folks for all the excellent info) and in an effort to learn a little bit of eagle I've drawn up the following two circuits (which I hope upload ok!).
In both circuits the arduino drives the opto via transistor 1. In the first circuit (LD on the right) the opto then switches the supply to the LM317 via transistor 2. In the second circuit (LD in the middle) the opto switches the current through the LD via transistor 2.
I'm not an electronics engineer so I'm wondering which (if any) of these approaches makes (most) sense? Or am I going to kill the LM317 or LD...?
All the best,
Alan.