Sensors Overview¶
The IoT Toolkit includes four environmental sensors for comprehensive data collection.
Sensor Types¶
| Sensor | Measures | Application |
|---|---|---|
| Temperature | Ambient temperature | Environmental monitoring |
| Humidity | Relative humidity | Climate analysis |
| Vibration | Motion/Acceleration | Machine health monitoring |
| Acoustic | Sound levels | Noise monitoring |
Common Characteristics¶
| Feature | Typical Spec |
|---|---|
| Interface | I2C |
| Voltage | 3.3V |
| Current | <10mA |
| Sampling Rate | 1-10 Hz |
I2C Addressing¶
Multiple sensors share the I2C bus. Check each sensor's default address:
| Sensor | Default I2C Address |
|---|---|
| Temperature | |
| Humidity | |
| Vibration | |
| Acoustic |
Address Conflicts
If sensors share the same I2C address, use the I2C multiplexer to resolve conflicts.
Wiring¶
All I2C sensors connect to ESP32:
ESP32 Sensor(s)
----- --------
3.3V ----> VCC
GND ----> GND
GPIO21 ----> SDA (I2C Data)
GPIO22 ----> SCL (I2C Clock)
Quick Start¶
Start with individual sensor guides:
Then proceed to integration for combined operation.