Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Using Parallel Port for Input

Posted on 1998-08-03
2
Medium Priority
?
226 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 400 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

Enhanced Intelligibility Without Cable Clutter

Challenge: The ESA office in Brussels wanted a reliable audio conference system for video conferences. Their requirement - No participant must be left out from the conference and the audio quality must not be compromised.

Question has a verified solution.

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

Does your iMac really need a hardware upgrade? Will upgrading RAM speed-up your computer? If yes, then how can you proceed? Upgrading RAM in your iMac is not as simple as it may seem. This article will help you in getting and installing right RA…
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

604 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