readme

# As5600 Magnetic Encoder

[![Badge](https://components.espressif.com/components/espp/as5600/badge.svg)](https://components.espressif.com/components/espp/as5600)

The `AS5600` magnetic encoder component provides the user a convenient way to
measure

* Raw count
* Raw radians
* Raw degrees
* Accumulated count (since the component was created)
* Accumulated radians (since the component was created)
* Accumulated degrees (since the component was created)
* Speed (rotations per minute / RPM)

It does so by spawning a task which periodically reads the magnetic encoder,
updates the accumulator, and computes the velocity. The component can be
configured to optionally filter the velocity.

The periodicity / update rate of the encoder can be configured at time of
creation.

The encoder is designed to fulfill the needs of the `BldcMotor` API, to provide
closed-loop motor control.

## Example

The [example](./example) shows the use of the `As5600` component to communicate
with an AS5600 I2C magnetic encoder chip.

Links

Supports all targets

Maintainer

  • William Emfinger <waemfinger@gmail.com>

License: MIT

To add this component to your project, run:

idf.py add-dependency "espp/as5600^1.0.1"

or download archive

Stats

  • Archive size
    Archive size ~ 12.58 KB
  • Downloaded in total
    Downloaded in total 6 times
  • Downloaded this version
    This version: 1 time

Badge

espp/as5600 version: 1.0.1
|