Skip to content
/ UPS Public

This is what happens when you miss your UPS order...

Notifications You must be signed in to change notification settings

QasimWani/UPS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UPS

This is what happens when you miss your UPS order...

So basically, earlier last week I was supposed to get an order from UPS. Unfortunately, I missed that order because I had my headphones on at the time. When I called UPS, I was told they'd come the next business day which was June 22, 2020. However, I received this on my door yesterday (Sunday). So, clearly someone was misinformed. And to make sure UPS doesn't miss my package again, I built a sound sensor that will alert me as soon as someone knocks on the door of my apartment.

So here's how it works in a nutshell. The UPS guy knocks on the door. A sudden change in frequency is picked up by KY-038 Sound Sensor module (see images 1-2). This will be reflected by a digital HIGH (i could've done analog and set threshold but was too lazy to implement an ADC lol, Digital out gets the work done in this case) and send this signal to me (my laptop) over a websocket via my Raspberry Pi as the server and my laptop as the client. This alert will be sent as a boolean which when true indicates that someone knocked on the door and will alert me by playing a 30-second audio clip which will clearly make me aware that someone just knockd on the damn door.

Moral of the story: Engineers are proactively lazy!

TASKS

  1. Sound (knock) to Digital Output ✅
  2. Websockets
    1. Client ✅
    2. Server ✅
  3. Socket Communication ✅
  4. Hardware Setup ✅

How it all started:

ups pissed me off

Working Prototype:

Full door view Full door view Close up of the sound sensor (RaspPi4) close-up Photo at an angle cuz skills cinematic another one to keep you scrolling... full door view alt

About

This is what happens when you miss your UPS order...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages