Description
Device configuration for FireBand device wearers. Some charts are displayed on to the web application.
Full description will be published soon.
Prerequisites
DHT11 Temperature and Relative Humidity Sensor
MAX30102 Heart Rate and Pulse Oximeter Module
Code Setup
-
First, clone this branch locally.
-
Test for functionality of all sensors using the
sensors/sensors.ino
file. -
Use
http-client/http-client.ino
to test for GSM/GPRS connection to ThingSpeak over HTTP andmqtt-publisher/mqtt-publisher.ino
to test for GSM/GPRS connection over MQTT. -
In both configurations be sure to set the specified credentials in
secrets.h
which is located within the respectivehttp-client
andmqtt-publisher
folders. -
Import the visualisation files in the
visualisations
folder to ThingSpeakThis is done by first selecting the 'Custom' template on this page (only accessible once logged into ThingSpeak); then importing each file as separate visualisation charts i.e.
visualisations/location.m
would apply to the Geographical Map chart,visualisations/temp_hum.m
would apply to the Temperature and Relative Humidity Correlation Plot andvisualisations/hr_temp.m
would apply to the Heartrate against Temperature Plot.