Re: PC port question



Sjouke Burry wrote:

Jamie wrote:

Baron wrote:

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?


You have been playing with serial ports to much :) :)
LPT port is ttl, with a pull up to Vcc minus one or two
diode voltages(between 1 and 2 volts).
yeah well, at least i have something to play with.
:)


--
"I'm never wrong, once i thought i was, but was mistaken"
Real Programmers Do things like this.
http://webpages.charter.net/jamie_5

.



Relevant Pages

  • Re: is any one sniffing comports on win2k or XP?
    ... It requires no hardware and its free. ... >serial LED device (device with bi-color leds for each pin). ... >>bajillions of DOS apps that claim to spy on a com port but I have had no ... Every app I try to use results in a com port in use ...
    (Vuln-Dev)
  • Re: PC port question
    ... blow the LEDs, but will the 9v cause problems ... When the parallel port pin is low current will flow from the +9v ... Real Programmers Do things like this. ...
    (sci.electronics.basics)
  • Re: PC port question
    ... blow the LEDs, but will the 9v cause problems ... When the parallel port pin is low current will flow from the +9v ... totalise DOT co DOT uk and replace me with ...
    (sci.electronics.basics)
  • Re: PC port question
    ... blow the LEDs, but will the 9v cause problems ... When the parallel port pin is low current will flow from the +9v though ... Are you saying that you want to use 1k resistors just because you don't ...
    (sci.electronics.basics)
  • Re: PWM LED Array
    ... a few intensity levels for all LEDs. ... For 500 mA max at the USB port, assuming a proper dialog with the port ... I was imagining one PWM channel driving one transistor that then ...
    (comp.arch.embedded)