Back to Parent

Outcome


Goal

My primary goal was to make a device which my roommate would find useful and learn how to use the Particle Photon. 

Intention

One of my roommates meditates for a cumulative time of 2-3 hours a day. Being the talkative person that I am, I would disturb her often; always unsure if she was in the zone. To give her some peace, I plan to place a pressure sensor in/under her meditation mat which will let me know when she's meditating. If ever I need to speak with her, I can send an sms to know if she's in the zone. 

Process

The first step was to configure the sensor. I used a simple circuit with a led attached to verify if the sensor and the related code worked. I then went on the check the values I was receiving to set a threshold for the device. The next step involved setting up the IFTTT connection and writing code specifically for it.  My initial code was incorrect as I had not created a separate function to publish the event. On correcting the code, I got the desired result. I set up publish and subscribe event and added a button which would switch the device on and off.

Parts

Square FSR sensor

LED light

Push Button

10kOhm resistor

1kOhm resistor

Wiring

Img 20170202 012606
Show Advanced Options
Show Advanced Options

Outcome

A user can send an sms saying #free to a specified number and the device is programmed to provide 3 response; if the device is switched off, if she's free and if she's meditating. 

Reflection

Having never worked on IoT products before, it was exciting to understand how the various sensors work. The tutorials on the DioT Lab website were very useful and easy to understand.  The next step was to change the led to an RGB led which would turn a certain colour to signify if it was on and a different colour for when she is meditating. I would like to further enhance this device by connecting it to a light on her door and others in her room. The door light would signal to us that she is busy and the light's inside would dim to suit the environment she would like while meditating.

Show Advanced Options
Show Advanced Options
Drop files here or click to select

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