Question: A simple home automation system prototype is to be designed using Raspberry Pi, it should satisfy the following features: 1. The system is to be
A simple home automation system prototype is to be designed using Raspberry Pi, it should satisfy the following features: 1. The system is to be turned On and OFF using an external switch. 2. The system includes a motion sensor (PIR sensor) placed at the main gate of the house, whenever motion is detected, an LED is to be turned On, a buzzer is to start beeping with a frequency of 1 HZ, and a Raspberry Pi camera is to take a still image and save it in Desktop. 3. After taking the still image, the system should wait for a response from owner, if the owner presses a corresponding pushbutton, a servomotor should rotate in order to open the gate (going from angle 0 to angle 180). 4. When the gate is open, an ultrasonic sensor should detect an in-range movement, when no movement is in-range after 10 seconds, the gate will close. GPIOZERO library is to be used for all the subsystems. a. Sketch by hand the connection needed for feature 1. (5 pts) b. Write the code segment needed for feature 1. (5 pts) c. Sketch by hand the connection needed for feature 2. (5 pts) d. Write the code segment needed for feature 2. (5 pts) e. Sketch by hand the connection needed for feature 3. (5 pts) f. Write the code segment needed for feature 3. (5 pts) g. Sketch by hand the connection needed for feature 4. (5 pts) h. Write the code segment needed for feature 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
