How to use STM32F103C8 with HC-SR05 Ultrasonic sensor and LCD 16x2
Hello friends,
I want to make a parking sensor by using the hardwares STM32F103C8, LCD 16x 2 , FTDI and HC-SR04. Main idea of the project is as you can predict: an object will come close to the sensor, after about one (100 cm) the value will start to drop from the LCD, as you get closer to the object it will be evaluated . After I build and debug the Codes when I made all connections and plug in the power sources see no distance value on the LCD. Where am I making mistake, can you help?
You can find the I2C libraries in main.c and LCD at the link:
https://mucahithamaratkultur.blogspot.com/202
2/06/stm32cubeide-ve-hc-sr04-ile-park.html
Sources that I used :
1- https://controllerstech.com/hcsr04-ultrasonic-sensor-and-stm32/
2- https://www.youtube.com/watch?v=ti_1ZwRolU4&ab_channel=ControllersTech
You can see the connections on my project at photos below





