Skip to content

Object Proximity Alarm device created with an STM32 microcontroller interfaced with an ultrasonic sensor

Notifications You must be signed in to change notification settings

sardormirk/stm32_proximity_sensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Contributors Forks Issues


Object Proximity Alarm Device

A proximity alarm device that emits a varying frequency buzz depending on the distance of an object to the devices ultrasonic distance sensor
Explore the docs »

View Demo

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage

About The Project

Showcase

Showcase

(back to top)

Built With

  • C++
  • STM32F401RE Microcontroller

(back to top)

Getting Started

Instructions for building the device yourself can be found in the design document pdf. Inside, you will find circuit diagrams, part names and cost, as well as an assembly guide.

Prerequisites

  • STM32CubeIDE
  • STM32F401RE nucleo development board
  • Breadboard
  • Wires
  • HCSR04 UltraSonic Distance Sensor
  • Buzzer

(back to top)

Usage

The device works by converting the analog voltage signals returned by the HCSR04 distance sensor when an object is placed infront of it to float distance values. These distance values are then used to determine the magnitude and frequency of the noises emitted by the buzzer. This conversion is done using input capture and PwM

(back to top)

About

Object Proximity Alarm device created with an STM32 microcontroller interfaced with an ultrasonic sensor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published