In this project, we will make PIR (A passive infrared sensor) motion sensor based timer that connected to an Arduino Wifi board inside a clear acrylic case.
The duration of your shower will be measured based on your motion and the shower record will be stored Adafruit.io and notify you through your email/SMS/twitter account through the IFTTT.com. The IFTTT.com service has a variety of options where you can collect data using sensors and you can also send a trigger to your Arduino board. I have chosen to use SMS as my report method, but you can look into many other options like. Instead of an Arduino Uno, you will be using Arduino Wifi board called, adafruit HUZZAH ESP8266, to fit and run every component in this motion glass.
For this project, we have to set up the sequence to activate the timer and send the information to you to remind you that you should save water by taking a shorter shower! Sounds cool? Let’s build it!
1. Adafruit Feather HUZZAH with ESP8266 WiFi (This is the board that allows you to connect with Wifi and make an IoT smart object!)
2. Feather Stacking Headers - 12-pin and 16-pin female headers (If you don't have this, you can just solder the wires to the board. But, because I did not want it not working after I finished to solder them all, I bought this! )
3. Through-Hole Resistors - 220 ohm 5% 1/4W (I used them to test with LEDs, but this is optional)
4. PIR (motion) sensor (This is a key sensor that allows the device to sense motion, detecting whether you are in or out of the shower. It's small, inexpensive, low-power, and easy to use. That is why I chose this sensor in the first place. But, it can take you some time to get used to it... It took a while for me.)
5. Adafruit NeoPixel Digital RGB LED Strip - White 60 LED - WHITE (I used only four LEDs, but you can use as much as you want to make this better.)
6. Breadboard wires (Normal jumper wires)
7. Lithium Ion Polymer Battery - 3.7v 2500mAh (I used this battery because of its small size. Even with the battery because it is quite small, you will be able to fit all of your parts in the Pixel Glass!)
7. Clear, Transparent Acrylic Board (Dimension: 24 in X 12 in, Thickness: 1/4 in, You can use different color materials)
8. Moderately Fast-Setting Solvent Cement for Bonding Acrylic (I used IPS Weld-On® 3™ for ‘welding’ Acrylics together! Acrylics are not actually glued: they are chemically ‘welded’ together with this special solvent cement. This is very dangerous chemical! Wear eye protection, and make sure this stuff doesn't go into your eyes!)
9. Acrylic Glue Hypo 25 Applicator (This is an applicator for solvent adhesive and used by experienced plastic craftsman. I used this tool to apply solvent adhesive on Acrylics.)
10. Laser Cutter Epilog Helix (I used this laser cutter from my school to make the frame of Pixel Glass. But, if you don't have this machine, you can use different ways to make your own cover for the device. For example, you can buy a plastic hard case from Radioshack and drill holes.)
11. Safety Eyewear (Protect your eyes!)
12. Micro USB cable (You need this cable to power Huzzah board or to charge the Lithium-Ion Polymer Battery.)
13. Soldering iron & solder
14. Wire strippers
15. Small needlenose pliers
16. Your computer!
17. A clamp (I highly recommend to use this but if you don't have it, it's totally fine. It's just optional.)
18. Your belief and patience! Even if you feel like you are getting anywhere, you will make it happen at the end as long as you don't give up!