My girlfriend likes to use a humidifier at night during the winter so that she doesn't wake up dry. The intention of this project is to create a connected device that is able to turn off the humidifier during the day, turn on an LED and the humidifier at night, and log the data using IFTTT and a Google spreadsheet.
The goal of this project is to invent and learn about IoT products. My connected product will employ three components, share sensor information via the cloud, provides simple status feedback locally, and offers more detailed information online.
The circuit is setup so that whenever the light intensity drops below the threshold, the green LED will light up and the servo motor will turn on the humidifier. Whenever the light climbs above the threshold, the LED will turn off, the servo will rotate to turn the humidifier off, and the light reading will be sent to a Google spreadsheet.
The youtube video below shows the light controlled humidifier in action. When I shine light on the humidifier, the servo motor turns the knob off. When I remove the light, the LED lights up and the servo motor turns the knob on. When the humidifier is turned off, data is logged in a Google sheet through IFTTT. Unfortunately, I do not have a feature to constrain the servo motor. The video shows me holding the motor. The next step in this project would be to build a support for the servo so the device can ultimately run on its own.
Initially, I wanted to my device to measure the humidity of the room and only turn on the humidifier when the humidity drops below a certain level. Unfortunately, I did not have a humidity sensor at my disposal. I decided a light sensor would work equally as well, since my girlfriend only runs the humidifier at night. Even though I did not carry out my original plan, I still was able to gain experience connecting environmental inputs to output actions.