|
 |
04-15-2004, 05:37 PM
|
#1
|
|
Constant Bitrate
Join Date: Oct 2003
Location: Vancouver, BC
Posts: 122
|
Serial GPS unit, does it use pin 8?
The motherboard I bought only has one serial port, is it possible to have the serial GPS unit plugged in and solder the 5V line from the power supply to pin 8 so I can use that as a shut down controller? I'm eventually going to use a USB gps unit, just curious of it would work or not.
|
|
|
|
|
|
Advertisement
|
Sponsored links
|
04-15-2004, 05:43 PM
|
#2
|
|
Newbie
Join Date: Apr 2004
Location: Blackpool, UK
Posts: 39
|
yeh that such work, as long as u dont need dts/rts handshaking, which u dont on gpses usually, they just send blind. infact all you need is the rx line from the gps serial, the other pins on the serial port can be used for other input/output. make sure the app your running for gps output doesnt use the other pins mind, if so you might need to write a simple app that creates a virtual com port for your gps app to access, and your app will just write whatever it sees on the serial rx line to your virtual comport, and ignore any writes to the virtual comport from ur gps app.
hope that helps
regards
matt brocklehurst
__________________
Website: www.carpcshop.com
Email: matt.brocklehurst@terrastudios.net
|
|
|
04-15-2004, 06:04 PM
|
#3
|
|
Raw Wave
Join Date: Oct 2003
Location: Madrid
Posts: 1,983
|
Quote: Originally Posted by LittleDragon
The motherboard I bought only has one serial port, is it possible to have the serial GPS unit plugged in and solder the 5V line from the power supply to pin 8 so I can use that as a shut down controller? I'm eventually going to use a USB gps unit, just curious of it would work or not.
Windows will only allow one app to control the com port, so I don't see this working...If you're using Windows
5v line to pin 8, how does that work?
|
|
|
04-15-2004, 06:18 PM
|
#4
|
|
Constant Bitrate
Join Date: Oct 2003
Location: Vancouver, BC
Posts: 122
|
Quote: Originally Posted by Laidback
Windows will only allow one app to control the com port, so I don't see this working...If you're using Windows
5v line to pin 8, how does that work?
just relay it with the ignition and setup a UPS. When you turn off the key, it'll cut power to pin 8 which makes windows think the UPS lost power and proceeds to shut down.
|
|
|
04-15-2004, 06:25 PM
|
#5
|
|
Raw Wave
Join Date: Oct 2003
Location: Madrid
Posts: 1,983
|
Quote: Originally Posted by LittleDragon
just relay it with the ignition and setup a UPS. When you turn off the key, it'll cut power to pin 8 which makes windows think the UPS lost power and proceeds to shut down.
Ok, I thought you may have meant through a relay, that's how mine works....but Windows won't let you put both the USP service and another program (GPS) on the same com port.
Last edited by Laidback; 04-15-2004 at 06:28 PM.
|
|
|
04-15-2004, 06:33 PM
|
#6
|
|
Variable Bitrate
Join Date: Mar 2004
Posts: 315
|
Quote: Originally Posted by Laidback
Windows will only allow one app to control the com port, so I don't see this working...If you're using Windows
thats not entirely true. You can write a layer that will be integrated with the comm port driver which will pass everything on without opening a port. That same layer can make a "fake" comm port made up of only pin 8, which your shutdown device will use.
Its the same principle on which ComPort Monitors work. I just wish I had all my bookmarks from my old HDD, I had a ton of links on the subject. But if you  you'll be fine.
|
|
|
04-15-2004, 06:38 PM
|
#7
|
|
Raw Wave
Join Date: Oct 2003
Location: Madrid
Posts: 1,983
|
Quote: Originally Posted by arkadiyp
thats not entirely true. You can write a layer that will be integrated with the comm port driver which will pass everything on without opening a port. That same layer can make a "fake" comm port made up of only pin 8, which your shutdown device will use.
Its the same principle on which ComPort Monitors work. I just wish I had all my bookmarks from my old HDD, I had a ton of links on the subject. But if you  you'll be fine.
Well, he was only talking about connecting things, not writing 'layers'
I'd be very interested when you find your bookmarks, in the mean time, I'll google again....
|
|
|
04-15-2004, 06:42 PM
|
#8
|
|
Variable Bitrate
Join Date: Mar 2004
Posts: 315
|
Quote: Originally Posted by Laidback
I'd be very interested when you find your bookmarks, in the mean time, I'll google again....
My drive is DEAD, smoke and everything (took PSU and Video Card along with it), from what I remember I found most info on MSDN part of microsoft. Just for the record they are not called layers (at least I don't think so), if I find the info again I'll post it.
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
04-15-2004, 06:44 PM
|
#9
|
|
Raw Wave
Join Date: Oct 2003
Location: Madrid
Posts: 1,983
|
And it's probably possible using a Virtual Com Port Splitter such as This, as long as the GPS software ignores pin 8. (and the UPS service ignores the pins that the GPS is using)
Last edited by Laidback; 04-15-2004 at 06:49 PM.
|
|
|
04-15-2004, 06:49 PM
|
#10
|
|
Variable Bitrate
Join Date: Mar 2004
Posts: 315
|
Quote: Originally Posted by Laidback
And it's probably possible using a Virtual Com Port Splitter such as This as long as the GPS software ignores pin 8.
That particular one only allows the data line to be monitored by the virtual ports, but the idea is kind of similar.
|
|
|
04-15-2004, 06:51 PM
|
#11
|
|
Raw Wave
Join Date: Oct 2003
Location: Madrid
Posts: 1,983
|
Quote: Originally Posted by arkadiyp
That particular one only allows the data line to be monitored by the virtual ports, but the idea is kind of similar.
Yeah, that's true. maybe another splitter could do it, not that there's many (free ones) about!
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:53 PM.
| |