View Full Version : Programmer the gps module with motorola hsc12

03-28-2007, 08:44 AM
·Hi All

·I wrote code in ICC software, using C to read from the GPS module. eventhough I'm sending the ASCI equivalent for !GPS before any command I'm still unable to read from the GPS. Do you guys have any hint as far using C to read from the module. a sample code would be perfect. I read something about using pull up resistor. Can somebody shed some·light.
·Thank for the help

Chris Savage
03-28-2007, 10:09 AM
This thread is being moved from the Forum Support Area to the Sandbox.

Chris Savage
Parallax Tech Support

03-28-2007, 09:51 PM
I'd try putting the GPS unit in the 'raw' mode (ground the 'raw' pin) then look for any data. In this mode it will output a stream of text once a second. Sounds like your recieve code not working.

HTH, Chris

03-29-2007, 12:42 AM
I "THINK" the GPS module doesn't output the requested data until it receives the next string of character (this only happens once a seconds). So you may have to wait about a second before you see any character coming back.


"Educate your children to self-control, to the habit of holding passion and prejudice and evil tendencies subject to an upright and reasoning will, and you have done much to abolish misery from their future and crimes from society (http://www.quotationspage.com/quote/29139.html)"

Benjamin Franklin
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
www.hittconsulting.com (http://www.hittconsulting.com)