Indoor Light Automation
Goal

Commercially available light automation systems use wireless remotes or centrally control lighting which have to be installed at the time of home construction. Hence, the main goal of the project is to build a compact and easy to install module that switches on/off the light based on human occupancy.

Working Concept

The module uses a passive infra-red (PIR) sensor to detect human occupancy and switches on/off the light accordingly. A microcontroller is used to control the switching of the light through a relay. When a person enters the room, the PIR sensor detects motion and sends a signal to the microcontroller. The microcontroller energizes the relay which switches on the light connected to it, and keeps it switched on until no human occupancy is detected.

Design Considerations

Electronics Design

A circuit diagram showing the connection between components is shown. Attiny85 microcontroller is chosen for compactness and simplicity in design. The circuit includes power regulation for PIR sensor, switching circuit for the relay and auxillary components for the microcontroller. For more details refer to the documentation file. The link for the code is also provided below.

Documentation       Code

Demo Video

The video demonstrates the functioning of the indoor light automation module.