Introduction: Hands-free Doorbell

During quarantine, doorbells are a big way to spread germs, since many people touch them. So, we invented a hands-free doorbell that detects the motion of people outside, which sends an email to your phone. In the email, it will show the face of whoever is at the door. This way, we cannot spread the virus through the doorbell. I am going to 5th grade this fall, and my dad is helping me with this project.

For the hardware, we used a raspberry pi "zero" which is very small and was perfect for a doorbell project.

For the software, my dad found this great project called motioneyeOS which has motion detection built in and works on the raspberry pi.

Supplies

Step 1: Set Up Raspberry Pi

  1. Download the raspberry pi 0 image for motion eye OS
  2. Write the image to the SD card. Follow these instructions
  3. Set up wifi to connect the raspberry pi to your wifi network
  4. Insert micro SD card into the SD card slot on the raspberry pi
  5. Connect the raspberry pi to power.
  6. The green light on the raspberry pi should blink in the beginning and then light up solid.

Step 2: Set Up Motion Eye OS

  1. Open a web browser and go to the IP address of your raspberry pi. You should see the motion eye OS login page.
  2. Login with username "admin" and no password.
  3. You can (and should) set a good, strong password.

Step 3: Set Up Camera

  1. Shutdown raspberry pi and disconnect from the USB power cable.
  2. Connect the camera module. This can be tricky, because the cable is very thin and narrow and it's not obvious which side of the connecting cable is "up" and which is "down". Also, the very thin and small "locking" mechanism on the raspberry pi is very delicate / fragile. Gently loosen the locking mechanism, and insert the free end of the camera connector cable into the raspberry pi's camera slot (at the very top of the raspberry pi, as shown in the picture). Make sure that the dark side of the connector is facing up.
  3. Connect the raspberry pi to power

Step 4: Enable Motion Detection

  1. Go to your motioneye OS web page and log in as admin
  2. Go to the "Motion Detection" section
  3. Make sure that it is set to "on"

Step 5: Set Up Email Notifications

  1. Go to your motioneye OS web page and log in as admin
  2. Go to the "Motion Notifications" section
  3. Set "Send an email" to "On"
  4. Set SMTP server settings (you can get this from your ISP or from gmail)
  5. You can test email notifications using the "Test Email" button.
"Can't Touch This" Family Contest

Participated in the
"Can't Touch This" Family Contest