Back to Parent

Outcome


Problem: Our washer & dryer are in the basement, so we can't hear when it's done. We're on the second floor and my roommates often walk downstairs multiple times to check when their laundry is done.

Goal: Build a device that sends them a notification when their laundry is done. 

Process: I decided to use a mic that would sense when the washer/dryer buzzer went off. An accelerometer also seemed like a valid choice, but I was more experienced with the mic. I used our Sunday tutorial code as a leaping odd point.

Below is my initial code and circuit.

Show Advanced Options
Img 0041
Show Advanced Options

I remixed the code to send a push notification after the sound passed a certain threshold. I switched from SMS because I didn't want to overload my SMS while debugging. It started a little too sensitive.

I also added a switch and status light so that I could control when it was publishing events. I added a "notifyLed" that would light up whenever an event published. This was primarily for debugging.

Show Advanced Options
Img 0045
Show Advanced Options
Img 0057
Show Advanced Options
Img 0058
Show Advanced Options

Unfortunately, prior to documentation, my mic stopped giving a reading. I tried re-soldering but couldn't get it online. In the name of improvisation, I switched my device to a motion detector that would notify me when it detected motion. This would be great for my dog, who constantly breaks into the kitchen. I used our tutorial code: http://diotlabs.daraghbyrne.me/7-communicating-events/pir/

I used the same switch and status functionality I had in the previous device.

Show Advanced Options
Img 0064
Show Advanced Options
Img 0063
Show Advanced Options
Motion sketch
Show Advanced Options

Outcome: The initial laundry device worked, but I needed to do additional work to calibrate its sensitivity. I started to wonder if there was a better approach for achieving my goal.

The motion sensor appears to work as planned.

Show Advanced Options

Bill of parts:

  • 1 Pir sensor (or Adafruit MAX4466 mic)
  • 2 1k ohm resistors
  • 2 LEDs
  • Jumper wires
  • Breadboard
  • Particle microcontroller
  • 1 switch

Reflection

I was a little bit worried about this project because of my limited experience programming and nonexistent experience with circuits. I was happy to find the basics were fairly accessible, particularly when using IFTTT. While I was disappointed my mic stopped working, I was happy I could hack together a new device. Now that I know I can do this, I look forward to working on more projects!

Drop files here or click to select

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