Inhaltsverzeichnis
< All topics
Drucken

Sensor Configurations

Ressoucenwächter supports a variety of IEQ-related sensor configurations that can be combined as required. Most sensors (e.g. sensors that communicate via I2C) can be recognized automatically. Some sensors, especially analog sensors, need to be configured in the firmware (Code/Arduino/.../module_cfg.h).

The following table shows the categorization of the supported hardware, the measured parameters from the sensors and the corresponding parameter names in the firmware, etc.

CategoryMeasurement parameters / functionSupported sensorsSetting in module_cfg.hLabeling on PCB
Sensor – TemperatureAir temperature in °CBosch BME280bool BME280isAvailable; // auto check in setup()J1
Sensor – Humidityrel. Humidity in %Bosch BME280bool BME280isAvailable; // auto check in setup()J1
Sensor – Air pressureBarometric pressure (air pressure) in hPaBosch BME280bool BME280isAvailable; // auto check in setup()J1
Sensor – Radiant temperatureMean radiant temperature in °CDallas DS18B20bool RadTempSensorisAvailable = false; // Manual entryPin 15 (J4)
Sensor – LightIlluminance in luxVishay VEML7700bool VEML7700isAvailable; // auto check in setup()J2
Sensor – VOCVOC index between 0 and 500Sensirion SGP40bool SGP40isAvailable; // auto check in setup()J7
Sensor – CO2CO2 concentration in ppmSensirion SCD30bool SCD30isAvailable; // auto check in setup()J6
Sensor – SoundSound level in dB(A)DFROBOT SEN0232 Gravity: Analog Sound Level Meterbool SoundSensorisAvailable = true; // Manual entryJ13
Sensor – WindWind speed in m/sModern Device Wind Sensor Rev. Cbool WindSensorisAvailable = true; // Manual entryJ12
Sensor – Window sensorBinary status of the window (0: closed, 1: open)Any reed switch (reed contacts / window contacts)bool WindowSensorisAvailable = false; // Manual entryJ15
Sensor – PowerMeasured electric power in wattsYHDC Current Transformer SCT-013-xxx (default: SCT-013-000)bool PowerSensorisAvailable = true; // Manual entry

Module selection:
bool PowerSensorCurrentOutput = true; // Manual entry, true if using power sensor with current signal output e.g. 0-50mA
J14
RFID(Optional) Replacement of the physical buttonsRFID-RC522bool RFIDisAvailable = false; // Manual entryU2
SD card moduleData storageDEBO MICROSD 2 or similar micro SD card modules via SPIbool SDisAvailable = true; // Manual entryJ9
RTCTime and dateRTC-DS3231(required)J8
MicrocontrollerControl unitEspressif ESP-32 DevKitC (WROOM-32D/E)(required)U1
Table 1: Hardware supported by the Ressourcenwächter.

Development boards from any manufacturer (e.g. Adafruit) can be purchased for the hardware mentioned above. When purchasing, pay attention to the model number and the pin assignment of the board. There can be completely different board designs even for the same chip. A typical example is the BME280 development board, which is available in both a 3.3V and a 5V version.

Therefore, 3.3V and 5V power supplies are provided on the boards for each sensor interface to accommodate as many variants as possible. The pin sequence must be observed when installing the sensors. In some cases it would not be possible to plug the development board directly into the designated pin socket and it may be necessary to use jumper wires to adjust the pin order.

Note for I2C sensors:

If the purchased sensor has a different I2C address, this can be changed in Code/Arduino/.../pin_cfg.h.