Re: PC port question
- From: Jamie <jamie_ka1lpa_not_valid_after_ka1lpa_@xxxxxxxxxxx>
- Date: Sat, 11 Nov 2006 13:29:33 -0500
Sjouke Burry wrote:
Jamie wrote:yeah well, at least i have something to play with.
Baron wrote:You have been playing with serial ports to much :) :)
Gareth wrote:
Randy Day wrote:
Before I plug this circuit into my PC, I'd like
to know if it's going to blow things up.
I'd like to use a 9v battery to power it,
rather than a 5v supply, since I'm using spare
parts for this. Can I use 9 volts and 1k
resistors, rather than the 5v and 330 ohms I've
seen in schematics? I know the current won't
blow the LEDs, but will the 9v cause problems
for the port circuitry? Are PC ports active
pull-up, or open-collector devices?
TIA
printer 1k LED
port ___
D0-|___|--|<--|
___ |
D1-|___|--|<--|
___ |
D2-|___|--|<--|-- +9v
___ |
D3-|___|--|<--|
___ |
D4-|___|--|<--|
___ |
etc.-|___|--|<--|
--- | |--
--- ---
- -
(created by AACircuit v1.28 beta 10/06/04 www.tech-chat.de)
Not sure if it will do any damage, but I'm sure it wont work (assuming
you want to switch the LEDs on and off?)
When the parallel port pin is low current will flow from the +9v
though
the LED and the LED will be on. That bit should be OK.
When the parallel port pin is high, it will be 3.3V (unless you have a
very old PC). You then have 9V - 3.3V across the LED and resistor, so
current will still flow and the LED will still be on, though not quite
as bright. You also have a problem that this current is going the
wrong way (into the parallel port when the pin is high). This may do
damage.
I know its academic, but where did you get 3.3 volts from ?
The parallel port uses TTL compatible signals < 0.7v - > 4.8v
and where did you get those standards if may ask?
i think many people have forgotten what the real
standards are.
if memory serves, -12 = low, +12 high.
and the threshold points of
+2.5 = high, -2.5 = low.
anything between that is undefined.
or has my years of work failed me?
LPT port is ttl, with a pull up to Vcc minus one or two
diode voltages(between 1 and 2 volts).
:)
--
"I'm never wrong, once i thought i was, but was mistaken"
Real Programmers Do things like this.
http://webpages.charter.net/jamie_5
.
- References:
- PC port question
- From: Randy Day
- Re: PC port question
- From: Gareth
- Re: PC port question
- From: Baron
- Re: PC port question
- From: Jamie
- Re: PC port question
- From: Sjouke Burry
- PC port question
- Prev by Date: Re: PC port question
- Next by Date: testing H-bridge
- Previous by thread: Re: PC port question
- Next by thread: Re: PC port question
- Index(es):
Relevant Pages
|