background image

L76X GPS HAT User Manual 

   

 

 

 

 

10

  / 

15

 

Plug L76X GPS HAT to Raspberry Pi, short B by yellow jumpers 

COPY EXAMPLES 

Insert SD card (which has installed Raspbian image) to PC by card reader 

 

Copy Raspberry Pi examples ( the folder we download and unzip above) to BOOT directory of SD card 

 

Exit and insert the card to Raspberry Pi, then start. 

Check it: 

ls /boot

 

 

Copy it to /home/pi 

sudo cp -r /boot/RaspberryPi/ ./ 

sudo chmod 777 -R RaspberryPi/ 

 

INSTALL LIBRARIES 

Examples should be used with libraries installed 

Install 

wiringPi

sudo apt-get install git 

sudo git clone git://git.drogon.net/wiringPi 

cd wiringPi 

sudo ./build 

Install 

python:

   

sudo apt-get install python-pip   

sudo pip install RPi.GPIO 

Summary of Contents for L76X GPS HAT

Page 1: ...s DGPS SBAS WAAS EGNOS MSAS GAGAN UART communication baudrate 4800 115200bps 9600bps by default Onboard battery holder supports ML1220 rechargeable battery for preserving ephemeris information and hot...

Page 2: ...15m s Acceleration max 4G GENERAL SPECIFICATIONS Communication interface UART Baudrate 4800 115200bps 9600bps by default Update rate 1Hz default 10Hz max Protocols NMEA 0183 PMTK Power supply voltage...

Page 3: ...C 6 Hardware connection 6 Demo codes 8 Download Demo code 8 Arduino examples 8 Hardware connection 8 Expected result 9 Raspberry Pi examples 9 Hardware connection 9 Copy examples 10 Install libraries...

Page 4: ...10 GNSS antenna connector 11 Battery holder supports ML1220 rechargeable battery for preserving ephemeris information and hot starts 12 UART selection jumpers a A control the L76B through USB TO UART...

Page 5: ...r variables used for quick start in RTC area works The working current of Backup mode is about 7uA The only way to wakeup from Backup mode is pull high of FORCE_ON pin CAT24C32 This chip is used to pr...

Page 6: ...ights on 4 Waiting for about 1s TXD LED become to flash which mean that data is transmitting 5 Open serial assistant software in PC Select the correct COM port according to the Device Manager set baud...

Page 7: ...fer to Devices Manager Set baud rate 9600 then click button to connect L76X GPS HAT U center display information after connecting 7 If you want to check the area better you can install GoogleEarthPlug...

Page 8: ...site open the wiki and download demo code from wiki Unzip Arduino Arduino examples based on Arduino UNO Raspberry Pi Raspberry Pi examples include wiringpi and python codes STM32 STM32 examples based...

Page 9: ...rt B by yellow jumpers L76X GPS HAT Arduino 5V 5V GND GND RXD 2 TXD 3 EXPECTED RESULT It requires about 35s to locate first time Open serial monitor and set baud rate to 9600 Data printed first is ori...

Page 10: ...nzip above to BOOT directory of SD card Exit and insert the card to Raspberry Pi then start Check it ls boot Copy it to home pi sudo cp r boot RaspberryPi sudo chmod 777 R RaspberryPi INSTALL LIBRARIE...

Page 11: ...l python smbus sudo apt get install python serial ENABLE SERIAL PORT UART interface should be used for communicating so we need to enable hardware serial of Raspberry Pi sudo raspi config Disable logi...

Page 12: ...dev serial0 The default baud rate of minicom is 115200 here we use parameters b 9600 to set it as 9600 If you want to exit you can press Ctrl A press X and choose Yes then Enter RUNNING CODES Enter Ra...

Page 13: ...re you need to type any character and Enter to wake it up Note Even the default baud rate of L76X GPS HAT is 9600 it is changed to 115200 in code If you find that 9600 cannot work next time please che...

Page 14: ...by yellow jumpers And connect USB to UART USART1 interface of STM32 board to PC L76X GPS HAT STM32 5V 5V GND GND RXD PA10 TXD PA9 EXPECTED RESULT Open serial assistant software in PC set baud rate to...

Page 15: ...ting is not accurate The accuracy is influenced by environment Weather reason The humidity is every high when raining which weaken the intensity of the GPS signal It often raining in summer therefore...

Reviews: