Photon Weather Shield Hookup Guide

This Tutorial is Retired!

This tutorial covers concepts or technologies that are no longer current. It's still here for you to read and enjoy, but may not be as useful as our newest tutorials.

Note: V11 of the Photon Weather Shield utilizes the Si7021 for humidity and temperature sensing as opposed to the HTU21D.

View the updated tutorial: Photon Weather Shield Hookup Guide V11

Pages
Contributors: Joel_E_B
Favorited Favorite 7

Example 4: Internet-connected Weather Station

All we've learned so far has been to help prepare us for the challenging yet rewarding task of creating your own weather station connect to the Web. This example will build off all the previous examples. We'll also be adding a Serial Graphic LCD connected to the Weather Shield via a Bluetooth connection so you can collect data online as well as having a monitor indoors that prints live weather data.

Required Materials

To follow along with this example, you'll need a few more components. There are few different options for creating such a connection.

SparkFun Bluetooth Modem - BlueSMiRF Silver

SparkFun Bluetooth Modem - BlueSMiRF Silver

WRL-12577
$27.95
12
SparkFun Bluetooth Modem - BlueSMiRF Gold

SparkFun Bluetooth Modem - BlueSMiRF Gold

WRL-12582
$36.95
8
SparkFun Graphic LCD Serial Backpack

SparkFun Graphic LCD Serial Backpack

LCD-09352
$20.95
3

SparkFun Serial Graphic LCD 160x128

LCD-08884
6 Retired

SparkFun Serial Graphic LCD 128x64

LCD-09351
3 Retired

Configure the BlueSMiRFs to connect to one another automatically at 115200 baud. If you need help, we have a BlueSMiRF tutorial that covers that information. Connect one Bluetooth module to the Serial Graphic LCD Backpack, and connect the other to the Weather Shield. The LCD should also be set to 115200 baud.

alt text

A BlueSMiRF connected to the Serial 1 Port using a 6-pin, right angle female header with the outermost pins removed.

alt text

The Serial Graphic LCD Backpack connected to one of our discontinued BlueSMiRF modules with RP-SMA. Fortunately, the range on the BlueSMiRF Gold with Chip Antenna is very powerful.

If you're using Particle Build, grab all the previous libraries plus a new one, the SparkFun Serial Graphic LCD Particle Library.

alt text

If you're using Particle Dev, there is a project folder labeled SparkFun_Photon_Weather_Phant_and_LCD. Add it to Dev to quickly get started with this example. Open the SparkFun_Photon_Weather_Phant_and_LCD.ino example sketch.

What You Should See

If everything works out, you should see weather data print out on the LCD as well as post to Phant.

alt text

You now have a Internet-connected weather station! Once you have weather-proofed the electronics, as per our WIMP Weather Station tutorial, place it outside, and take it for a spin.

alt text