A New Sense: Do I Need My Umbrella Today?
Every morning, I ask my boyfriend outloud, “What is the weather today?”. And then I have to check by opening my phone which can sometimes be tedious when I’m in a rush. Most of the time, I don’t check at all and don’t bring an umbrella when I need to. Typically, I get caught in the rain and have to call an overpriced Uber.
For this project, I tried to make an attachment for my umbrella that simply notifies me if I need to use it today. This attachment gives a simple yes or no answer to the question “Do I need to take my umbrella with me today?”. It connects to WiFi, gets the daily forcast, and if it is going to rain or snow, lights up the LED, catching my eye while I’m heading out the door. If there is no predicted rain or snow, the LED doesn’t light up. This project is kind of inbetween a wearable and IoT. My design is to make the board attachable to any umbrella you choose rather that to integrate it into the umbrella itself.
A created a simple schematic with a ESP8266 module, APA102 LED, and a 3V battery.
I fabricated the board on the Othermill. I had to hand solder the components on the board because I couldn’t find solder paste. That’s why the board came out so messy.
The trace connecting one of the ATTiny85 pins to the APA102 LED peeled off. I then decided to switch to a regular blue LED because one pin and ground could still be connected. This makes the design back to a binary yes or no answer, which is okay. If I were to expand the design further with the APA102, I could use different colors to signify rain or snow for example.
I prototyped the programming with a Adafruit Feather HUZZAH which has the same wifi module that I’m using on my custom board.
I based the code off of the HTTPSRequest example. The program simply grabs data from a weather api for the weather in New York today. It checks the weather codes returned to see if it’s raining or snowing. If the code is less than 700, then it’s raining or snowing.
I soldered wires onto pads connected to the pins on the ESP8266 so that the module could be programmed. See this post for more detailed instructions on how to program this module.
I used these settings in the Arduino IDE:
Example of serial output from code:
The LED lights up if the data from the api says it’s raining or snowing.
I glued these plastic strings to the back so the board could be tied to any umbrella handle. I did this so that the board could be attached different umbrellas.
I imagine the final enclosure to be some kind of waterproof silicone sleeve, similar to these hand sanitizer holders: