Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/ehabmagdyy/ultrasonicsensor-stm32
- Owner: EhabMagdyy
- Created: 2024-04-05T18:38:54.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-12-13T03:47:56.000Z (10 days ago)
- Last Synced: 2024-12-13T04:24:44.833Z (10 days ago)
- Topics: hc-sr04, hc-sr04-ultrasonic-sensor, stm32, stm32f401, ultrasonic-sensor
- Language: C
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)