How I Built a Smart Multi-Sensor Security & Environment Monitoring System Using Arduino

by satvik-iot in Circuits > Arduino

19 Views, 0 Favorites, 0 Comments

How I Built a Smart Multi-Sensor Security & Environment Monitoring System Using Arduino

Screenshot 2026-05-11 173257.png

When I started exploring Arduino security projects online, I noticed that many beginner systems focused only on motion detection or simple buzzer alarms. Most of them lacked proper environmental monitoring, user feedback, or multi-sensor integration. I wanted to create something more practical that combined security and environmental sensing into a single low-cost setup.

This project is a Smart Multi-Sensor Security & Environment Monitoring System built using Arduino Uno and several sensors including a PIR motion sensor, MPU6050 accelerometer, DHT22 temperature and humidity sensor, and an LDR light sensor. To improve usability, I also added a 16x2 I2C LCD display that shows live system status and environmental readings.

The main idea behind the project was to create a system capable of:

  1. detecting human motion,
  2. identifying physical tampering,
  3. monitoring environmental conditions,
  4. and providing instant alerts through LEDs, buzzer, and LCD messages.

The complete project was first tested in Wokwi simulation before finalizing the hardware design and project documentation.

Supplies

Component Quantity

Arduino Uno: 1

PIR Motion Sensor: 1

MPU6050 Accelerometer: 1

DHT22 Sensor: 1

LDR Sensor: 1

16x2 I2C LCD Display: 1

Red LED: 1

Green LED: 1

Buzzer: 1

Breadboard: 1

Jumper Wires: Multiple

Resistors: As required

Why I Built This Project

Traditional security systems can be expensive and often require cameras, cloud subscriptions, or complex installations. For students and beginners, those systems are not always practical for learning embedded systems and IoT fundamentals.

I wanted to design a project that:

  1. uses affordable components,
  2. is beginner-friendly,
  3. teaches multiple sensor integrations,
  4. and can actually be recreated at home or in college labs.

Another goal was to improve the presentation quality compared to most beginner Arduino projects by adding:

  1. LCD-based monitoring,
  2. organized alerts,
  3. structured code,
  4. and proper documentation.


Safe Mode

Screenshot 2026-05-13 091022.png

Under normal conditions:

  1. Green LED remains ON
  2. Red LED remains OFF
  3. Buzzer remains OFF
  4. LCD displays environmental readings

Example LCD output:

SAFE MODE
T:24C H:40


Motion Detection

Screenshot 2026-05-11 173411.png

When the PIR sensor detects movement:

  1. Red LED turns ON
  2. Buzzer activates
  3. Green LED turns OFF
  4. LCD displays motion warning

Example:

MOTION ALERT!
Security Risk


Arduino Code Structure

Instead of writing all logic randomly inside the loop, the code was organized into sections:

  1. sensor reading,
  2. alert logic,
  3. LCD updates,
  4. serial monitoring,
  5. output control.

Libraries used:

  1. Wire.h
  2. LiquidCrystal_I2C.h
  3. DHT.h
  4. Adafruit_MPU6050.h
  5. Adafruit_Sensor.h

The MPU6050 threshold was configured so only significant X or Y movement triggers the alarm.

This reduced false alerts and improved system stability.

Github Repository

https://github.com/satvikshrivastava-coder/smart-multi-sensor-security-system

Wokwi Simulation

For the viewer who were interested to experience the project simulation by their own

https://wokwi.com/projects/452827451841438721