AS5600 12-bits Absolute Magnetic Encoder | AS5600 12 位绝对值编码器
Connect Rath AS5600 module with Arduino using the wiring diagram below
将 Rath AS5600 模块与 Arduino 按照如下连接:
Rath AS5600 | Arduino |
---|---|
GND | GND |
3V3 | 3V3 |
SCL | A5 (Analog In Pin 5) |
SDA | A4 (Analog In Pin 4) |
-
Download the lastest release on the right side of the page
在页面右侧下载最新版本的压缩包
-
Unpack the zip file inside Arduino libraries directory (should be like
..\Sketchbook\libraries\Arduino-Rath-AS5600-x.x.x
)将下载的文件解压到 Arduino 库路径下 (应该是像这样的路径:
..\Sketchbook\libraries\Arduino-Rath-AS5600-x.x.x
) -
Load the library in Arduino program with
#include <AS5600.h>
在 Arduino 程序中使用
#include <AS5600.h>
来加载这个库 -
Examples can be found in
./examples
folder示例程序位于
./examples
文件夹中