-
Notifications
You must be signed in to change notification settings - Fork 4
Sensors
Airboxlab SA edited this page Jul 28, 2015
·
1 revision
These are the sensors used in Airboxlab v2
- VOC (volatile organic compounds) using iAQengine on the sensor board
- PM (particulate matter) using GP2Y1010au0f (GP2Y for short)
- CO2 using MQ-135 via an ATtiny on the sensor board
- TMP (temperature) using CC2D23
- HUM (humidity) using CC2D23
VOC, CO2, TMP and HUM are read via I2C, PM is directly driven and read from the MCU.
- orientation using MMA8453Q
- charging finished using the DONE output from CN3065
- VBAT using ADC1 of the MCU
- VRAW using ADC0 of the MCU
The orientation is read via I2C, the others are direct inputs on the MCU.
VCC is measured to be precisely 5.0V.
Besides the normal read mode, we have access to the interrupts pins of the accelerometer.
- INT1 is connected to PB4 (PCINT4).
- INT2 is connected to PC6, which does not have interrupt capabilities, but it can be used by polling to get movement info that is not time-critical.