0

August 29, 2015 AT 11:02 pm

DoorBot: DIY Office Door Notification System

So my company recently moved to a new office, and it’s huge, and awesome!  The only problem is, no one sits by the front door; design flaw or conspiracy?  No one knows for sure.  When people come to the door, whether visiting someone or delivering a package, they need to ring a good ‘ole fashion doorbell to get someone’s attention to come and let them in.  As you can imagine, hearing a doorbell ringing throughout the day can be quite annoying, so I thought, “I can make this better! With Arduino!”

Here’s the basic idea:

  • iPad outside the office door, where visitors can state their intentions
  • Using Slack, alert the Office Manager for deliveries, or whoever the visitor is there to see
  • Provide everyone an ability to unlock the door directly from Slack

The first two were easily accomplished.  One of our UI engineers whipped up an awesome interface, the iPad went up without a hitch, and utilizing the Slack API’s were easy enough.

Now, how to go about letting people unlock the door from Slack?  I took a look at how the front door is wired up (which includes a “Request to Exit” button, a keypad, and a motion sensor, all of which unlock the door by releasing the magnetic lock).  I found the panel which controls the door lock, and saw that it had a simple relay board inside.  I realized that I could take an Arduino (I chose a Particle Photon) and wire it into the relay board to remotely trigger the relay, and unlock the door.

The benefit of the Photon is that you can define a function in the Arduino code which can be called via the REST API provided by Particle.  Utilizing the Slack API, I added a command which was sent to a NodeJS server, which in turn made the REST API call to Particle, which in turn sent a LOW signal to the relay, and voila! the door is unlocked!

The project all came together very nicely, and it’s always awesome to find ways in which micro-controllers can be introduced into everyday life!

Next up, adding a camera that will snap a picture of the visitor to include in the Slack message.

Happy Coding!

PS – Here’s some pictures of the project:

IMG_3645

IMG_3646

Photo1

Photo2


Check out all the Circuit Playground Episodes! Our new kid’s show and subscribe!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!


Maker Business — Lessons Learned Scaling Airbnb 100X

Wearables — Start with a sketch

Electronics — When do I use X10?

Biohacking — Project Peri – Translates Sound into Light for the Hearing Impaired

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.