Main Content
Tachometer
Read rotational speed of shaft
Add-On Required: This feature requires the Simulink Support Package for Arduino Hardware add-on.
Libraries:
Simulink Support Package for Arduino Hardware /
Sensors
Description
The Tachometer block reads the rotational speed of the shaft from the
tachometer connected to the hardware. The block outputs the speed of rotation as a
uint32
value.
If you simulate a model that contains the Tachometer block without connecting the hardware, the block outputs zeros. For more information, see Block Produces Zeros or Does Nothing in Simulation.
Ports
Output
Parameters
Version History
Introduced in R2018b