Bjarke Gotfredsen ☒
Published © MIT

Raspberry Pi Weather Station

Raspberry Pi is a perfect tool to get Internet of Things (IoT) up and running - a Linux computer with access to I2C.

EasyFull instructions provided30 minutes4,934

Things used in this project

Hardware components

Raspberry Pi 3 Model B
Raspberry Pi 3 Model B
With micro-USB power supply, micro-SD card and Ethernet cable to router
×1
IR02
XinaBox IR02
☒CHIP Interface to Raspberry Pi
×1
SW01
XinaBox SW01
☒CHIP based on the BME280 Weather Sensor
×1
XC10
XinaBox XC10
☒BUS connector between ☒CHIPs
×1

Software apps and online services

Raspberry Pi Raspbian Lite
Etcher

Story

Read more

Code

Weather Station Demo

Python
A small Python demo reading the weather information from the SW01. Code kept short for simplicity.
import smbus2
import bme280
bus = smbus2.SMBus(1)
bme280.load_calibration_params(bus, 0x76)
print(bme280.sample(bus, 0x76))

Credits

Bjarke Gotfredsen ☒

Bjarke Gotfredsen ☒

0 projects • 5 followers
CEO, Founder and Inventor of the XinaBox tech.
Contact
Thanks to Richard Hull.

Comments