Security
Secure data upload to openSenseMap
Informations for the visual programming environment Blockly for senseBox.
Various environmental sensors are located in the senseBox. In this chapter, we will first restrict ourselves to the sensors already installed on the senseBox MCU or those that can be connected via JST cable.
To read out and display measured values, it is best to use the display. In this chapter we use a kind of minimal example to show measured values on the display.
The acceleration sensor is already installed on the senseBox MCU. It can give you the acceleration in X-, Y-, and Z-axis and the total acceleration. You can choose the measuring range between 2g, 4g, 8g and 16g.
The mean acceleration due to gravity is given in g and is rounded off to 9.81 m/s2
A button is already installed on the senseBox MCU. Additional buttons can be connected via the three digital ports. In the dropdown menu different modes for the button can be selected:
The temperature and humidity sensor is plugged into one of the five I2C/Wire ports. It can give you the temperature in °C and the relative humidity in %.
The temperature and air pressure sensor is plugged into one of the five I2C/Wire ports. It can give you the temperature in °C, the air pressure in Pa and the altitude above sea level in m.
The brightness and UV sensor is connected to one of the five I2C/Wire ports. It can tell you the brightness in lux and the UV intensity in μW/cm2.
The environmental sensor is connected to one of the five I2C-Wire ports. It can give you the temperature in °C, relative humidity in %, air pressure in Pa and indoor air quality (IAQ) on a scale of 0-500.
Value |
0-50 | 51-100 | 101-150 | 151-200 | 201-250 | 251-350 | > 350 |
---|---|---|---|---|---|---|---|
Air Quality | Excellent | Gut | Lightly polluted |
Moderately polluted |
Heavily polluted |
Severely polluted |
Extremly polluted |
In addition to the parameters mentioned above, the sensor can also give you the calibration value (a status message) and partial quantities CO2-equivalent and breathing air VOC of the indoor air quality.
The fine particular sensor is connected to one of the two UART/Serial ports and the respective port is selected in the block. It can give you the fine dust concentration PM2.5 and PM10 in μg/cm3.
The soil temperature and soil moisture sensor is connected to one of the three digital ports and the respective port is selected in the block. It can display the soil temperature in °C and the volumetric water content of the soil in %.
The GPS module is connected to one of the five I2C/Wire ports. It can give you latitude, longitude, altitude in meters, current speed, timestamp, time and date.
The ultrasonic distance sensor is connected to one of the three digital ports and the respective port is selected in the block. It can give you the distance in cm.
The microphone is connected to one of the three digital ports and the respective port is selected in the block. It can give you the volume as a level between 0 and 5V.