GPS_4G_HAT_BG77X
Library
Python drivers for Finamon GPS 4G shield onboard devices and peripheral interfaces
- Quectel BG77/BG770 4G Modem
- Accelerometer MC3419/MC3479
- Other shield HW parts: inputs/outputs, button, LED
Examples
Basic examples showing how to work with Finamon GPS 4G shield onboard devices using Python.
- demo_echo.py
- demo_geofences.py
- demo_GPS_4G_HAT.py
- demo_mqtt.py
Prerequisites
-
for NMEA message parsing install package pynmea2: pip install pynmea2
-
for acces to SIM card account information install python-dotenv: pip install python-dotenv
Installation
-
clone git repository https://github.com/finamon-de/gps-4g-hat-library
-
change directory to: gps-4g-hat-library/gps4ghat/dist/ install gps4ghat python package pip install gps4ghat-0.1.0-py3-none-any.whl
Starting
-
change directory to gps-4g-hat-library
-
copy .exampleenv file to .env file and edit SIM account data: CONTEXT_APN CONTEXT_USERNAME CONTEXT_PASSWORD
-
start examples python examples/demo_xxxx.py