Back to Parent

Problem statement

The problem is that for my old roomies they never drink water unless they feel thirsty. Even they know it is not good for health, but they always forget to drink water if no one remind them. 

Goal

My solution is to build a device to monitor the room temperature and send alert to remind them the time they should drink water if under a dry condition.

Component

Particle Board 

Temperature Sensor

5 LEDs

Resistors 

Wires 

 Process & Outcome

The original tutorial I used is https://particle.hackster.io/gusgonnet/temperature-humidity-monitor-with-blynk-7faa51?ref=search&ref_id=temperature&offset=2, which is about DH22 sensor to monitor room temperature/humidity via Blynk. Blynk is an app where can connect different hardware such as particle or arduino that user can build their own controls and dashboard to show data they need. However, after I finished my code and set up my dashboard on Blynk, my photon was breathing green. I googled the solution of this issue, and some users think that it has to do with using Blynk. They suggest using system threading or safe mode. In order to save time I restarted my photon and used safe mode, and finally, it was fixed. 

Then I gave up using this app and found another online tutorial https://www.youtube.com/watch?v=KmeGk1A59pE, which has LEDs whose level of brightness is dependent on a temperature sensor connected in the circuit.

However, this is an Arduino Project which is kind of different with Particle, so I modified some code such as equation to adapt to Particle Photon. Based on the research that the range of comfort room temperature is 18°C-24°C, so I set the temperature baseline is 18°C. When the room temperature is below 18°C, all the LEDs are off. When the room temperature is above 24°C, 3 LEDs will light up and I will get an email via IFTTT to remind me that it is time to drink water. The code, circuit diagram, and video will show up later. 

Reflection: 

During this process, I learned that doing IoT you must have enough patience and be careful. You never know what is wrong with either code or circuit unless you check and ask again and again. For this project, I already reached my goal, but I still would like to go deeper. IFTTT is a good app, but sometimes it does not work well for my project that I still need to figure it out.  


Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0