Arduino Alarm System

Davidson Computers Project

📌 Project Overview

This project is an Arduino‑based alarm system designed for the Davidson Computers course. It uses an ultrasonic distance sensor to detect movement, an LCD display to show system status, and a buzzer to sound an alarm when an object enters the detection range.

🔌 Wiring Diagram

This alarm system uses an Arduino Uno connected to a breadboard, an ultrasonic distance sensor, a piezo buzzer, and an LCD display. The distance sensor detects movement or proximity, and the Arduino triggers the buzzer and updates the LCD when an object enters the detection range.

📍 Ultrasonic Distance Sensor (HC-SR04) Wiring

📍 Buzzer Wiring

📍 LCD Display (I2C Module) Wiring

📍 Breadboard Connections

🔧 Hardware Used

💡 How It Works

The ultrasonic sensor sends out sound waves and measures how long they take to bounce back. When an object comes within a set distance, the Arduino activates the buzzer and updates the LCD to show an alert message. This creates a simple but effective motion‑triggered alarm system.

🧠 Code Summary

The Arduino code calculates distance using the HC‑SR04 sensor, compares it to a threshold, and triggers the alarm if the object is too close. The LCD displays real‑time distance readings and alarm messages.

📈 Skills Demonstrated

🚀 Possible Improvements