One of the most anticipated experiences of living on a college campus is living in residence with a roommate - unfortunately, it isn't always what it's hyped up to be. Or rather, sometimes it's too hype. Noise complaints are a common issue that roommates face in late hours, when one is trying to cram in some last-minute studying and/or some z's, while the other is up and has way too much energy. Our product, Sleep Tight, is the solution to the oftentimes uncomfortable, but necessary, confrontation that roommates might have about this problem.

What it does

Sleep Tight is a device that automatically sends text messages to roommates when they're being too loud. A noise sensor measures the decibel level from the common room, and if the decibel level is too high, a text message is sent. The device comes with the options of setting your own customizable text messages and can be used for studying, sleeping, or any other activity that requires a certain amount of silence in your room.

How to Use it

Sleep Tight is an easy-to-use product - with just the click of one button, you can switch between "Sleep" and "Study" modes, depending on how much peace and quiet you need. One days where you just need to rest and need as much silence as possible, click on "Sleep". If you're studying and are a bit more tolerable with noise levels, click on "Study". Sleep Tight does the rest! Depending on which mode you choose, our product will automatically text message your roommate when they're being too loud.

Technical Description

Our product uses two pushbuttons to set the mode. The code processes the input from the buttons to see when the states are changed and to set the mode. From there, the mic amplifies surrounding sound and the Arduino reads the maximum and minimum inputs from the mic to calculate the amplitude of the noise, before converting it into voltage. When the voltage passes a certain threshold (different depending on which mode you're in), a timer is set to record the total noise level over 5 seconds. If enough noise is being made over the sustained period of time, the text message is sent. If not, and the noise if a one-time spike, no text message is sent. The text message is sent through twilio and thingspeak, Internet services the Arduino can access through its Wi-Fi shield.

Intro video:

Built With

Share this project: