On this tutorial we will get data from several different sensors, sending them to an IoT service, ThingSpeak.com and to a mobile App (Thingsview), where we can log and play with data. We will explore several different communication ways of connecting sensors to a Raspberry Pi, as:

DHT22 - Temperature & Humidity Sensor - Digital Comm
DS18B20 - Temperature Sensor - 1-Wire
BMP180 - Temperature & Pressure Sensor - I2C
UV - Ultra Violet Sensor - Analog Sensor via A/D and SPI bus
In short, all data will be captured, saved locally on a CSV file and send to an IoT service (ThingSpeak.com), via MQTT protocol, as you can see on below block diagram:

To complete a real Weather Station, on the final step, you will also learn how to measure wind speed and direction, following Mauricio Pinto’s tutorial.

Supplies:
Raspberry Pi V3 - US$ 32.00
DHT22 Temperature and Relative Humidity Sensor - USD 9.95
Resistor 4K7 ohm
DS18B20 Waterproof Temperature Sensor - USD 5.95
Resistor 4K7 ohm
BMP180 Barometric Pressure, Temperature and Altitude Sensor - USD 6.99
UV Sensor - USD4.00
Adafruit MCP3008 8-Channel 10-Bit ADC With SPI Interface - USD 5.98”

Link

Related Content