# EM-408 command words

**URL:** <https://community.sparkfun.com/t/em-408-command-words/6176>\
**Category:** Development Boards\
**Created:** [January 16, 2008, 5:35am UTC](https://community.sparkfun.com/t/em-408-command-words/6176 "2008-01-16T05:35:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tayhoenes](https://avatars.discourse-cdn.com/v4/letter/t/a9adbd/32.png) [@tayhoenes](https://community.sparkfun.com/u/tayhoenes)\
**Post date:** [January 16, 2008, 5:35am UTC](https://community.sparkfun.com/t/em-408-command-words/6176/1 "2008-01-16T05:35:20Z")

</div>

I am having trouble senting commands to my EM-408 module. I am using a PIC microcontroler and it seems to be outputing the programming command words just fine…but the GPS does not seem to react to any of the commands.

I noticed that someone put a \r\n at the end of their command word. Is that needed?

thanks

---

<div class="post-metadata">

**Author:** ![texram](https://avatars.discourse-cdn.com/v4/letter/t/bc79bd/32.png) [@texram](https://community.sparkfun.com/u/texram)\
**Post date:** [May 27, 2008, 1:40am UTC](https://community.sparkfun.com/t/em-408-command-words/6176/2 "2008-05-27T01:40:36Z")

</div>

Hi, tayhoenes:

Did you get your EM-408 work?

I just brought EM-408 from Sparkfun, and sent the command:

“$PSRF103,04,00,01,01\*20\r\n” to turn on RMC message.

But the RMC message that I received has just date and time, and data not Valid info.

I turned off all other messages.

Did you any idea what could be wrong?

Thanks

---

<div class="post-metadata">

**Author:** ![scalegps](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@scalegps](https://community.sparkfun.com/u/scalegps)\
**Post date:** [June 12, 2008, 7:59pm UTC](https://community.sparkfun.com/t/em-408-command-words/6176/3 "2008-06-12T19:59:17Z")

</div>

Texram/Tayhoenes,

Yes you need to put the “\r\n” at the end of the command string. Without this carriage return\line feed pair at the end of the string the command will not be accepted.

If your RMC message just has date and time with a NV flag this normally means that you are tracking only 1 or 2 satellites. Depending on the firmware in the receiver, 1 or 2 satellites are all that is needed for date and time, while you need at least 3 SV’s to get a 2D fix.

Try turning on the GSV message and see what the SV data looks like.

---

<div class="post-metadata">

**Author:** ![texram](https://avatars.discourse-cdn.com/v4/letter/t/bc79bd/32.png) [@texram](https://community.sparkfun.com/u/texram)\
**Post date:** [June 24, 2008, 4:59am UTC](https://community.sparkfun.com/t/em-408-command-words/6176/4 "2008-06-24T04:59:14Z")

</div>

Hi, Scalegps:

Thanks for the reply.

Now I got the RMC message. But I couldn’t figure out how to enable GGA message. I sent this command, $PSRF103,00,00,01,01\*23\r\n, to GPS,

but still didn’t receice GGA data. Do you have any idea?

---

<div class="post-metadata">

**Author:** ![scalegps](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@scalegps](https://community.sparkfun.com/u/scalegps)\
**Post date:** [June 24, 2008, 11:11pm UTC](https://community.sparkfun.com/t/em-408-command-words/6176/5 "2008-06-24T23:11:27Z")

</div>

David,

Your string looks fine other than I calculate “25” as the checksum instead of “23”. You might try that.

Randy

---

<div class="post-metadata">

**Author:** ![texram](https://avatars.discourse-cdn.com/v4/letter/t/bc79bd/32.png) [@texram](https://community.sparkfun.com/u/texram)\
**Post date:** [June 25, 2008, 4:26am UTC](https://community.sparkfun.com/t/em-408-command-words/6176/6 "2008-06-25T04:26:08Z")

</div>

Thanks a lot, Randy, I’ll try to use ‘25’ as checksum.

---

<div class="post-metadata">

**Author:** ![texram](https://avatars.discourse-cdn.com/v4/letter/t/bc79bd/32.png) [@texram](https://community.sparkfun.com/u/texram)\
**Post date:** [June 29, 2008, 7:07am UTC](https://community.sparkfun.com/t/em-408-command-words/6176/7 "2008-06-29T07:07:38Z")

</div>

HI, Randy:

I got GGA data, thanks for the suggestion.

But the MSL Altitude reading keeps changes, from about 130 to 160 (meters), the numbers of satellites used also changes (from 9 to 4). Longitude and Latitude readings are very stable. Any idea?

I only enable GGA and RMC data for receiving.

Thanks
