Create project Need help?
Show more (2)
Dorian.Saussard

Raspberry Pi Doorbell bodyguard [150400]

Status: Finished
6026
17
votes
July 28, 2015
RPi doorbell
Do you want to know who rings at your door but you are too far from your home?

This system works with a Raspberry Pi and a GSM-BoB module. If someone rings at your door, the Raspberry Pi will take a picture and sends you the photo by MMS. Once you have the picture, you can decide to call the module to speak with the person or not. Watch the video here.
 
Here are the different steps to configure your Raspberry Pi:
 
1) You have to download an OS (Operating System). Personally I used Raspbian but you can take another one if you prefer (https://www.raspberrypi.org/downloads/)
 
2) Use a software to put the OS in the SDcard (like Win32DiskImager)
 
3) Once the OS installed, you must do some configuration to allow the camera and the UART.
 
4) Open a terminal and write: “sudo raspi-config” -> There is a line marked “Enable the camera”. You must reboot afterwards.
 
5) You can now take picture with the command: “raspistill –w 1280 –h 1024 –o image1.jpg”. You can also write: “help raspistill”
to see all available commands.

6) For the UART, you have to modify a file to tell to the Raspberry that you want to use the UART: 
  • Go to the file “cmdline.txt” in the folder “/boot/”
  • In the document you will see something like:  
    dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
  • You have to remove this part 
    console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 (to remove the use to the UART at the lunching of the Raspberry

  • In another file, you have to put a line in comments (or delete). It is in the file “/etc/inittab”. You will see:
    T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
                        

    You have to put the line in comments so put:                                                                               
    #T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
     
7) You can now restart the RaspberryPi
Read the full post
Show less
Loading comments...