Motion Sensor Powered Light Switch

A 2024 hardware-and-software project designed to save energy automatically.

This project combines a PIR motion sensor, a Raspberry Pi program, and a light-control circuit so that lights in a room can turn off automatically when no motion is detected.

Overview

A simple idea that connects sensing, programming, and energy savings.

Problem

Lights are often left on by accident

Rooms can stay lit even when no one is using them, which wastes energy and makes everyday routines less efficient than they could be.

Solution

Detect motion and respond automatically

The project uses a PIR motion sensor connected to a Raspberry Pi system that watches for activity and turns the light off when the room becomes inactive.

Learning

Hardware and software working together

It brings together physical computing, coding, and problem solving in one project that has a clear real-world purpose.

How It Works

The project turns motion detection into an energy-saving action.

PIR sensor detects activity

The motion sensor watches for movement in the room and sends a signal when someone is present.

Raspberry Pi program interprets the signal

A Raspberry Pi program reads the motion data and decides whether the room is active or inactive.

Lights turn off when the room is empty

If no motion is detected for a period of time, the system turns the lights off automatically to reduce unnecessary energy use.

Project Direction

This project shows how sensing, code, and circuits can work together to solve a simple everyday problem in a smart way.