Old 06-13-2015, 10:45 PM #1
XDr4g0nX's Avatar
Junior Member
 
Join Date: Mar 2015
Location: Netherlands
Posts: 14
Rep Power: 0
XDr4g0nX has a spectacular aura aboutXDr4g0nX has a spectacular aura about
XDr4g0nX XDr4g0nX is offline
Junior Member
XDr4g0nX's Avatar
 
Join Date: Mar 2015
Location: Netherlands
Posts: 14
Rep Power: 0
XDr4g0nX has a spectacular aura aboutXDr4g0nX has a spectacular aura about
Question Adding TTL input to a DDL driver

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.


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?


XDr4g0nX is offline   Reply With Quote


















Old 06-14-2015, 03:32 AM #2
marcuspeh's Avatar
Class 2M Laser
 
Join Date: Nov 2014
Posts: 663
Rep Power: 15436
marcuspeh has a reputation beyond reputemarcuspeh has a reputation beyond reputemarcuspeh has a reputation beyond reputemarcuspeh has a reputation beyond reputemarcuspeh has a reputation beyond reputemarcuspeh has a reputation beyond reputemarcuspeh has a reputation beyond reputemarcuspeh has a reputation beyond reputemarcuspeh has a reputation beyond reputemarcuspeh has a reputation beyond reputemarcuspeh has a reputation beyond repute
marcuspeh marcuspeh is offline
Class 2M Laser
marcuspeh's Avatar
 
Join Date: Nov 2014
Posts: 663
Rep Power: 15436
marcuspeh has a reputation beyond reputemarcuspeh has a reputation beyond reputemarcuspeh has a reputation beyond reputemarcuspeh has a reputation beyond reputemarcuspeh has a reputation beyond reputemarcuspeh has a reputation beyond reputemarcuspeh has a reputation beyond reputemarcuspeh has a reputation beyond reputemarcuspeh has a reputation beyond reputemarcuspeh has a reputation beyond reputemarcuspeh has a reputation beyond repute
Default Re: Adding TTL input to a DDL driver

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

Last edited by marcuspeh; 06-14-2015 at 03:32 AM.
marcuspeh is offline   Reply With Quote
Old 06-14-2015, 09:50 AM #3
XDr4g0nX's Avatar
Junior Member
 
Join Date: Mar 2015
Location: Netherlands
Posts: 14
Rep Power: 0
XDr4g0nX has a spectacular aura aboutXDr4g0nX has a spectacular aura about
XDr4g0nX XDr4g0nX is offline
Junior Member
XDr4g0nX's Avatar
 
Join Date: Mar 2015
Location: Netherlands
Posts: 14
Rep Power: 0
XDr4g0nX has a spectacular aura aboutXDr4g0nX has a spectacular aura about
Default Re: Adding TTL input to a DDL driver

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 by XDr4g0nX; 06-14-2015 at 10:08 AM.
XDr4g0nX is offline   Reply With Quote
Old 06-16-2015, 11:22 PM #4
Cyparagon's Avatar
Class 4 Laser
 
Join Date: Sep 2007
Location: Wisconsin
Posts: 9,292
Rep Power: 199036
Cyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond repute
Cyparagon Cyparagon is online now
Class 4 Laser
Cyparagon's Avatar
 
Join Date: Sep 2007
Location: Wisconsin
Posts: 9,292
Rep Power: 199036
Cyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond repute
Default Re: Adding TTL input to a DDL driver

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.

Quote:
Originally Posted by marcuspeh View Post
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.
__________________
A problem well stated is a problem half solved.
Cyparagon is online now   Reply With Quote
Old 06-17-2015, 07:48 AM #5
XDr4g0nX's Avatar
Junior Member
 
Join Date: Mar 2015
Location: Netherlands
Posts: 14
Rep Power: 0
XDr4g0nX has a spectacular aura aboutXDr4g0nX has a spectacular aura about
XDr4g0nX XDr4g0nX is offline
Junior Member
XDr4g0nX's Avatar
 
Join Date: Mar 2015
Location: Netherlands
Posts: 14
Rep Power: 0
XDr4g0nX has a spectacular aura aboutXDr4g0nX has a spectacular aura about
Default Re: Adding TTL input to a DDL driver

Quote:
Originally Posted by Cyparagon View Post
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?
XDr4g0nX is offline   Reply With Quote
Old 06-17-2015, 09:22 PM #6
Cyparagon's Avatar
Class 4 Laser
 
Join Date: Sep 2007
Location: Wisconsin
Posts: 9,292
Rep Power: 199036
Cyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond repute
Cyparagon Cyparagon is online now
Class 4 Laser
Cyparagon's Avatar
 
Join Date: Sep 2007
Location: Wisconsin
Posts: 9,292
Rep Power: 199036
Cyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond reputeCyparagon has a reputation beyond repute
Default Re: Adding TTL input to a DDL driver

This for example:
http://laserpointerforums.com/f51/si...ml#post1020909
__________________
A problem well stated is a problem half solved.
Cyparagon is online now   Reply With Quote
Reply

Tags
ddl, engraving, lm317, ttl





Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

























Privacy Policy | Advertising Disclaimer | Terms of Use


 


All times are GMT. The time now is 11:38 PM.


Powered by: vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO
Privacy Policy | Advertising Disclaimer | Terms of Use
Copyright (C) 2017 Laser Pointer Forums, LLC