575Views2Replies

Author Options:

how do I connect limit switches to a sliding door system controlled by Visual Basic software? Answered

The limit switch system must detect if the door is open and if it is, the whole system must be disabled.

Comments

The forums are retiring in 2021 and are now closed for new topics and comments.
0
steveastrouk
steveastrouk

11 years ago

Use a USB to parallel port adapter, but OPTO-ISOLATE the inputs.

Personally, I wouldn't use a PC to drive a door.

Steve

0
frollard
frollard

11 years ago

If you have a parallel port there are ways to literally read the pins *you can have several io pins directly on your motherboard*, but beware, this can fry your computer.  It's better to use something simple like an arduino or other microcontroller to translate the switch signals into a serial (via usb in the case of arduino) that the computer can read via a com port.

almost 'all' programming languages have access to the com ports - and serial data is easy to work with.