Solved

Using Parallel Port for Input

Posted on 1998-08-03
2
218 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
2 Comments
 

Author Comment

by:mustang070597
Comment Utility
Edited text of question
0
 
LVL 2

Accepted Solution

by:
warmcat earned 100 total points
Comment Utility
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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Dedicated GPU? 21 59
Refurbished 16 55
Need recommendation for a data recovery company 19 62
Top cover replacement dell latitude d620 12 48
this article is a guided solution for most of the common server issues in server hardware tasks we are facing in our routine job works. the topics in the following article covered are, 1) dell hardware raidlevel (Perc) 2) adding HDD 3) how t…
Great sound, comfort and fit, excellent build quality, versatility, compatibility. These are just some of the many reasons for choosing a headset from Sennheiser.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now