Computing.Net > Forums > General Hardware > Serial Port Help

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Serial Port Help

Reply to Message Icon

Name: Jay1987
Date: December 16, 2008 at 10:41:06 Pacific
OS: XP
CPU/Ram: 256
Product: Xx / XX
Comment:

OK the problem is that I want my program to detect when a arcane game style push button is pressed but I know very little about how the serial port works. I am currently testing with a 9 pin connector by touching different combinations of pins together but am having no luck. Could someone explain how I can send a signal without using any other conponents other than the button and the serial cable? Note that the data sent doesn't matter, i just need anything that will fire an event.

Put your hand on a hot stove for a minute, and it seems like an hour. Sit with a pretty girl for an hour, and it seems like a minute. That's relativity.



Sponsored Link
Ads by Google

Response Number 1
Name: aegis
Date: December 16, 2008 at 10:46:51 Pacific
Reply:

It would be a lot easier with a parallel port.

http://www.google.com/search?hl=en&...

But if you only have a serial port, you will need some additional external hardware:

http://www.google.com/search?hl=en&...


0

Response Number 2
Name: Jay1987
Date: December 16, 2008 at 10:52:26 Pacific
Reply:

ok I have access to a parallel port also so would it be possible for someone to give me a short description or draw me a diagram of what pins to use or how I can use it with my scenario.

Put your hand on a hot stove for a minute, and it seems like an hour. Sit with a pretty girl for an hour, and it seems like a minute. That's relativity.


0

Response Number 3
Name: OtheHill
Date: December 16, 2008 at 11:04:55 Pacific
Reply:
0

Response Number 4
Name: wizard-fred
Date: December 16, 2008 at 11:09:41 Pacific
Reply:

Part of the problem is that the newer windows do not direct manipulation of ports. All types of the old style ports, serial, parallel, and game could detect switch closure. The problem is now you need a driver for the port.


0

Response Number 5
Name: aegis
Date: December 16, 2008 at 11:33:14 Pacific
Reply:

I doubt if there are very many (any?) home users who have tried to program a parallel port under XP. That was only done by a few during the days of DOS.


0

Related Posts

See More



Response Number 6
Name: Mike Newcomb
Date: December 16, 2008 at 21:27:42 Pacific
Reply:

Be *very* careful experimenting the way you are as sometimes different voltages are involved between port types and one can blow a port.

As Othehill says, google is your friend.
e.g. some useful hits from googling for serial port pins:-

http://www.lammertbies.nl/comm/cabl...

http://www.dataip.co.uk/Reference/S...

http://www.beyondlogic.org/serial/s...

What you are looking for is a condition (rather than data) and for this DTR or RTS/CTS could be used.

Note a 25 pin port uses different pins.

Good Luck - Keep us posted.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to General Hardware Forum Home


Sponsored links

Ads by Google


Results for: Serial Port Help

serial port programming www.computing.net/answers/hardware/serial-port-programming/60740.html

Testing Serial program using same port www.computing.net/answers/hardware/testing-serial-program-using-same-port/59776.html

serial port configuration query www.computing.net/answers/hardware/serial-port-configuration-query/47589.html