Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ehabmagdyy/ultrasonicsensor-stm32

Ultrasonic sensor HC-SR04 with STM32 using Timer input capture.
https://github.com/ehabmagdyy/ultrasonicsensor-stm32

hc-sr04 hc-sr04-ultrasonic-sensor stm32 stm32f401 ultrasonic-sensor

Last synced: 5 days ago
JSON representation

Ultrasonic sensor HC-SR04 with STM32 using Timer input capture.

Awesome Lists containing this project

README

        

# Video link: https://youtu.be/4Pc50XBPf8E?si=gZtx-0EAthCLdghZ
![6](https://github.com/EhabMagdyy/UltrasonicSensor-STM32/assets/132620660/1f6752e8-634e-4141-8cca-7b86108a8b77)

# Note
1. Timer2 prescaler value = 84 - 1 = 83
![Screenshot 2024-12-13 033317](https://github.com/user-attachments/assets/5cb73f95-6ccd-4977-a89b-ecd40726226a)

2. Enable TIM2 Interrupt
![Screenshot 2024-12-13 033253](https://github.com/user-attachments/assets/8352ce74-cd91-407a-9821-28d3202b776a)