Raspberry Pi Weather Station Board
This weather station board contains three sensors that measure temperature, relative humidity, and barometric pressure. It connects directly to the Raspberry Pi 26-pin expansion header and communicates via the I2C bus.
Device Discovery

- To use this device, you will need to enable I2C support on your Raspberry Pi as described in the Weather Station Board manual. The I2C board address for this device is 0x4e. You can verify that the device is present by running the following command from a terminal:
$ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 4e --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
Reading Data

DeviceRead[obj,"Temperature"]
reads the current temperature from the device.
DeviceRead[obj,"Pressure"]
reads the current barometric pressure from the device.
DeviceRead[obj,"Humidity"]
reads the current relative humidity from the device.
Examples
Basic Examples (1)Summary of the most common use cases
In[1]:=1

✖
https://wolfram.com/xid/0b6j9o0oo0o28q9op4zimy-bst8xb
This reads the current temperature:
In[2]:=2

✖
https://wolfram.com/xid/0b6j9o0oo0o28q9op4zimy-ee4c1g
This reads the current barometric pressure:
In[3]:=3

✖
https://wolfram.com/xid/0b6j9o0oo0o28q9op4zimy-ek59gw
This reads the current relative humidity:
In[4]:=4

✖
https://wolfram.com/xid/0b6j9o0oo0o28q9op4zimy-jwh4u4
In[5]:=5

✖
https://wolfram.com/xid/0b6j9o0oo0o28q9op4zimy-b45kck