Working with AS5048a on Arduino with Matlab plots

Goal: postprocess what absolute magnetic angle measurement sensor (woah) AS5048a returns with Matlab in order to see plots and make animations.
First result: what in the name of valhalla is the Matlab serial doing?!
Second result: works.

Github repositories with main files:
https://github.com/adamlukomski/AS5048a_matlab
https://github.com/adamlukomski/AS5048A-Arduino

Arduino code is fork of the great ZoetropeLabs/AS5048A-Arduino, with a couple of additions. The main library files stays the same, but I reorganised it into an Arduino library with examples. The Matlab code is my own, with buffor handling for the serial connection.

5 comments

Leave a Reply