STM32 TIMERS #3. ENCODER MODE || F103C8

STM32 TIMERS #3. ENCODER MODE || F103C8

ControllersTech

3 года назад

54,369 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

JMan
JMan - 09.06.2021 22:51

Timer counter increasing/decreasing by 4 because it counting each edges from both channels, if you change config for this timer then you should see increasing/decreasing by 2

Ответить
juan moreno
juan moreno - 09.11.2023 23:21

how can i make it track the distance traveled

Ответить
MBI99M03
MBI99M03 - 05.11.2023 22:49

Thanks for sharing this video that is useful for me. I am wondering what software you used to code and to compile on this video. Can you share this software name to me, thanks in advance.

Ответить
Francesco Crevatin
Francesco Crevatin - 28.09.2023 11:58

Hi @ControllersTech I've watched many videos of yours and I have to tell that you are amazing. Very understandable and interesting videos.
I have one question about the encoder: why sometimes I see, between one step and another of the encoder, the timer reads 3 or 5 steps, instead of 4?

Ответить
Yusuf Selim YÜCEER
Yusuf Selim YÜCEER - 21.09.2023 17:48

Hello, my live expressions value change 0 and 1. How can I solve it ? Do you have any ideas ?

Ответить
botak 333
botak 333 - 21.09.2023 06:06

It posible to used incremental encorder ABI?? 600 until 2500ppr?? But i want to used CPR

Ответить
francesco guerrini
francesco guerrini - 21.08.2023 19:36

Does this work for optical encoders too?

Ответить
THARUN KUMAR CHINDAM
THARUN KUMAR CHINDAM - 18.04.2023 13:30

can you explain how frequency can be measured of encoder signal using input capture mode..?

Ответить
walker sky
walker sky - 02.04.2023 05:15

My project is not work. Can y send me your project, please!

Ответить
Shiva Prasad P
Shiva Prasad P - 09.03.2023 15:18

How to connect logic analyser

Ответить
Mohammad Imani Nejad
Mohammad Imani Nejad - 22.02.2023 17:11

could you please make a video on encoder with DMA. thanks

Ответить
Rıza Emre ERGÜN
Rıza Emre ERGÜN - 08.11.2022 23:51

for increasing/decreasing by 4 problem, try Prescalar(PSC) value as 4 🤗

Ответить
Ajith Pinninti
Ajith Pinninti - 26.10.2022 10:00

Thank You so much man

Ответить
eXtreme Electronics
eXtreme Electronics - 20.06.2022 07:02

Good work !

Ответить
AnimusRaven Gaming
AnimusRaven Gaming - 01.06.2022 23:47

Please make a video on PID control.

Ответить
Илья Сыромятин
Илья Сыромятин - 04.05.2022 10:54

It start counting clicks only after second click, after rotation start. If I do only one click, it is not counts it. STM32F413VG.
P.S. Sorry, it was no name chinese encoder. Encoder from Bourns do it well, from the first click.

Ответить
Fernando Catalani
Fernando Catalani - 07.04.2022 16:25

Master, how may i get the direction of the encoder? Has some hal function that returns the encoder direction? Many thanks!

Ответить
Aman Aggarwal
Aman Aggarwal - 25.02.2022 08:18

how would we write the same program for 2 encoders. Especially the capture function for two different timers? Can someone please paste the solution

Ответить
Yongxian Gu
Yongxian Gu - 22.02.2022 11:15

How to use another timer to periodically trigger DMA to capture the value of the rotary encoder ?

Ответить
Jackie Wang
Jackie Wang - 23.10.2021 20:07

I don't know why it not works on my board. I have to change to TIM1 and everything works as expected. Probably hardware problems.

Ответить