One way to give steady current to laser diode is using a Simple Laser Diode Driver Circuit using IC LM317.
Laser diode are very sensitive to current and with wrong current can damage it.
LM317 usually gives voltage but here it gives constant current instead.
Circuit Working:

Parts List:
Category | Item | Quantity |
---|---|---|
Resistors | 330Ω 1/4 watt | 1 |
Potentiometer 10k | 1 | |
Capacitors | Ceramic 0.1μF | 1 |
Electrolytic 1μF 25V | 1 | |
Semiconductors | IC LM317 | 1 |
Laser diode 650nm 5mW | 1 | |
9V Battery | 1 |
This article show simple way to drive laser diode using LM317 IC.
First the battery power goes to 0.1uF ceramic capacitor.
This capacitor remove noise and work like high frequency filter.
Then it cleans DC and goes to pin 3 Vin of LM317 IC.
Pin 1 (Adj) connect to ground through 10k potentiometer and fixed resistor of voltage divider.
Adjusting potentiometer change voltage at pin 1, control output current.
This setup set limit for laser diode current.
Pin 2 (Vout) is where current come out from LM317.
1uF capacitor at output help remove leftover oscillation and act like bypass and reduces ripple and spikes.
Changing potentiometer changes reference voltage at pin 1, changes output current and control laser light brightness.
IC LM317 Current Limit Circuit and Formula:
For more safety to laser diode we can add extra LM317 current limit circuit like in diagram below.

Formula to find current limit resistor (Rx):
Rx = (Vref – 1.25V) / Ilaser
where:
- Rx is the resistor value in ohms Ω
- Vref is the voltage at ADJ pin set by voltage divider
- 1.25V is the LM317 inside reference voltage
- Ilaser is the laser diode working current in amps A
How to Build:
To build a Simple Laser Diode Driver Circuit using IC LM317 follow the below mentioned steps:
- Collect all parts as shown in circuit diagram.
- Connect pin 1 (Adj) of LM317 to top leg of VR1 pot.
- Connect pin 2 (Vout) to positive of laser diode, other diode leg to ground.
- Connect R1 resistor from Vout (positive) to middle leg of VR1 pot.
- Connect pin 3 (Vin) of LM317 to +9V battery through C1 capacitor and connect to ground.
- Connect C2 capacitor from Vout pin to ground.
Safety Tips:
- Always wear laser safety glasses, made for our lasers wavelength and with correct OD rating.
- OD shows how much laser light is blocked.
- Never look at laser beam or reflection and even for short time.
- Follow safety steps to avoid danger.
- Even low power laser can harm eyes if not careful.
Conclusion:
This Simple Laser Diode Driver Circuit using IC LM317 gives steady current to laser diode.
Controlled current is important for laser long life and safe work.
If we are new to lasers then ask help from someone who knows electronics and laser safety.
Leave a Reply