Laser Diode Driver with TTL Control. PCB V2.0 is ready.

Laser Diode Driver with TTL Control. PCB V2.0 is ready.

Laser Diode Driver with TTL control. PCB V2.0, populated

Laser Diode Driver with TTL control. PCB V2.0, populated

This is another one of my belated updates. It has been about 3 months now since I’ve received the boards for the updated version of the laser diode driver from Olimex. However, I haven’t had a chance to work on any project that required a laser driver until just recently and so the boards were not populated and tested for the longest time. Finally, I can report that the design works, here are some pictures and there’s the Eagle board file for the PCB later in the post.

TTL-controlled laser driver board V2 on a breadboard

TTL-controlled laser driver board V2 on a breadboard

The board was designed with breadboard use in mind and so I spaced the headers for the inputs and the outputs accordingly, see the picture on the left. I don’t know if installing the 90 degree headers to stand the board up was such a good idea, I’ll probably do other boards with simple straight up headers.
I haven’t installed the potentiometer (R1, space indicated on the board) because the project I’m using it for, the DVD CNC laser cutter, does not really require much current adjustment, which is what R1 is doing. I’m powering all parts of the CNC laser cutter, including the laser diode driver from a +5V power supply and it just happens that the 2 Ohm resistor R2 gives me just the right current, approximately 150mA, needed for the red laser diode I’ve harvested from a DVD burner drive. If you did really need current adjustment, the power supply would have to be raised to about +9V , the R2 would have to be 10 Ohm or just about and the 100 ohm R1 potentiometer would need to be installed.
The R3 resistor which pulls the control input of the LT1121 chip to supply voltage has not been installed either. If you need the driver normally ON, install R3 and don’t install R4. If you need it normally OFF, don’t install R3 and install R4, which is what I’ve done here.

Elabz Laser Diode Driver Board  V2

Elabz Laser Diode Driver Board V2


It may just be my luck or it may be a temporary situation, but when I started to design this driver back in late 2010, the LT1121 power regulator chip was very common and very cheap, about $0.40 each, delivered from China. It was one of the most important reasons I based the design on LT1121, actually. It took me a while to get a final usable design and have the boards manufactured, so fast forward to July 2012 – the LT1121 chip is nowhere to be found for less than $5 EACH! I still have 3 or 4 of these chips left laying around the bench, and I’m obviously on the lookout for a good source. If anyone knows a good source, I would appreciate a tip!

And last but not least: the Eagle board and schematics files are here:
 Laser Diode Driver V2 Eagle schematics and board files

