cosmicpi-rpi_V1.5/docs/CosmicPi_V15_serial_comm.txt
2018-03-25 17:00:04 +02:00

38 lines
No EOL
1.4 KiB
Text

This document describes the output from the Arduino DUE, that is parsed and stored.
Directly parsed into the SQLite database
Event: sub second micros:SubSeconds; Event Count:x
Meaning: An event has happened at SubSeconds in this second. Event Count is as continuous counter starting at boot.
TemperatureC: X;
Meaning: Current average of all temperature sensors, in °C.
Humidity: X;
Meaning: Relative humidity in %.
AccelX: X;
Meaning: Acceleration in X-direction in m/s^2.
AccelY: X;
Meaning: Acceleration in Y-direction in m/s^2.
AccelZ: X;
Meaning: Acceleration in Z-direction in m/s^2.
MagX: X;
Meaning: Magnetic field in X-direction in Gauss.
MagY: X;
Meaning: Magnetic field in X-direction in Gauss.
MagZ: X;
Meaning: Magnetic field in X-direction in Gauss.
Pressure: X;
Meaning: Pressure in mbar.
Strings starting with '$' are strings coming from the GPS.
From there we extract and store into the SQLite database:
Longitude
Latitude
UTCUnixTime
See the NEMA documentation for more info on these strings: http://aprs.gids.nl/nmea/#gga
Currently unused output:
TemperatureCHumid: X;
Meaning: Temperature reported from the humidity sensor in °C.
TemperatureCBaro: X;
Meaning: Temperature reported from the pressure sensor in °C.
Altitude: X;
Meaning: Altitude reported from the pressure sensor in meter.