With the advancements in technology and the availability of cheap electronic control devices, automation is getting more and more common. Instead of being present only in high-tech industries, it is now stepping into our homes and public spaces. One of the most common applications of automation is automatic lighting control. With the help of automation, we can create more efficient, energy saving and intelligent lighting and device control systems. The automatic lighting system can be installed in homes, schools, colleges, offices, factories, train stations, and other public spaces. For the purpose of home and lighting automation, an Automatic Door Opener With Lighting Control Using Raspberry Pi project is proposed.
This project consists of PIR sensors, IR sensors, a DC motor, an audio speaker, an LCD screen, and a Raspberry Pi controller board. The project detects the presence of human beings using PIR sensors and controls the lights and the gate based on that information. The status of the devices is displayed on the LCD and is also announced on the audio speaker.
The power supply provides 5VDC stable power to all the peripheral devices as well as the main controller on the circuit board. The PIR sensor in the project acts as a motion detector and detects the presence of humans in its field of vision. The PIR sensor provides this data to the Raspberry Pi controller, which then operates a DC motor in order to open the door. Two IR sensors are then used to find the number of people entering through the door. If only 2 people are entering then only one light bulb is lit. If the number of people entering is greater than 4 then 2 light bulbs are lit.
The status of the lights and gates as well as the project progress is displayed on the LCD screen. Apart from the LCD screen, the actions performed by the Raspberry Pi controller to turn the devices on or off, are also announced on the speaker through a digital voice. All the peripherals and electrical devices are controlled by the Raspberry Pi controller which is a single-board computer system running the Raspbian OS and programmed in Python programming language.
The project block diagram consists of the following sub-blocks and devices: