From owner-freebsd-hackers Sun Oct 27 11:48:16 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 116E537B401 for ; Sun, 27 Oct 2002 11:48:15 -0800 (PST) Received: from scaup.mail.pas.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9821843E4A for ; Sun, 27 Oct 2002 11:48:14 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0177.cvx22-bradley.dialup.earthlink.net ([209.179.198.177] helo=mindspring.com) by scaup.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 185tON-0005OU-00; Sun, 27 Oct 2002 11:48:12 -0800 Message-ID: <3DBC42AF.C68F31B0@mindspring.com> Date: Sun, 27 Oct 2002 11:46:55 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Matthew Dillon Cc: David Nicholas Kayal , nbari@unixmexico.com, freebsd-hackers@FreeBSD.ORG Subject: Re: i am looking for a 5 volt signal References: <200210271919.g9RJJFEm091313@apollo.backplane.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Matthew Dillon wrote: > Uh guys. Parallel port digital outputs do not generally have a whole > lot of drive. I really doubt a parallel port output could drive a > relay. Depends on the amperage the relay draws. 8-). I used to use the paralell port output to drive a pulse dialer and "off hook" for a modem that didn't have the capability itself (a 300 baud accoustic couple modem). One of the reasons I laugh when I see the "war dialer" scene in War Games. That said, you damn well better not draw any real current from the parallel port, if you want to avoid cooking it. In other words, do *not* use it to power something external, and if you are using it for a 1/0 signal to something that wangts to switch a lot of volts and amps from a real power supply, consider using an SCR, instead. > > And it's probably TTL level equivalents, not CMOS. Even if you ganged > the output bits together I doubt you would get enough drive out of > them. > > A serial port output (+/-12 but you may see +/-10 or -5 and +12 or other > out-of-spec combinations) is far more likely to be useful in driving > a relay, though again there will not be much drive. It would be far > better to supply the power you need from another source, like a +5V > power supply. Or just get a wallwart with DC output and run it through > a linear regulator. At least then you aren't likely to burn the house > down :-) Get a brick and use an SCR to switch the brick. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message