go_away

Author Topic: Standard Parallel Port I/O  (Read 2187 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?

 


Get Your Ad Here