Raspberry Pi Doorbell Is Fully Featured

RasPi Doorbell

When you think of a doorbell, you typically don’t think of anything very complicated. It’s a button that rings a bell inside your home. That’s about it. [Ahmad] decided he wanted to turn his doorbell up to eleven (Google Doc) with this build. Using a Raspberry Pi, he was able to cram in loads of features.

When the doorbell button is pressed, many different events can be triggered. In the demo video, [Ahmad] shows how his phone receives a text message, and email, and a tweet. The system can even be configured to place a voice call via Google Hangouts using a USB microphone. [Ahmad] demonstrates this and shows how the voice call is placed almost instantly when the button is pressed. This may be a bit overkill, but it does demonstrate many different options depending on your own needs.

For the hardware side of things, [Ahmad] purchased a wireless doorbell. He opened up the ringer unit and hooked up the speaker wires to a couple of pins on the Raspberry Pi through a resistor. The doorbell unit itself is powered off of the 3.3V supply from the Pi. The Pi also has a small LCD screen which shows helpful information such as if the Internet connection is working. The screen will also display the last time and date the doorbell was pressed, in case you weren’t home to answer the door.

On top of all of that, the system also includes a Raspberry Pi camera module. This allows [Ahmad] to take a photo of the person ringing the doorbell as a security measure. He can even view a live video feed from the front door by streaming directly to YouTube live. [Ahmad] has provided a link to his Pi image in the Google Doc so others can use it and modify it as they see fit.


37 thoughts on “Raspberry Pi Doorbell Is Fully Featured

    1. There is an issue regarding that, in my area you aren’t allowed to stream if the people/plates are recognizable but for the rest its allowed I understand.
      But each country/region has its own rules. And then there’s the neighbors getting pissed outside of all that. You might take that in consideration too.

        1. You could make your stream private so only you can see it on youtube, or have it stream only your local network. You can even turn off the stream completely. The camera could be positioned so only the person who is at your door is visible.

          1. Exactly, you just need to some normal consideration and all is OK.

            I like your project, and they sell wireless doorbells with pretty much nothing extra but just a bell for more in many shops.

            And it’s expandable, if you wish you could have it open the door remotely on command and such. And maybe add a cat detector if you have a catflap, or a special display for messages to delivery guys maybe, and who knows what else you could add when you think on it a bit.

  1. I was gearing up a long rant about such a huge waste of a PI and PI is the new arduino and 555 timer this and that…
    But… Pretty cool project. Interesting concepts of how future doorbells should work.

    I think the average home is sorely in need of technology boosts such as this. As much for security as convenience.

    1. I was also going through the same thought, “overkill?” but then as you did I saw the whole setup and then was turned around completely and thought it was pretty nifty. And as raspi projects go certainly not the worst of them. I’ve seen some really pointless waste-of-money projects.

        1. Will it be the last pi project, no and you buy another one…
          and you forget the shipping cost, specially with the prices you told, I don’t know where you can get all these cheap parts from one supplier, but perhaps you live in Shenzen…

  2. i have made this a year ago . the webcam was a microsoft hd 3000, with 2 powerlan adapters, 2 raspberry pi`s , a 7 inch monitor. it was all with bash scripts, with sshpass transmittng the commands. it is working this day on a friend of mine.

        1. Excellent project. I’m also working on a raspi doorbell project. Mine uses WS2811 LED lighting on the inside of the house, sends a tweet, an email and will eventually send a push notification to my iphone.

          I’m using a similar method to receive the doorbell signal. I’ve gutted a wireless doorbell received and hooked the LED light on the receiver to a GPIO pin on the raspi. This was not only the cheapest route but also lets me use a standard looking doorbell on the outside of the house.

      1. Thanks for that list, but it’s a bit general. Suppose I buy the following, will your image work?

        Generic 16×2 LCD
        Some Adafruit I²C backpack with buttons? Part number?
        USB microphone seems pretty generic
        Wireless doorbell

        Thanks in advance!

        1. It would, but you would need to change some settings in the code for it to call your phone and communicate with your accounts. For the usb mic, I used an old usb webcam which worked, try an old webcam and record some audio, see if it works, otherwise you would need a usb mic.
          You don’t need the buttons for the adafruit, I was just using it for testing. The code in the image works for this https://learn.adafruit.com/adafruit-16×2-character-lcd-plus-keypad-for-raspberry-pi as I had it lying around,but you could change the code to use a normal lcd.

          1. Hi sir. Can i know all the things i need to build this? I’m a newbie in raspi community and hoping to build one for my first try. Hope you can reply to me. Thanks :)

  3. OK, I built this today. Works fine, Sends text, e-mail and tweets when doorbell button is pressed, but no sound. I don’t see anything in the code to generate sound. Was the sound supposed come from the actual wireless doorbell ? I didn’t use a wireless doorbell, I just connected push button to the IO Port. I was expecting the Raspberry pi to play a wave file or something, but it seems it does not.

  4. Thank you very much for the post :)
    Built this up the other day and got it all working, really neat project.

    I modified the code a bit to take two pictures one low resolution to email and a higher resolution picture which is copied to my NAS as well as having the doorbell write back to my mysql server with the date and time of each press.

    Can see the first part of my build here:

  5. This looks great but for those of you who have made it how do you actually present the finished product as a doorbell?

    Obviously the button stays on the outside but how do you fit the camera on the outside of the door to take photos/video and how does that impact where the pi/lcd is stored?

  6. Hi sir. I would like to build it but i don’t know the parts i need. I’m starting from scratch and it’s my first time to use raspberry pi. Can you tell me the things i need for it? Thank you :)

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.