This is a simple demonstration of use of the DWMM0 mezzanine for remote data logging.
The client side of this application runs a python script (client.py) responsible for reading GNSS/GPS data and transmitting it to the server side (through TCP/IP protocol), which runs a different script (server.py) in charge of collecting and storing incoming data.
Reference : project website
Step 1: DWMM0 - HARDWARE DESCRIPTION
The DWMM0 Mezzanine is an add-on accessory board for the DragonBoard 410c single board computer (or any other 96Boards standard SBC). This mezzanine is composed of 5 main subsystems :
- Li-Ion Battery Charge Controller
- USB 2.0 Hub Controller
- DC/DC Boost Converter (from 3.0V to 9.0V)
- LPWA/GNSS Module (with a Quectel BG96 device)
- DC/DC Converters (from 5V to 3.3V and 4.1V)
Step 2: DWMMO - GNSS/GPS LOGGER APPLICATION
The original python scripts for this application can be download from here : download scripts
The server.py script must run on any computer with internet connection (SERVER side).
The client.py script mist run on a DragonBoard 410c with the DWMM0 Mezzanine (CLIENT side).
Each script has its own "Configurable Parameters" session, that must be adjusted by the user (such as TCP/IP address, ports, network APN, username and password).
Step 3: DWMM0 - GENERATING KML FILE
The updated_python_scripts.zip file contains a modified client script (gpslog.py) which implements local storing of the GPS data (NMEA data from the Quectel BG96 module):
- gpslog.py : updated client script (stores the GPS data in the file logger.txt)
- makekml.py : converts the logger.txt file to a KML version (logger.kml) that can be opened in Google Earth
- logger.txt : saved GPS data
- logger.kml : KML conversion of the saved GPS data