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:





Join 7,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython in 2018 – Python on Microcontrollers is here!

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!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/

Maker Business — American startups are having an increasingly smaller share of the market

Wearables — Switch the advantage

Electronics — Don’t float!

Biohacking — Optimizing the Warm Up

Python for Microcontrollers — CircuitPython 3.0.0 released!

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.