+ Reply to Thread
Results 1 to 5 of 5

Thread: Parallel Port Hazard inquiry

  1. #1
    Nayyi Bad
    Join Date
    Aug 2007
    Location
    Philippines
    Posts
    28

    Default Parallel Port Hazard inquiry

    It is true that it could be fatal if one would directly connect a circuit, with an external power source, to the parallel port of the PC. There will be no inputs that will go back to the PC's parallel port yet there aren't aven diodes to protect the PC from feedback. The parallel port will be driving a DC Motor, a Stepper Motor, an Electromagnet and a flashing LED

    thanks


  2. #2
    dknguyen Excellent dknguyen Excellent dknguyen Excellent dknguyen Excellent dknguyen Excellent dknguyen Excellent dknguyen Excellent dknguyen Excellent dknguyen Excellent
    Join Date
    May 2006
    Location
    Alberta, Canada
    Posts
    6,028

    Default

    Off the top of my head? I would say no. I would say you might want to protect your PC by isolating the parallel port form something that can make an inductive spike like 3 of your major loads, however.

  3. #3
    ecerfoglio Newbie
    Join Date
    Jul 2007
    Location
    Buenos Aires
    Posts
    177

    Exclamation SAFETY notice

    Quote Originally Posted by Nayyi
    It is true that it could be fatal if one would directly connect a circuit, with an external power source, to the parallel port of the PC.
    Depending on your load, it can be fatal to you or another people that touches the PC

    If the external power source and the PC have a common ground connection, the power supply should be isolated from the mains (ie it must have a transformer)

    If you must control something that is not isolated from the mains you should use optoisolators between the PC and your load.

    Use safety precautions, remember that line voltages (110V or 220V) are dangerous

    Quote Originally Posted by Nayyi
    There will be no inputs that will go back to the PC's parallel port yet there aren't aven diodes to protect the PC from feedback. The parallel port will be driving a DC Motor, a Stepper Motor, an Electromagnet and a flashing LED
    As dknguyen posted, only one of your loads (the led) is "safe" for your PC.

    Both motors and the electromagnet should have, at least, diodes in parallel to protect the port from the EMF spikes they generate.

    Without the diodes they "can be fatal" to the PC.
    E Cerfoglio
    Buenos Aires
    Argentina

  4. #4
    Boncuk Excellent Boncuk Excellent Boncuk Excellent Boncuk Excellent Boncuk Excellent Boncuk Excellent Boncuk Excellent
    Join Date
    Nov 2007
    Location
    Phetchabun,Thailand
    Posts
    3,455

    Default

    You can't drive a stepper motor from the parallel port! The data on it are just voltages (5V) with low current.

    You can however control drivers with those signals. Use opto-isolators for each wire connected to the parallel port. It's the safest way not to kill your PC.

    The same way you can use status lines like PE (paper empty), busy and strobe for inputs to the parallel port.

    Bosco

  5. #5
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,788

    Default

    Quick word of warning! - it's VERY easy to kill the parallel port in your PC, and as they are now part of the motherboard, it's not cheap to repair it (adding an extra card may not be possible, and may not work for everything either).
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

+ Reply to Thread

Similar Threads

  1. Parallel port control port: is it Write Only or Read/Write
    By elexhobby in forum Electronic Projects Design/Ideas/Reviews
    Replies: 6
    Latest: 23rd December 2008, 10:18 AM
  2. Parallel Port & Microcontroller
    By Omar.M in forum General Electronics Chat
    Replies: 10
    Latest: 14th August 2007, 09:31 AM
  3. Need help badly on Inchworm and MPLAB
    By thushy in forum Micro Controllers
    Replies: 14
    Latest: 11th March 2007, 06:05 PM
  4. I need: Parallel Port.. examples and applications..
    By sonaiko in forum General Electronics Chat
    Replies: 8
    Latest: 28th October 2006, 01:44 PM
  5. Multiple devices controlled at once on one parallel port
    By Kerri Ann in forum Electronic Projects Design/Ideas/Reviews
    Replies: 0
    Latest: 18th February 2005, 10:52 AM

Tags for this Thread