Skip to content
/ AS5050 Public

Arduino library for interfacing with the AS5050 magnetic rotary encoder

Notifications You must be signed in to change notification settings

tekdemo/AS5050

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AS5050 Arduino Lib

This is a utility library for interfacing with the AS5050 magnetic rotary encoder chip using an Arduino. While still a work in progress, it performs basic functions reliably. This is being developed as a software abstraction layer for my servo controller board project.

Current Features

  • Convert raw angular data to degrees or radians for integration into other code
  • Track the total rotation from either a physical or relative position.
  • Automatically samples multiple angles per read operation
  • utility functions for reading and writing on-chip registers
  • Header with significant documentation of chip data, including register, addresses, protocol, and responses.
  • Automatic handling of internal gain.
  • Read/write arbitrary chip registers with simplified interface.

Work in progress

  • Rudimentary error handling of transmission line / parity errors.
  • Example programs for demonstration

Future/wishlist

  • Interrupt driven update mechanism
  • Properly handle all common chip communication errors

About

Arduino library for interfacing with the AS5050 magnetic rotary encoder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages