Welcome to Laser Pointer Forums - discuss green laser pointers, blue laser pointers, and all types of lasers

LPF Donation via Stripe | LPF Donation - Other Methods

Links below open in new window

ArcticMyst Security by Avery

Adding TTL input to a DDL driver

Joined
Mar 25, 2015
Messages
14
Points
0
Hey LPF,

I've been working on a CNC laser engraver lately.
Everything is up and running for the laser itself, and for that to happen it needs to gain a TTL input.
I'm using a LM317 DDL driver (LM350 to be precise) to supply the diode with power.

As far as I have understood TTL basically switches a port from high to low.
So looking around how to add TTL to a DDL driver I found a blog from somebody who used a DDL driver and added a optocoupler/-isolator and a NPN transistor to the circuit to achieve a TTL input.
laser_driver.png


Now I do have a 6N138 optocoupler and a TIP122 NPN transistor laying around.
Can i use the setup from this schemtic to achieve a TTL input for my laser engraver/cutter?
 





Joined
Nov 1, 2014
Messages
662
Points
28
I would advise you to change the transistor from the ground to the 9v
 
Last edited:
Joined
Mar 25, 2015
Messages
14
Points
0
So instead of the optocoupler and transistor being where they are in the schematic I should move them in between the power source and the IN pin on the LM350?

And I can use a TIP122 and a 6N138 for this, or would a TIP122 suffice?
 
Last edited:
Joined
Sep 12, 2007
Messages
9,399
Points
113
Omitting the optocoupler is okay if you are okay with your signal being common with the 9V ground. It depends on your setup.

There are more elegant ways of supplying TTL constant current, but this will work.

I would advise you to change the transistor from the ground to the 9v

That won't work. Not unless the ON signal is 15V+. This is an NPN - not a PNP or PMOS. It's fine where it is.
 
Joined
Mar 25, 2015
Messages
14
Points
0
Omitting the optocoupler is okay if you are okay with your signal being common with the 9V ground. It depends on your setup.

There are more elegant ways of supplying TTL constant current, but this will work.

That won't work. Not unless the ON signal is 15V+. This is an NPN - not a PNP or PMOS. It's fine where it is.

So in this schematic the transistor can remain where it is right now?

And having the common ground being 9V is not a problem for my controller, it can handle up to 12V so i'm safe there.

You did say there were more elegant ways of doing a TTL driver, do you have an example/schematic?
 




Top