How to read engine value dc tachometer? :D

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
c0d3
Posts: 2
Joined: Tue Jun 23, 2015 11:00 am

How to read engine value dc tachometer? :D

Post by c0d3 »

Hello guys , I have to control a dc motor . The motor has the pin to read the rpm . How do I read these values ​​on my board STMF401RE ?
thanks :-)
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: How to read engine value dc tachometer? :D

Post by Giovanni »

Hi,

Answer: ICU Driver, it measures periods (and pulse width) on timer inputs. Look for the PWM-ICU demos under ./testhal.

Giovanni
c0d3
Posts: 2
Joined: Tue Jun 23, 2015 11:00 am

Re: How to read engine value dc tachometer? :D

Post by c0d3 »

Thank you very much Giovanni, I'll try :D
Post Reply