Microclimate is a device which senses light, temperature, humidity, altitude, and pressure. It then transmits this data through the serial ports (RX, TX) and over BLE in JSON format. It uses the Genuino 101 as this has built in Bluetooth.
Step 1: Components.
- Genuino 101.
- RHT03 / DHT22 temperature and humidity sensor.
- 4 in 1 Sensor (3 in 1) light, altitude, and pressure sensor.
- 10k resistor.
Step 2: Connecting the 4 in 1 Sensor.
- Connect SCL to analog 5.
- Connect SDA to analog 4.
- Connect VDD to 5V DC.
- Connect GROUND to ground.
Step 3: Connecting the RHT03/DHT22 Sensor.
- Connect pin 2 to digital 2.
- Connect pin 1 to 5V DC.
- Connect pin 4 to ground.
- Connect the 10k resistor to 5V DC and pin 2.
Step 4: The Code.
The code is available here.