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
 

Hello everyone, We have a problem with a circuit we built. The circuit seems to work properly with a green laser diode (130mA, lower voltage). With the red laser (higher voltage) on the other hand, the circuit delivers only 60mA max of the 130mA it should be giving the laser.

The problem seems to be the transistor's resistance because it works properly if we bypass the transitor and give +5V to the LM317.

Is it this assumption correct?

We tried a few transistors (BC241, BC236, TIP41C and TIP41) but with no luck. Is there a way to find a drop-in replacement for the transistor? MOSFET seem to have lower resistance but require an external driver with Arduino.

We need to use the Arduino PWM with these drivers, so at least 980hz switching frequency is needed.

Thanks in advance

Link to the schematics

you are viewing a single comment's thread
view the rest of the comments
[–] TDSOJohn@lemmy.world 2 points 1 week ago

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!