This is an extension of the wifi lab. Our wifi-arduino is connected to yahoo wether and it saves the highest and lowest temperatures of the day into a vector "T". You then average both temperatures into a new variable called "Tavg". You then use an if statement to determine what article of clothing you should wear. if tavg<10 display “wear coat”, if 10<tavg<17 display “wear sweater”, if 17<tavg display “wear t shirt”.
The system also has a temperature sensor that records the temperature of the room "Troom" so that the user gets a better sense of the outside temperature.
After having recorded the values Thigh, Tlow, Troom, "wear [article of clothing]", they are displayed on an lcd screen.
Log in or sign up for Devpost to join the conversation.