N
Norm Dresner
Background: A co-worker came to me about a month ago and asked,
"I have this small, embedded PC with only three slots which are already
full but I need an interrupt from an external signal. What can I do?"
"No problem," said I, "you can use the printer port's interrupt."
"But I don't know how to do that. It's not DOS, it's running Windows
NT."
"No problem," said I again, "I'll just write a device driver for you."
And so I did. And it tested perfectly on my systems here and on the
embedded system using an interrupt-simulation box I built.
Then, the other day, I got a phone call while I was working on one of our
airplanes.
"We measured the PTTI signal and it's 0-10v. Will that be a problem
with the printer port?"
God bless them for actually measuring rather than just assuming
compatibility and connecting it up.
Anyway, a simple pair of 1K resistors solved the problem, but I got to
wondering. Exactly how much damage would it likely have done to get a
~15-30 microsecond wide, 10V pulse into the parallel port (pin 10 IIRC) at a
1 Hz rate? I realize that if the port were actually designed "properly"
with reversed-bias diodes to ground and +5v that it would probably have
worked for years without any real damage. BUT ... how many PC ports are
actually designed with that kind of safeguard?
Does anyone have any explicit knowledge or anecdotal evidence one way or the
other?
TIA
Norm
"I have this small, embedded PC with only three slots which are already
full but I need an interrupt from an external signal. What can I do?"
"No problem," said I, "you can use the printer port's interrupt."
"But I don't know how to do that. It's not DOS, it's running Windows
NT."
"No problem," said I again, "I'll just write a device driver for you."
And so I did. And it tested perfectly on my systems here and on the
embedded system using an interrupt-simulation box I built.
Then, the other day, I got a phone call while I was working on one of our
airplanes.
"We measured the PTTI signal and it's 0-10v. Will that be a problem
with the printer port?"
God bless them for actually measuring rather than just assuming
compatibility and connecting it up.
Anyway, a simple pair of 1K resistors solved the problem, but I got to
wondering. Exactly how much damage would it likely have done to get a
~15-30 microsecond wide, 10V pulse into the parallel port (pin 10 IIRC) at a
1 Hz rate? I realize that if the port were actually designed "properly"
with reversed-bias diodes to ground and +5v that it would probably have
worked for years without any real damage. BUT ... how many PC ports are
actually designed with that kind of safeguard?
Does anyone have any explicit knowledge or anecdotal evidence one way or the
other?
TIA
Norm