Author Topic: Standard Parallel Port I/O  (Read 1945 times)

0 Members and 1 Guest are viewing this topic.

Offline NyxTopic starter

  • Robot Overlord
  • ****
  • Posts: 204
  • Helpful? 0
Standard Parallel Port I/O
« on: August 22, 2007, 03:38:28 PM »
I'm planning to use some USB/Parallel cables as a cheap way to get some digital inputs and outputs for my robot (at $5 each... how can I resist). I'm just wondering.... What is the limit to the number of parallel ports you can have on a PC (using linux)?

I would also like to know... How exactly do you go about writing a bit? Do you simply connect the input pin to a ground pin, say using a resistor? The SPP uses TTL logic, how is this usually done?

Offline NyxTopic starter

  • Robot Overlord
  • ****
  • Posts: 204
  • Helpful? 0
Re: Standard Parallel Port I/O
« Reply #1 on: August 22, 2007, 07:21:17 PM »
Just to be more specific, I'd like to wire 5 push buttons into the status pins of a parallel port for inputs.

Offline alpha_geek

  • Jr. Member
  • **
  • Posts: 10
  • Helpful? 0
  • Digital Jedi
Re: Standard Parallel Port I/O
« Reply #2 on: August 25, 2007, 06:38:13 AM »
I am using the parallel port under Linux too, try this link
http://tldp.org/HOWTO/IO-Port-Programming.html

Offline NyxTopic starter

  • Robot Overlord
  • ****
  • Posts: 204
  • Helpful? 0
Re: Standard Parallel Port I/O
« Reply #3 on: August 25, 2007, 10:46:25 AM »
My question is about how you set a pin to high, from the hardware side...


But that page is interesting nevertheless.... The part about the joystick port and multivibrators sounds like joystick ports could be used for positional feedback. Do you think the same thing could be done over a parallel port?

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
2560 Views
Last post May 26, 2007, 11:53:37 AM
by vbnandu86
15 Replies
4032 Views
Last post July 16, 2007, 05:55:25 PM
by dunk
1 Replies
1523 Views
Last post March 03, 2008, 10:22:08 AM
by dunk
11 Replies
3589 Views
Last post May 04, 2008, 08:41:50 AM
by izua


Get Your Ad Here

data_list