Microstack GPS Raspberry Pi inteface without the base shield

How I managed to use the L80 Microstack GPS and avoides to buy the unnecessary base shield.

mg_9306

microstack base shield and the gps module. Source: http://www.microstack.org.uk 

Despite the manufacturer recomendation, we don’t need to buy the additional shield to make the microstack GPS work on the raspberry pi. The L80 GPS datasheet [1] shows that the module has an UART port, and the only function provided by the microstack base shield is purely interconections between the module and the raspberry pi UART.

Rasberry Pi Configuration

The first step is to reconfigure the serial port, closing the default terminal output:

sudo raspi-config

select Advanced Options -> Serial

2.-raspi-config-port-serie

and it’s done! Now we have a Serial port inteface for peripherals.

Interconections

As the datasheet says, there’s only 4 pins that you gonna need for a basic interface:

  • 3V3
  • GND
  • Serial_MTXSRX (master transmitter slave receiver)
  • Serial_MRXSTX (master receiver slave transmitter)

From the “datasheet” [2]:

72fe63edc7a70d26d05eeb45db45362f.png

credits: Element14

The 3V3 and GND pins can be connected to pin 1 and pin 6, respectively. MTXSRX must be connected to pin 8 and MRXSTX to pin 10, as indicated in yellow in the following image:

Pi-GPIO-header

The Raspberry Pi 2 and 3 header. credits: elinux.org

gpsd

Now that we got everything interconnected and ready to talk, let’s use the strengths of linux: ready-to-go drivers and aplications programs. In our case, the best program to use is gpsd [3].

…to be continued.

[1] http://www.orcam.eu/res/Datablad/quectel_l80_gps_specification_v11.pdf

[2] http://www.farnell.com/datasheets/1860443.pdf

[3] http://www.catb.org/gpsd/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s