Globalsat BR355 GPS

DLMUK

Member
Join Date
Jun 2013
Location
Southampton
Posts
311
Hi all,

I have a Globalsat GPS receiver (NMEA 0183) which I have been told is capable of connecting to a PLC using RS232.

It has 4 cables:

+5VDC
0V
TX
RX

I have connected up to my RLC CSMSTRSX and configured the port as raw serial and as 4800/8/N/1. The TX of the GPS is connected to the RX of my RLC device.

However I only get junk coming in the string. I have been on the Globalsat forum and some people suggest connecting my 232 common to the 0V. Which I do not want to do.

Anyone have any ideas?

thanks
 
I recently did the same thing but my (maybe lousy) recollection was that the Globalsat model I used output RS485 levels, not RS232. The RS485 was used so the NMEA could be sent longer distances to multiple receivers, as opposed to RS232 which is only good for short distances (12 ft is the spec, if I recall) and just one receiver. Which model Globalsat and options are you using?
 
Last edited:
So that model is RS232, not RS485.
You would need the PS2 connector of the GPS wired as follows:

GND - Pin 1 - To GND wire of 5VDC Power source
and also to Red Lion RS232 connector COMM pin(s).
RS232 (of Red Lion) requires this gnd reference.

VCC - Pin 2 - To 5VDC Power Source

Rx - Pin 4 - To Red Lion Tx pin

Tx - Pin 5 - To Red Lion Rx pin
 
The GPS device will provide a string in ASCII terminating with a Carriage Return and Linefeed.

It will begin '$GP' then 'GGA' and the rest of the message as shown. You (the device) will have to parse out the time, the 'hhmmss.ss' section. (hours - hh - minutes - mm - seconds - ss - hundreths of a second - .ss)

The '$GP' identifies the source of the message as a GPS device. The 'GGA' identifies this type of message.

This is UTC or as formerly known Greenwich Mean Time. You will have to provide your own local timezone correction.

[Edit: For some reason I got the impression that you wanted time (I don't know why, you said nothing about that in your original post) but this message has location informations also in the string. Good luck.]
 
Last edited:
So that model is RS232, not RS485.
You would need the PS2 connector of the GPS wired as follows:

GND - Pin 1 - To GND wire of 5VDC Power source
and also to Red Lion RS232 connector COMM pin(s).
RS232 (of Red Lion) requires this gnd reference.

VCC - Pin 2 - To 5VDC Power Source

Rx - Pin 4 - To Red Lion Tx pin

Tx - Pin 5 - To Red Lion Rx pin

I have connected like this but the comms is still all over the place. I have created a small program to simply read the string and separate out the header.

Every now and again I get $GPGGA or GGA or $GP. I seem to be half way there but cannot quite get full comms.

I have check the manual, it is 232, 4800/8/N/1. Tried other settings anyway and get even worse results.

Connected a screen on the cable to see if it was a noise problem, GPS has is stuck out the window facing skyward.

At a bit of a loss as to what the cause is.

Thanks
 
Its interesting that the manufacturer calls this 'GPS with PS2 Interface'. The PS2 uses a TTL serial connection rather than RS232. And its also interesting that it runs off a single 5V supply. It may simply be this device outputs TTL serial rather than true RS232. TTL serial swings between 0V and 5V (approximately), whereas true RS232 is +12 to -12 or at least +3 to -3V, referenced to that COMM pin. You may occasionally be seeing good data because you are so close to the mark/space thresholds, but not quite there.

If you have a fast DMM with a peak function or an oscilloscope handy, what does the signal look like? Is it swinging at least above +3V (a high) and below -3V (a low)? If its TTL serial (not going below -3V) you may need to build or buy a TTL Serial to RS232 level converter.
 
Last edited:
@Nwboson

I do not have the means to test at the moment. However I do remember somewhere in the piles of reading I have done that the signal from the device is 0V to 6V (i think it was 6).

Which would tally up with what you are saying.

Cheers,
 

Similar Topics

Hi! i need to connect a mushrom GPS antenna nmea0183 to my wago PFC-200 is there someone who has some best practice methood to do this?do i need...
Replies
0
Views
1,093
Greetings to All, In our project, we have SCADAPack 357 and it to be interface with GPS via Serial Communication RS 232. So I need to know how to...
Replies
0
Views
1,552
Please tell how data is transferring from GPS smart anttenna with PLC(Allen bradley1769 Compactlogix L32E controller) and I/O's Mapping...
Replies
0
Views
1,826
Greetings, Im looking to implement getting GPS coordinates into my Micrologix 1500. I'm using LRP CPU's and have 1 spare RS232 connection...
Replies
8
Views
3,662
I have a two part question regarding reading serial information. I am looking to implement a GPS antenna into my control system using something...
Replies
5
Views
2,680
Back
Top Bottom