Alora Library
Library for using Alora shield
|
#include <Wire.h>
#include <Arduino.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_BME280.h>
#include <ClosedCube_HDC1080.h>
#include <NMEAGPS.h>
#include <Streamers.h>
#include "Adafruit_TSL2591.h"
#include <SparkFunCCS811.h>
#include "GpioExpander.h"
#include <RTClib.h>
#include "AllAboutEE_MAX11609.h"
#include "AloraIMULSM9DS1Adapter.h"
Go to the source code of this file.
Classes | |
struct | SensorValues |
class | AloraSensorKit |
Macros | |
#define | ALORA_IMU_SENSOR AloraIMULSM9DS1Adapter |
#define | ALORA_SENSOR_USE_CCS811 1 |
#define | ALORA_SENSOR_QUERY_INTERVAL 300 |
#define | ALORA_USE_MAX11609 1 |
#define | ALORA_USE_AIR_QUALITY_GAS_SENSOR 1 |
#define | ALORA_USE_IMU_SENSOR 1 |
#define | ALORA_USE_GPIO_EXPANDER 1 |
#define | ALORA_USE_HDC1080_SENSOR 1 |
#define | ALORA_USE_BME280_SENSOR 1 |
#define | ALORA_USE_TSL2591_SENSOR 1 |
#define | ALORA_HDC1080_ADDRESS 0x40 |
#define | ALORA_I2C_ADDRESS_CCS811 0x5A |
#define | ALORA_I2C_ADDRESS_IMU_M 0x1E |
#define | ALORA_I2C_ADDRESS_IMU_AG 0x6B |
#define | ALORA_MAGNETIC_SENSOR_PIN 35 |
#define | ALORA_ADC_GAS_HEATER_PIN 13 |
#define | ALORA_ADC_GAS_CHANNEL 1 |
#define | ALORA_GPS_ENABLE_PIN 12 |
#define ALORA_ADC_GAS_CHANNEL 1 |
Channel number of MAX1109 for gas sensor
#define ALORA_ADC_GAS_HEATER_PIN 13 |
Heater pin for gas sensor. It is pin GPIO 13 on ESPectro32 board
#define ALORA_GPS_ENABLE_PIN 12 |
GPS enable pin on GPIO Expander
#define ALORA_HDC1080_ADDRESS 0x40 |
HDC1080 I2C address
#define ALORA_I2C_ADDRESS_CCS811 0x5A |
CCS811 I2C address
#define ALORA_I2C_ADDRESS_IMU_AG 0x6B |
Accelerometer and Gyroscope I2C address
#define ALORA_I2C_ADDRESS_IMU_M 0x1E |
Magnetometer I2C address
#define ALORA_IMU_SENSOR AloraIMULSM9DS1Adapter |
Choose IMU sensor for Alora. Uses LSM9DS1 by default
#define ALORA_MAGNETIC_SENSOR_PIN 35 |
Magnetic sensor pin. It is GPIO 35 on ESPectro32 board
#define ALORA_SENSOR_QUERY_INTERVAL 300 |
Define sensor query interval. The default value is 300ms
#define ALORA_SENSOR_USE_CCS811 1 |
By default use CCS811 as the air quality sensor
#define ALORA_USE_AIR_QUALITY_GAS_SENSOR 1 |
Enable Air quality / gas sensor by default. Set this definition value to 0 to disable air quality / gas sensor.
#define ALORA_USE_BME280_SENSOR 1 |
Enable BME280 by default. Set this definition value to 0 to disable BME280
#define ALORA_USE_GPIO_EXPANDER 1 |
Enable GPIO expander by default. Set this definition value to 0 to disable GPIO expander
#define ALORA_USE_HDC1080_SENSOR 1 |
Enable HDC1080 by default. Set this definition value to 0 to disable HDC1080
#define ALORA_USE_IMU_SENSOR 1 |
Enable IMU sensor by default. Set this definition value to 0 to disable IMU sensor
#define ALORA_USE_MAX11609 1 |
Enable MAX11609 by default. Set this definition value to 0 to disable MAX11069
#define ALORA_USE_TSL2591_SENSOR 1 |
Enable TSL2591 by default. Set this definition value to 0 to disable TSL2591