this post was submitted on 18 May 2026
19 points (95.2% liked)
Ask Electronics
4142 readers
1 users here now
For questions about component-level electronic circuits, tools and equipment.
Rules
1: Be nice.
2: Be on-topic (eg: Electronic, not electrical).
3: No commercial stuff, buying, selling or valuations.
4: Be safe.
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Hey! Really not my cup of tea, but here's a few comments:
EDIT: I think the gist of the problem is that (1) the LM317 is powered on and off continusly, causing transients, power on delays,... (2) the adjust pin depends on the voltage on the output pin, potentially causing more resonance/weird transients. I would: stick to the suggested circuit in the datasheet of the lm317, and move the switching transistor between the lm317 and the laser.
hi, thanks for the early reply.
the relevant output is j6 which is connectect to six red lasers with separate positive terminals and a common ground to power them independently using the pwm function of arduino. They should be a mostly resistive load but they have quite high parassitic capacitance. We can't have separate grounds and switch low side since the external casing of the lasers is connected to the negative terminal of the laser diode and it is bolted to the same aluminum frame. The lm317 is working as a constant current driver and we found online that it's best to switch Vi instead of ADJ in this case link. Is it possible to use the circuit in the first schematic of the link to solve this? We are currently dropping .7V between base and emitter of the transistors.
Could otherwise placing the switching transistor after the cc driver be a solution?
The circuit seems to work perfectly with a lower voltage laser diode and doesn't seem to have problems with transients. Also thanks, will try to simulate it in spice!