Sensor for Hair Dryer

Made by Charleen Yang

I design a system that activates the alarm on my phone when my roommate uses her hairdryer.

Created: January 29th, 2016

0

Background

My roommate Emily and I live in a two bed and two bath apartment. We both have class at 8:30 in the morning on Tuesday and Thursday. Both of us take showers in the morning, and we both try to dry our hair after showering. Unfortunately, our electricity system doesn’t allow both of us to dry our hair at the same time. On Tuesdays and Thursdays, it is easy for us to experience an electrical outage by simultaneously using our hair dryers.

0

Goal

In order to avoid this problem, I decided to design a system that activates the alarm on my phone when she touches the hairdryer handle. She can also see the light to make sure the signal is sent and knows that I am aware about not using my hair dryer at the same time.

0

Process

Looking for Painpoint-->Design-->Design the breadboard-->Programming and Coding-->Success

0

Outcome

My roommate and I will never have to worry about casing an electric outage in our apartment due to using both of our hair dryers at the same time.



0

Reflection

I wish there were two breadboards, so I can design a process that illuminates a light in my bathroom when my roommate touches her hairdryer. Similarly, her bathroom light would blink when I touch my hairdryer.



0
0
#include "captouch.h"
#define CAPTOUCH_DEBUG

int ledPin = D0;
//int touchSensor = A2
int hahaha=0;

CapTouch Touch(A2, A4);y

void setup(){
    pinMode(ledPin, OUTPUT);
    pinMode(A2, INPUT);
    Touch.setup();
    Serial.begin(9600);
		Particle.variable("ledPin", &hahaha, INT);
}

void loop(){
    checkForTouch();
		Serial.print(hahaha);
}

int checkForTouch()
{
	CapTouch::Event touchEvent = Touch.getEvent();
if (touchEvent == CapTouch::TouchEvent) {
digitalWrite(D0, HIGH); // LED
Particle.publish("motion-detected");

} else if (touchEvent == CapTouch::ReleaseEvent) {
digitalWrite(D0, LOW);  // LED off
}}
Click to Expand
0
0
x
Share this Project

Courses

49-713 Designing for the Internet of Things

· 4 members

This course charts the emergence of the now "connected world" to explore the possibilities for future products and connected spaces.


Focused on
Skills
Tools
About

I design a system
that activates the alarm on my phone when my roommate uses her
hairdryer.