Using input capture in STM32 || HAL || CubeMx || Frequency measure

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Frequency =

I dont understand this part.Can you help me?

bahadrguven
Автор

I really like how you make your videos. The using of text instead of talking is just brilliant. Instead of rewinding all the time I just pause and read. Perfect! /Jesper

jestho
Автор

You are saving my life, everyday :) Thank you

Автор

The second audio track made me feel like kindergarten again! 😁 🎶

mgeo
Автор

@3:55 you are explained TIM CLK/ARR measure minimum frequency starts from here . How do we know measure upto maximum frequency ?? for higher frequency effeciency will decrease how do we maintain effeciency ??

shettymalnad
Автор

Thanks, very good informations my friend

spirala_andromeda
Автор

Nice video, thanks for posting. Just one suggestion, if you have declared both IC_Value1 and IC_Value2 as unsigned, if you take the difference it will always give you a positive value which will be your result, hence the if ~ else should not be needed(I think).

e.g. if you have 2 unsigned 8bit variables ; 5 - 250 = 11.

EmbSysDev
Автор

can u make video for calculating speed? i need code for measuring vehicle speed

divyakg
Автор

Can we measure dc motor speed with IR sensor using this method? If you have made a video of it please drop the link!

ksgamershub
Автор

Hi sir, where do you got the I2C LCD Library?, did you developed it or is it available online?, thanks for the tutorial!, really nice for begginers like me on this family of MCUs!

electromatic
Автор

Hi sir, it is posible to test 100khz freq sir???
And it posible for oled display???
Please reply🙏🙏🙏

botak
Автор

When i compile, i am getting a error

error:





invalid type argument of '->' (have 'TIM_HandleTypeDef' {aka 'struct 1551 C/C++ Problem





Can you help me?

halukcakir
Автор

hello, thanks for this job. I try to use it on nucleo L476rg but the freq isn't stable. it moved from khz to Mhz. my signal is a sinus. have you an idee about it ?if you have a time to answer of course. thx

sether
Автор

tks for the tuto! what is the source of your pwm that you read?

cyrilleharmelngakopougoum
Автор

Nice video. Is it also possible to meassure a pulse width of a non-periodic signal?

crlnhpt
Автор

Hello,


I just started programming Stm32. I want to measure the frequency of an analog signal from a channel. I am working with stm32f429 Discovery. I applied the same as your example but there is no change when I watch the variables with debug. Can you help with the problem?

h.buraktaskn
Автор

Nice tutorial, congrats! But you have a bug. If the measured signal fails and the input is zero, the compare interrupt is never called the frequency of the signal is zero but the frequency in the software stays to the old value.

MrNtosis
Автор

Hi! can I applicate this work in blue pill?

Electronics_Dreams
Автор

You need to use zoom in more . Not possible to see details on small phone screen

eamonhannon
Автор

The TIM3 is used to read the input signal, but what is the input signal? where it is generated? Could anyone tell me that?

arunbennett