STIMA  3
Macros
sensors_config.h File Reference

Go to the source code of this file.

Macros

#define USE_JSON   (true)
 Enable if you want use json library for json response (getJson function in SensorDriver).
 
#define USE_SENSOR_ADT   (false)
 Enable if you want use ADT7420 sensor.
 
#define USE_SENSOR_HIH   (false)
 Enable if you want use HIH6100 sensor.
 
#define USE_SENSOR_HYT   (false)
 Enable if you want use HYT271 or HYT221 sensor.
 
#define USE_SENSOR_DEP   (true)
 Enable if you want use DigitEco Power sensor.
 
#define USE_SENSOR_OA2   (false)
 Enable if you want use OPC PM1, PM2.5, PM10 continuous average value.
 
#define USE_SENSOR_OA3   (false)
 
#define USE_SENSOR_OB2   (false)
 Enable if you want use OPC PM1, PM2.5, PM10 continuous standard deviation value.
 
#define USE_SENSOR_OB3   (false)
 
#define USE_SENSOR_OC2   (false)
 Enable if you want use OPC BINS continuous average value.
 
#define USE_SENSOR_OC3   (false)
 
#define USE_SENSOR_OD2   (false)
 Enable if you want use OPC BINS continuous standard deviation value.
 
#define USE_SENSOR_OD3   (false)
 
#define USE_SENSOR_OE3   (false)
 
#define USE_SENSOR_LWT   (false)
 Enable if you want use leaf wetness time continuous value.
 
#define USE_SENSOR_HI7   (false)
 Enable if you want use SI7021 sensor.
 
#define USE_SENSOR_BMP   (false)
 Enable if you want use Bmp085 sensor.
 
#define USE_SENSOR_DW1   (false)
 Enable if you want use DW1 sensor.
 
#define USE_SENSOR_TBR   (true)
 Enable if you want use Tipping bucket rain gauge sensor.
 
#define USE_SENSOR_STH   (false)
 Enable if you want use Temperature and humidity oneshot sensor.
 
#define USE_SENSOR_ITH   (true)
 Enable if you want use Temperature and humidity continuous istantaneous sensor.
 
#define USE_SENSOR_NTH   (true)
 Enable if you want use Temperature and humidity continuous minium sensor.
 
#define USE_SENSOR_MTH   (true)
 Enable if you want use Temperature and humidity continuous average sensor.
 
#define USE_SENSOR_XTH   (true)
 Enable if you want use Temperature and humidity continuous maximum sensor.
 
#define USE_SENSOR_SSD   (false)
 Enable if you want use SSD011 oneshot sensor.
 
#define USE_SENSOR_ISD   (false)
 Enable if you want use SSD011 report istantaneous sensor.
 
#define USE_SENSOR_NSD   (false)
 Enable if you want use SSD011 report minium sensor.
 
#define USE_SENSOR_MSD   (false)
 Enable if you want use SSD011 report average sensor.
 
#define USE_SENSOR_XSD   (false)
 Enable if you want use SSD011 report maximum sensor.
 
#define USE_SENSOR_SMI   (false)
 Enable if you want use MICS4514 oneshot sensor.
 
#define USE_SENSOR_IMI   (false)
 Enable if you want use MICS4514 report istantaneous sensor.
 
#define USE_SENSOR_NMI   (false)
 Enable if you want use MICS4514 report minium sensor.
 
#define USE_SENSOR_MMI   (false)
 Enable if you want use MICS4514 report average sensor.
 
#define USE_SENSOR_GWS   (false)
 Enable if you want use Gill Windsonic sensor.
 
#define USE_SENSOR_XMI   (false)
 Enable if you want use MICS4514 report maximum sensor.
 
#define USE_SENSOR_RF24   (false)
 Enable if you want use Radio RF24 sensor.
 
#define RAIN_FOR_TIP   (1)
 How much mm of rain for one tip of tipping bucket rain gauge.
 
#define VALUES_TO_READ_FROM_SENSOR_COUNT   (3)
 
#define JSONS_TO_READ_FROM_SENSOR_COUNT   (3)
 
#define OBSERVATIONS_MINUTES   (1)
 How much minutes for calculate an observations by processing sampling. Tipically 1-10 minutes.
 
#define STATISTICAL_DATA_COUNT   (15)
 How much observations are needed for generating a report.
 
#define OBSERVATION_COUNT   (STATISTICAL_DATA_COUNT * 2)
 Observations buffer length.
 
#define OBSERVATION_COUNT_TOLLERANCE   (1)
 Tolerance of observations for generating a valid report.
 

Macro Definition Documentation

◆ VALUES_TO_READ_FROM_SENSOR_COUNT

#define VALUES_TO_READ_FROM_SENSOR_COUNT   (3)

Maximum number of values to be read by the sensors.