IoT Excercises pt.2 and Final Project update – Anne

IoT is working. Connected and set up “command” at Adafruit IO and that is working fine. Set up IFTTT account and applet there.

IFTT applet set up to use “command” on Adafruit IO
Adafruit IO logging screen showing button presses on board on my desk.

Here is the exercise to have two Adafruit feather huzzah boards talk to each other via the “command” feed. Even though the boards are mounted on the same breadboard, they are not physically connected to each other.

Project: Visual Weather Station

I’ve been working on setting up, understanding and now modifying Becky’s Minimalist Weather station as the basis for my visual weather station. The first mod I tried was adding an OLED screen to show me if the board was in fact connected to my wireless. However, after fidgeting with this, I’m not sure of

a) how I could refresh the initial screen once the device is powered up to see if it still connected to the internet and

b) I’m not sure if this is a real problem — as in restarting the device should connect it to wi-fi and if it doesn’t that is a problem with the wi-fi. (I’m going to leave the prototype running for a day or two to see if it loses wifi and then reboot it on battery and see if it has any problem reaquiring wi-fi.)

There’s another possible problem with this solution in that the 7 segment display uses the SCL and SDA ports on the board. I’m not sure if these can be shared between and OLED and a 7 segment matrix display. (The 7 segment is needed to display the temperature in the finished weather station.)

Anyhow, the OLED display is on hold for now. Here is the assembled working weather station per Becky’s Instructable:

The 7 segment display is pulling temperature data from Weather Underground by way of IFTTT where it is set up as an applet and connected to an Adafruit IO feed. The neopixel stick is divided into 2 neopixel sections — Clear (Sunny), Cloudy, Raining, Snowing — each responding to Weather Underground data by way of IFTTT applets set to trigger on changes in weather conditions. These are connected to an Adafruit IO feed. The two that are lit here indicate that the conditions are Cloudy outside. (In the time it took to update this post the conditions changed as seen in the final photo in this post.)

Now that the basic visual weather station is working, the next step is to expand the weather conditions. The Applets have been created in IFTTT as well as the feeds in Adafruit IO.

The electronics and neopixels will go inside a case with cutouts showing a selection of visual icons for the weather conditions. There will also be a cutout for the temperature display.

Proposed Bill of Materials (BOM)

(1) Feather Huzzah board

(1) 7 segment feather matrix

(1) lipo battery

(1) a/c adaptor 5.25vdc 1A

(1) inline usb micro B to usb A power switch

(2) neopixel RGBW sticks

solid core wire

(1) perma-proto board

either a small 4×6 shadow box or basswood to build a box plus chipboard and diffusion materials for the neopixels.

Circuit Diagram

Running Fritzing on Mac Catalina has not been successful. It crashes trying to load Adafruit parts. This week’s circuit diagram is therefore drawn by hand until I can figure out why Fritzing is not working after repeated attempts to install the program and the Adafruit parts libraries.

However, while Fritzing was a fail this week, while I was working on this post Weather Underground updated the conditions from Cloudy to Clear (Sunny) and the weather station received the data and changed the neopixels to the first two:

Leave a Reply