Back to Parent

Outcome


Problem Statement

My friend, Henri, tends to sit in front of his computer for long hours at work. Even though he knows the importance of taking regular breaks to stretch and distress, he often forgets to do so without proper reminders. On the occasions when he wants to take a break, he'd love to mingle with his colleagues. However, the current flow of having the intention, opening up the slack channel, thinking about what to say, typing up the message, then clicking on the "send" button sometimes have deterred him from actually taking a break with others. How can we nudge Henri to take and enjoy the breaks?

Goal

The goal of this project is to prototype an IoT device that detects how long someone has been sitting and sends break reminders to him/her if he/she hasn't been moved for a while. The device should also lower the barriers for people to bond during the breaks.

Process

To get started, I first researched the existing IoT projects online. I learned that ultrasonic sensor can detect the object's distance. Thinking that the distance could effectively reflect people's position and activities, I decided to use the ultrasonic sensor to detect if people have been sitting for too long.

Next, I followed the tutorials provided by the Sparkfun website (http://www.instructables.com/id/Simple-Arduino-and-HC-SR04-Example/) and started building a basic circuit using the ultrasonic sensors and two LEDs which are used to indicate the status. To ensure that the device sends a break reminder email to the person if he/she sits still for 15 minutes, I added a Timer object in my code, which tracks how long the system has been in one state. I then connected the particle photon to the online Particle Console and used the IFTTT to send reminder emails when the break time event is triggered.

For the second part of this project, I added a tactile switch to the circuit so that when people click on the switch, a slack message will be automatically sent to the selected channel asking others if they want to take a break together. I again used the IFTTT to achieve this goal.

Lastly, the look of ultrasonic sensor always reminds me of a robot. Thus, I 3D-printed a case and made it a bit more adorable so that it may give people a sense of companionship when they are at work.

Show Advanced Options
Show Advanced Options
Schematic bb.thumb
Show Advanced Options

Bill of parts:

- Particle Photon

- Breadboard

- 2 LED lamps

- 1 tactile switch

- 1 ultrasonic sensor

- Jump wires

- 2 resistors

- USB Micro cable

- 3D printed case (https://www.thingiverse.com/thing:994736)

Show Advanced Options

Reflection

Through this project, I learned to dissect a complicated IoT device into smaller parts and conquer each part separately. This process made the originally intimating project much easier. Additionally, I also got opportunities to explore different electronics online communities, which will be really helpful to me in the long run.

Drop files here or click to select

You can upload files of up to 20MB using this form.