Results 1 to 10 of 10

Thread: led in circuit

  1. #1
    Registered
    Join Date
    Nov 2004
    Location
    TR
    Posts
    17
    Downloads
    0
    Uploads
    0

    led in circuit

    Hi, i have a lpt breakout opto board and you can see the output section of this circuit below. How can i place a led in this circuit to view signal output without reducing the output voltage 5V?



  2. #2
    gar
    gar is offline
    Registered
    Join Date
    Mar 2005
    Location
    USA
    Posts
    1,498
    Downloads
    0
    Uploads
    0
    071226-2001 EST USA

    graphpix:

    A Stanley EFR5366X (DigiKey 404-1090-ND) in series with your 4.7 K resistor will give lots of brightness. If you use a 470 ohm it will be much brighter.

    Or a less bright LED in series with the opto input.

    In each case the LED is on when current flows into the coupler.

    (edit)
    What is the load on the output? This will be a major factor on the output voltage. If it is a 2n7000 FET, then there is virtually no load. If it is a 100 ohm resistor to ground, then there won't be much output voltage. If it is 100 ohms to +5, then there is lots of output voltage, but the opto may not be able to pull it down. So it is true if the LED is in series with the 4.7 k resistor, then you might excessively reduce the output and caause a residual glow in the LED. You have to more completely define the circuit.
    (end edit)

    .


  3. #3
    Registered
    Join Date
    Nov 2004
    Location
    TR
    Posts
    17
    Downloads
    0
    Uploads
    0
    (edit)
    What is the load on the output? This will be a major factor on the output voltage. If it is a 2n7000 FET, then there is virtually no load. If it is a 100 ohm resistor to ground, then there won't be much output voltage. If it is 100 ohms to +5, then there is lots of output voltage, but the opto may not be able to pull it down. So it is true if the LED is in series with the 4.7 k resistor, then you might excessively reduce the output and caause a residual glow in the LED. You have to more completely define the circuit.
    (end edit)

    output line directly connected to the simple l297-298 stepper driver board and l297's clock pin (18). driver board schematic below:



  4. #4
    gar
    gar is offline
    Registered
    Join Date
    Mar 2005
    Location
    USA
    Posts
    1,498
    Downloads
    0
    Uploads
    0
    071227-0816 EST USA

    graphpix:

    You need to get a datasheet for your for your IC and study the input characteristics of the inputs you expect to drive. Or experiment.

    The Stanley LED I referenced has a drop of about 1.5 V with 1 M series resistance and 5 V source, or about 3.5 microamps current. A dim glow exists.

    Assuming your input requires 100 microamps pullup, then a 4.7 K resistor has a drop of 0.47 V, and 470 ohms has 0.047 V. With a series LED you have to add the approximate 1.5 V.

    If you use 470 ohms, and put the LED and a 27 K series resistor between the optic output and ground, then the approximate current thru the 470 ohm resistor is (5-1.5)/27,500. or 0.13 MA from the LED path. This is a drop of about 0.06 V from the LED circuit. To this you have to add the drop resulting from the pullup current to your I297. You can make various different asumptions and do your own calculations.

    A separate question is whether a darlington opto isolator is fast enough for what you want to do?

    .


  • #5
    Registered
    Join Date
    Nov 2004
    Location
    TR
    Posts
    17
    Downloads
    0
    Uploads
    0
    Thanks for detailed info gar;

    "A separate question is whether a darlington opto isolator is fast enough for what you want to do?"

    I don't know really if it is fast enough or not but i have lot's of this optocouplers and wanted to use them. I'm using 74ls04 for buffering lpt outputs and then connecting opto-couplers. Speed is not important for now, i'm trying to build a simple diy cnc machine, if it works i can spend some money for a professional parallel port opto-isolator board.

    thanks for your help again.


  • #6
    Registered pminmo's Avatar
    Join Date
    Jun 2003
    Location
    St. Peters, Mo USA
    Posts
    3,325
    Downloads
    0
    Uploads
    0
    The problem you going to run into is the opto for the step and direction has to be fast unless you plan to write your own cnc software. You may also run into incorrect step problems because of the lack of a low inpedance drive to the l297.
    Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
    Vist my websites - http://pminmo.com & http://millpcbs.com


  • #7
    Registered
    Join Date
    Oct 2012
    Location
    RSA
    Posts
    2
    Downloads
    0
    Uploads
    0

    VCC and V_Motor

    Quote Originally Posted by graphpix View Post
    (edit)
    What is the load on the output? This will be a major factor on the output voltage. If it is a 2n7000 FET, then there is virtually no load. If it is a 100 ohm resistor to ground, then there won't be much output voltage. If it is 100 ohms to +5, then there is lots of output voltage, but the opto may not be able to pull it down. So it is true if the LED is in series with the 4.7 k resistor, then you might excessively reduce the output and caause a residual glow in the LED. You have to more completely define the circuit.
    (end edit)

    output line directly connected to the simple l297-298 stepper driver board and l297's clock pin (18). driver board schematic below:

    This is a stunning design! what are the voltages for VCC and V_Motor? 5V and 45V?


  • #8
    Registered
    Join Date
    Nov 2004
    Location
    TR
    Posts
    17
    Downloads
    0
    Uploads
    0
    Yes Vcc is 5v an V_MOTOR is max 50(limit for l298)


  • #9
    Registered
    Join Date
    Oct 2012
    Location
    RSA
    Posts
    2
    Downloads
    0
    Uploads
    0

    Break out bord

    Hallo Graphix

    Thanx for the feedback. Seems like you are the master around here. can you please advice where i can obtain the breakout board that works with this stepper controller circuit? i would like to complete the whole project.


  • #10
    Registered
    Join Date
    Nov 2004
    Location
    TR
    Posts
    17
    Downloads
    0
    Uploads
    0
    Actually you don't need a breakout board for this circuit. Make proper wiring to circuit, and set mach3 port configuration and run your motors. But if you starting a new project buy a 3axis tb6560 stepper driver board . You can get it from ebay about 40$s. It is a microstepdriver with opto isolated inputs, running smoother. You can get more info about this controller by searching this forum.


  • Similar Threads

    1. Someone Please Check MY circuit
      By Mr.Chips in forum Xylotex
      Replies: 6
      Last Post: 10-21-2006, 11:42 AM
    2. Dump circuit
      By Pbrew1 in forum Servo Motors and Drives
      Replies: 1
      Last Post: 07-25-2006, 12:15 AM
    3. Circuit Help
      By Shanghyd in forum General Electronics Discussion
      Replies: 9
      Last Post: 09-16-2005, 09:02 AM
    4. Any R/C people using this circuit?
      By Al_The_Man in forum Parts for Radio Control Models
      Replies: 1
      Last Post: 03-22-2005, 12:48 PM
    5. Circuit needed
      By jimini in forum DIY CNC Router Table Machines
      Replies: 5
      Last Post: 09-04-2003, 09:06 PM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.