G6: Smart Building Light Automation System - shalan/CSCE4301-WiKi GitHub Wiki

Smart Building Light Automation System

Table of Contents

Project idea

This embedded systems project aims to develop an intelligent light automation solution for modern buildings. By utilizing advanced motion sensors and microcontroller technology, the system will automatically control the lights, turning them on only when people are detected in the area. This innovative approach not only enhances energy efficiency and sustainability but also reduces operational costs for building owners.

Team Members

Name Github
Salma Abdellatif Salma Abdellatif
Linah Rashed Linah Rashed
Alaa Al Kady Alaa Al Kady
Ahmed Shalaby Ahmed Shalaby

System Overview

Hardware Components

  • STM32 Nucleo-32: STM32L432KC
  • Photo-Resistor (LDR) Sensor
  • LEDs
  • PIR Obstacle Avoidance Sensor
  • Relay module

Software Components

  • Keil uVision 5
  • STM32CubeMX

Initial design

The implementation of the Intelligent Light Automation System consists of the following steps:

  1. Initialize the microcontroller peripherals and sensors.
  2. Configure the LDR sensor to measure the ambient light levels.
  3. Configure the PIR Sensor to detect the presence of people in the area.
  4. Use the microcontroller to process the sensor data and control the LEDs accordingly.
  5. Continuously monitor the area for changes in light levels and people's presence.

Block Diagram

Phase 1 Update

Simple implementation of the real life light automation system in a manner that automates an LED toggle. The LED lights up as a result of a condition composed of two parts: one relevant to the PIR sensor, and the other relevant to the LDR, essentially turning on the light when there is movement and it is dark.

image image image

Final Demo

We added the relay module to our light system to control higher voltage, such as light bulbs, using the low-voltage signals from the MCU.We also added it so our project would be more realistic and practical.

image

-Final Demo Video: https://drive.google.com/file/d/1zEdDNZGR8XqcXJ0ApIbPRaDf4va2asxm/view?usp=sharing

Github Repo

https://github.com/JimmyShalaby/Embedded

Future Enhancements that could be implemented to our system

  • Integration with other building systems, such as HVAC and security.
  • Implementation of a user interface for advanced control and monitoring.
  • Addition of energy consumption statistics and reporting features.

Slides

https://drive.google.com/file/d/1z9amilIo6DMCRoao7mdbq33RLse6ktqu/view?usp=sharing