What is it ? It's a system which can give remote access to a house.
What is the purpose / Why ? These days, most of the couples are working and are not available on workdays at their residence. The system can work is such scenarios. For an example, this include accessibility for known visitors, family member (kids returning from school ), maid, gardener in physical absence of the resident.
Second application scenario can be to receive courier parcels, gas
cylinder, water containers, etc in physical absence of the resident.
Why did I choose/built this project ? Lot of similar projects is bits and pieces are already built. I went through most of them and built my version to suit my needs.
What will you gain or why should you read through ? I am going to tell you very bit of this project so that you can build yours. There is no missing information that will stop you building your own project.
I have used Raspberry Pi B3 + version. Its a mini computer with GPIO, peripherals and can run linux. I have used python as the programming language. Its quite powerful as a pre-developed libraries. The coding is quite intuitive and lot of support is available online. I am using Python first time not a pro in Python and have made the code working with my limited knowledge. The python running on Raspberry Pi used in the code interfaces with GPIO's, captures pictures, makes logical decisions and can also send Gmail with photo attachment.
I doubt if C is so powerful and can do the same job without much coding.
The functional block diagram is follows.
What all I need to buy ?
If you are from India, you can buy all your stuff online used in this project as follows:
Raspberry Pi 3 Model B+ - The heart and soul of the computer. You can use a normal HDMI interface screen, keyboard and mouse along with it. I am not suggesting this as they are optional.
50 RPM motor - To open or close the door. You can use any other motor also.
L298 based motor driver - To drive the motor in clock wise and anti clockwise direction.
Press button - you can use press button of your choice. I had this one lying around hence used it.
along with this, I have used some berg wires and LED's for functional purpose.
Where did I learn about the necessary stuff ?
A lot of GPIO interfacing related documentation is available at here.
I have learnt camera interfacing from here.
Sending Gmail from here.
The GPIO interfacing block diagram is as follows:
The exact python code is as follows. You need to copy paste it in your /home directory of your Raspberry Pi. Change the gmail ID and password as per your specifications.
The video is available here: