Skip to content
Syed Yead Zaman edited this page Feb 18, 2025 · 4 revisions

Ultrasonic Security System - STM32

This project is an embedded security system using an STM32F401RE microcontroller to detect motion and objects and send the data to a computer for radar-like data visualization. The system uses an HC-SR04 Ultrasonic Sensor for object detection and a PIR Sensor for motion detection. The Ultrasonic Sensor is attached to the motor to perform sweeping motion for detecting objects in a 180-degree range. The PIR Sensor is used to detect motion in the room.

Features

  • Object detection using HC-SR04 Ultrasonic Sensor
  • Motion sensing using PIR Sensor
  • Sensor sweeping with Stepper Motor
  • STM32F401RE-based firmware
  • Power-efficient design

Materials Used

Component Description
STM32F401RE Microcontroller Board
HC-SR04 Ultrasonic Sensor for object detection
PIR Sensor Motion detection sensor
28BYJ-48 Stepper Motor for lock mechanism
ULN2003 Stepper Motor Driver
Power Module Converts power from adapter
9V Adapter Power supply for the system

Documentation Overview

  • Hardware - Details on sensors, actuators, and STM32 board.
  • Software - Code structure, peripherals, libraries, and configuration.
  • Integration - How different components interact.
  • Debugging - Common issues and troubleshooting.

Getting Started

See the Getting Started Guide for setup instructions.

Clone this wiki locally