Skip to content

Programming an ultrasonic proximity sensor using timers

Notifications You must be signed in to change notification settings

manateeJr/STM32-Input-capture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

STM32-Input-capture

This project makes use of the input capture functionality of general purpose timers on the STM32 board (ARM Cortex M4 MCU)

I executed this project for Fontys in Semester 3, Embedded Software. There is a detailed description of the problem and my take on it in the form of a report in this folder. A video link can be found below with a demonstration.

In essence, the problem entails in reading an ultrasonic sensor HC-SR04 and display the output in your own way. I decided to display the output with an LED in PWM mode. The closer the object is to the sensor, the brighter the LED shines.

Video demonstration: https://www.youtube.com/shorts/UnAzLWQ5uS8

About

Programming an ultrasonic proximity sensor using timers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages