Raspberry Pi Zero based Weather Station – Part 1

Recently i envisioned of building a pocket sized weather station using a Raspberry Pi Zero computer. My inital design goal had the following list of features, that should be incorporated into this device;

  1. Indoor temperature measurement
  2. Outdoor temperature measurement
  3. Indoor humidity measurement
  4. Atmospheric pressure measurement
  5. Disconnected Operation – Independent of the Internet
  6. Built-in realtime clock
  7. Battery powered

In order to accomplish the design goals, ive decided to use the following hardware;

  1. 1-Wire based DS18B20 Temperature Sensors (One Indoor and One Outdoor-Weather Proof)
  2. BMP180 Pressure Sensor – I2C based
  3. AM2320 Humidity and Temperature Sensor – I2C based
  4. DS1307 Realtime Clock – I2C based
  5. Indicator LED – Red
  6. Double Sided Perfboard so that i can have it as compact as possible
  7. USB WiFi Adapter

Ive decided to use Node.js to run a minimalistic web server so that i can view sensor readings in a dashboard layout. The Node.js script would also log the sensor readings to CSV Files.

Final Hardware layout can be seen from the below photos,

20160905_18165220160905_181626 20160905_181638

I have soldered everything on a double sided perf board. furthermore i have added  a female header to plug the ds18b20 temperature sensor. there are also two male headers soldered as seen in the photo above, two pins are there to provide power and the four pin connector to plug-in a USB to Serial device to manage the device in case the wifi didnt work. I will elaborate on the software setup of the device in part 2 of this series.

Leave a Reply

Your email address will not be published. Required fields are marked *