20 Responses to “Laser Diode Driver with TTL Control. PCB V2.0 is ready.”

  • ncl:

    Hi!

    I have a question about the schematic. If I read it correctly LT1121 sets 3.75V on PIN2 which goes across R2 and LD in series. However everything I read strongly suggests that you should never drive a laser diode with voltage. Am i missing something here?

    • It is true, the voltage regulator will try to raise the voltage on its output until the voltage on the ADJ pin (Pin 2 on LT1121) equals a pre-set value, for LI1121 it’s 3.75V. In this schematic ( http://elabz.com/wp-content/uploads/2012/01/Elabz_TTL_Controlled_Laser_Driver.png ) the output (Pin 1) and ADJ (Pin 2) are shorted and the only path to ground is through the R2 (and, if installed, R1) and the laser diode. The voltage across a red laser diode is always 2.5V and therefore the rest of the 1.25V difference has to come from the current passing through the laser diode and R2. In other words, the regulator does not raise voltage across the laser diode, which would be bad for the diode. It raises the voltage across the R2 resistor until the sum of the voltages on R2 and LD becomes equal 3.75V. If you use higher value R2, the voltage will rise at smaller current and so the current through the LD will be less.

      Check out the LTSpice model for the driver here: http://elabz.com/wp-content/uploads/2012/01/current_source.asc You can play around with input voltages to see that the current across the laser diode is constant from about 5V to all the way up to the upper limit of LT1121 – 30V

      Thanks for stopping by my blog!

  • ewertz:

    Digi-Key has them for $3/ea, or $2/ea for 25.
    If you saw these somewhere for $0.40, they almost certainly weren’t genuine Linear parts — Linear (and Analog Devices, for that matter) don’t make such inexpensive parts… 1/2 :-)

    The ones you saw may have been something like the LT1118 that other companies make pin-compatibles of for 10-25% of the original’s cost.

    good luck!
    -e

  • Kim:

    $1.83 direct from Linear or $1.50 in quantity of 1K

  • Tony:

    a little question: I am using Multisim to simulate your circuit and what load should I use?
    When I use a resistor as load the current is always around 6mA. Should I change a load and what it should be?

  • Hi

    I just want know did you use the laser diode straight from the DVD player or did you have to put extra stuff on the the laser diode to focus the beam.

    Thanks

    • Hello Carel, yes, you do need housing with lens for the diode in order to focus the beam. Otherwise it goes out at a whopping 30 degree aperture – not very useful for cutting anything with the beam (the original intent of the project). I explain the housing I used in better detail here. Thanks for stopping by my blog!

  • Fayez:

    I have question plz how do i connect capacitor on the pcb and on schematic there is not born positive plz reply

  • Perhaps it might be a little more clear on the schematic here: http://elabz.com/ttl-controlled-laser-diode-driver/ . But getting back to the PCB picture in this post, the pin on the right (if you are looking at the board from the component side) is connected to the ground, so the pin on the left then is the one that’s usually marked with a little “+” on the electrolytic capacitors. In general, the flat line on the electrolytic capacitor symbol is the positive side and the curved one is the ground.

  • Fayez:

    Why the r2 resistor is very big i can replace it with normal one 1/2 watt or 1/4 watt

    • It’s true, in many cases the size of the resistor is an overkill. Just pick one that is appropriate for the heat dissipation at the current level you’re looking for: if your resistor is 2 Ohm and you are anticipating 200mA of current through the laser diode, you would have to size R2 for at least 2*0.200=0.4 or approx 1/2 W

  • Tom Batya:

    I know were you can get about 83 of these for $2.00 EA can you send me a DXF of the foil pattern of your board, I would like to build a couple of these.

  • Thanks for stopping by, Tom. I don’t have a ready-made DXF but the Eagle board file attached above in this post ( http://elabz.com/wp-content/uploads/2012/07/LaserDiodeDriver.zip ) can be converted with the free version of Eagle.

  • Nate:

    I have a question on the R3/R4 and ttl. So you say that if R4 is installed its normally off. So the laser is off until an input is detected on the TTL line? Am I correct on this.

    • That’s right – R4 pulls the Enable input of the chip down, and the driver will be off until something (like a I/O pin of an Arduino for example) brings that input up to TTL high.

      Thanks for stopping by!

  • what you think about MIC5235?

  • on Chinese drivers usually write TTL – 30/50khz. But there are problems where the need for greater speed. What do you think LT1121 allows you to modulation at a higher frequency? Say 5-20 megahertz? I read the datasheet but could not find this information out there.

    I know that there is a chip for fiber lasers. They work at gigahertz frequencies. But there is a very weak power output.

    • High frequency switching is not going to work with this driver. I tried to pulse the laser at about 20-50ms and the laser just could not reach the full brightness. So, I don’t think you can expect reliable results trying to modulate it even at 30kHz, unfortunately. I ended up driving that laser diode as a simple LED with a switching transistor – worked just fine. The only precaution I used was to limit the current to half of the max with a resistor – even half current modulated at > 50kHz produces much brighter output (or any output at all) than a laser driver based on LT1121.

      I mostly use this particular driver in laser cutting CNC setup where the modulation frequency rarely, if ever, goes above 100Hz. Only On/Off, no PWM.

      Don’t know much about any particular fiber optics driver but those more readily available and more compatible with this type of laser diode are from multimode-based equipment and so they don’t really need to work at GHz frequencies. I believe something like 60MHz or less with encoding will get you to 100Mb/s that you need for 100Base-FX Ethernet. I have to brush up on modern network speed standards but I don’t believe there’s anything on multimode fiber yet (or will ever be) that pushes more than 1Gb/s through an individual fiber, so your pulse frequencies are always going to be well below 1GHz. But 5-20 MHz should work.

      Cheers!

Leave a Reply

Or use the Forums ! If your comment is a question, please consider posting it to a matching section of our Electronics Forums. The forums allow for a more natural conversation flow, especially if multiple replies are required. Additionally, you'll be able to style your writing (bold font, italics etc.) and post images which can help with a good answer.

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Tools

Coming soon ...

Recent Comments
  • admin: Thank you very much for sharing, Rob!
  • Rob: eLABZ, I had the same issue in Ubuntu 14.04. I found I had to make a few small adjustments to the above approach...
  • Mark: It’s kinda like an internal problem on the circuitry sir. Have done series of tests to check if the...
  • admin: Hard to tell what’s going on with your LCD – probably hasn’t been initiated or some kind of...
  • Mark: Sorry for the late reply of you’re comment too sir. Been busied for a while troubleshooting our project.
  • Mark: Yeah sir. Anyway, We will just have to reconsider the theory of those motors again because it would be asked...
  • Mark Needham: Hey mirceboy, I am using a toggle switch, SPDT center off. I will manually start/stop, or a micro...
  • Jeff R: Can you please give me some details about how to reformat the code from milliseconds to microseconds so I can...
  • admin: You would have to reformat the code to start using microseconds instead of milliseconds for the time...
  • Jeff R: Thanks for posting, this was exactly what I was looking for. I’m using the Sparkfun SM-42BYG011-25...
Meta