Solved

Using Parallel Port for Input

Posted on 1998-08-03
2
224 Views
Last Modified: 2010-04-26
Hi,
I'm trying to use the parallel port for inputing a couple of switches into a laptop computer.  I have a requirement to be completely standalone, running just on the batteries of the laptop.  That leaves me with a problem of providing a 5V source to use to hold the input bits high to allow the switch to ground them out and provide the input (this is how I think I'll have to do it).  My question is, "Can I use the data bits safely to provide a constant 5V source by holding a logic 1 (or zero as the case may be) on them?"  I am planning a load resister of 10k.  My plan will be to put the resistor between pins 2(D0) and 11(BSY) and the switch between pin 11 and 18(GND).  I'll read the switch input in the BSY bit of the status register.  Will this work safely?  Thanks.
Mark
0
Comment
Question by:mustang070597
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Author Comment

by:mustang070597
ID: 1122121
Edited text of question
0
 
LVL 2

Accepted Solution

by:
warmcat earned 100 total points
ID: 1122122
Mustie -

Most implementations already have a pullup resistor on BUSY, which is usually something between 1K and 10K.  Your additional resistor will cause no problems but will usually be unnecessary.  The 10K value is playing it very safe: there are no issues if you chose a 1K resistor.  Your whole plan will work fine.

-Andy
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
Arrow Electronics was searching for a KVM  (Keyboard/Video/Mouse) switch that could display on one single monitor the current status of all units being tested on the rack.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question