photon-env-monitor icon indicating copy to clipboard operation
photon-env-monitor copied to clipboard

Solar powered Particle Photon environment monitor

Solar powered Particle Photon environment monitor

Here is the Photon code and hardware details to build a solar powered environment monitor. It uses a combo module of 3 separate sensors that are read via I2C protocol to periodically measure and record:

  • Temperature
  • Humidity
  • Light level
  • Air pressure
  • Battery charge

The 3 sensors are:

After the measurements are taken the values are sent to Dweet. The Photon then measure its own battery level and will deep sleep for a variable amount of time between measurements in order to conserve battery life. The sleep time will be longer when the battery gets low.

The following libraries are used:

  • https://github.com/amcewen/HttpClient
  • https://github.com/sparkfun/Photon_Battery_Shield
  • https://github.com/adafruit/Adafruit-BMP085-Library
  • https://github.com/sparkfun/SparkFun_HTU21D_Breakout_Arduino_Library/

Hardware

The pin connections are very simple as there is only one way to connect the battery, solar panel and sensor (just uses standard I2C pins).

Photos

Dweet

photon-env-monitor1

photon-env-monitor2