"""Welcome to this new WeeW - Stack tutorial,
A new video for the STM32F1 microcontroller, where the code is from scratch.
The code that we made together in this video Download is available on this Github link: https://github.com/weewStack/STM32F1-...
In this tutorial we will setup the driver for the ultrasonic distance sensor HC-SR04 using the SMT32F1 timer.
This tutorial is divided into 7 steps and the topic will be as bellow:
00:00 - Trailer
01:00 - Tutorial Intro
03:13 - The HC-SR04 Sensor
05:06 - Circuit review
06:13 - Startup Code review
09:43 - Set the Driver: the Normal way
21:39 - Set the Driver: A better way
Pre-required tutorials:
012 - STM32F1 GPIO INPUT OUTPUT LIBRARY FROM SCRATCH: • 012 - STM32F1 GPIO INPUT OUTPUT LIBR...
080-STM32F1 Timer chapter introduction and simple explanation for timer's features: • 080-STM32F1 Timer chapter introductio...
081-STM32F1 Timer initialization and Delay function setup & logic analyzer tuning: • 081-STM32F1 Timer initialization and ...
082-STM32F1 Timer function optimization and Interrupt implementation & example: • 082-STM32F1 Timer function optimizati...
083-STM32F1 Timer PWM function set from scratch with visualization by logic analyzer & oscilloscope: • 083-STM32F1 Timer PWM function set fr...
086-STM32F1 Timer Input CAPTURE function setup: Reading signals period length: • 086-STM32F1 Timer Input CAPTURE funct...
To know more about the LCD 16x02 Setup:
111-STM32F1 1602 LCD I2C library: • 111-STM32F1 1602 LCD I2C library