Specifications
- Passive buzzer (the tone is controlled by PWM)
- Photoresistor, more light = higher value
- Flame detector, flame = LOW
- IR transmitter and IR receiver
- Connector for an external sensor and the I2C bus
- Power 3.3 V
- Current ≈ 5 mA at rest, up to ≈ 50 mA with the buzzer playing and the IR LED sending (estimate)
- The I2C connector only extends the bus, the address depends on the attached sensor and must not match another module in the tower
- Uses: smart home, automation, monitoring
Pins
| Pin | Function |
|---|---|
| IO1 | Buzzer (BUZZ) |
| IO2 | IR transmitter (IR_TX) |
| IO3 | IR receiver (IR_RX) |
| IO11 | Photoresistor (LDR) |
| IO12 | Flame detector (IR_FIRE) |
| IO13 | External connector (CONN) |
| IO14 | I2C SDA |
| IO15 | I2C SCL |
Wiring diagram
Example code
Try the example Night light right in your browser in Eduingo AI Lab. The Multisensor measures the light in the room. When it is completely dark, the RGB LED shines orange, at dusk yellow, and during the day it turns off. The program asks step by step: first whether it is dark, and if not, whether it is at least dim. Try adding one more colour for twilight.