Skip to content

PCrnjak/AS5048A

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AS5048A

Library for AS5048A encoder

Library

  • Using this library you can check direction of rotation , speed and position .
  • Tested on arduino uno and STM32 blue pill.
  • encoder should be connected like this:
  1. stm32 (Blue Pill) wiring : CS to PA4 , CLK to PA5 , MOSI to 3.3V , MISO to PA6

  2. UNO wiring :CS to PIN 10 , CLK to PIN 13 , MOSI to 5v , MISO to PIN 12

  • you can find example code in AS5048_example

Rotary Magnetic Holder ,used to test and evaluate your sensor

STL folder contains files for encoder testing jig. Design is compatible only with these test boards There are 2 versions (both use same wheel stl file):

  • encoder_housing , uses no ball bearing
    • encoder_housing_no_bearing , uses 15x28x7 ball bearing

both models also need 2 M2 5mm screws

About

Library for AS5048A encoder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages