STM32F4-Discovery and 2 HC-SR04 ultrasonic sensors
HTML-код
- Опубликовано: 5 сен 2024
- This video shows how to use STM32 microcontroller to read info from HC-SR04 ultrasonic sensor.
HC-SR04 datasheet: www.electrosch...
Video by Elvar Liiv
TalTech IoT Center
iot.ttu.ee
COOL! I used the timer input capture in DMA mode to make it more efficient, but very good stuff.
Can you share your code?
HI, sorry, why preescaler is to 79 and ARR is 65535 in TIMER8, what is the measure that do you want?
did u find the answer ? :)
how to connect between STM32 microcontroller and HC-SR04 ultrasonic sensor.?
t cũng đang làm cái này và k biết nối làm sao
@@thanghieu2333 dzięki działa
Couldn't find z video u mentioned is present: calculating prescaler and other values
How you connect between stm32 microcontroller and ultrasonic sensor?
Look at google:)
at what pins in the microcontroller do we have to connect the trigger pins of the both sensors
Did you find the answer?
I have a question: Why should we start TIM11 base clock twice?
I think other one should be TIM8.
Pourquoi avez-vous utilisé le protocole UART puisque le capteur à ultrasons HC-SR04 n'a pas de broches RX et TX ?
On a utilise le protocole UART pour recevoir les information echox, distancex dans le terminal Hterm program qui est ouvert sur le display (gauche).
@@vladmaftei4858 merci j'ai compris , j'ai une autre question c'est vrai que vous avez fait la configuration du protocole ,mais vous n'avez pas utiliser HAL_UART_Transmit() dans le while ,je sais que vous avez mis ça dans la fonction putchar_prototype mais vous n'avez pas utiliser cette fonction dans while ?
I could not set up the link. Do you have a chance to show the link?
Hi, are stm32 pins tolerant to 5V from hc-sr04 echo output? Did you use level shifter?
you need just 2 resistors, i used 9.7 Ohm and 4.6 Ohm so i get 3.4 V
Goodmoring ,
i wanna ask a question , how you interface Hterm with keil ? , and thanks advance :)
good work sir
gadasını aldıgımın gurban olam sana.
hi, could you share the codes?
usta buldun mu kodları
@@muzafferdindar820 yok malesef
Ya bizim ödev proje var çok az zamanı kaldı takıldığımız yerler var napacagiz bilmiyoruz
do you have a personal contact?
굿
This guy copied from somewhere that makes him did not do well in the video. He also could not answer people questions. Shame!