[PARPORT] simple par port question

From: Peter (peter.williams@lycos.com)
Date: Wed Aug 13 2003 - 10:05:12 EDT

  • Next message: Blaise Gassend: "Re: [PARPORT] simple par port question"

    Hello,

    I am trying to build a very basic parallel port interface to control a relay. (I've copied the basic schematic, that I found elsewhere on the web, to: http://rbanks.customer.netspace.net.au/pport.htm for your reference.)

    The problem I'm having is simple: it just won't work! : )

    I've connected the 5v+ pin of my parallel port to the 4.7k resistor. (It doesn't matter which direction the resistor goes does it?) I've then connected the resistor to the base pin (B) of my transistor (an NPN 2N2222A). I've connected the ground pin of my parallel port to the emitter pin (E) of my transistor. This is as much as I've built for now as I'm not even getting a signal from my transistor! (The signal from my transistor is supposed to trigger the relay.)

    I then send 5v+ out my parallel port (or just under 5 volts, maybe 4.8 volts). I've measured it with my multimeter. Then I put the red cable of my multimeter on the collector pin (C) of my transistor and the black cable of my multimeter on the emitter pin of my transistor and I get nothing! However, when I put the red cable of my mulitmeter on the other side of the resistor (after resistance) I get between 2 and 3 volts (I think, that's from memory). Then if I put the red cable of my multimeter on before the resistor I get just under 5volts (probably about 4.8 volts, but my multimeter is one of those analogue ones with the needle so I can't be sure, it may be a little more or a little less).

    It seems everything works fine until the transistor. I would really appreciate any help... as you can probably see from my I-put-the-red-cable-there language, I'm very new when it comes to electronics, but I am a great java programmer : D

    Kind regards,

    Pete

    ____________________________________________________________
    Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
    http://login.mail.lycos.com/r/referral?aid=27005

    -- To unsubscribe, send mail to: linux-parport-request@torque.net --
    -- with the single word "unsubscribe" in the body of the message. --



    This archive was generated by hypermail 2b29 : Wed Aug 13 2003 - 10:15:09 EDT