#sensor #magnetic #interface #driver #mode #i2c #datasheet

ak09940a

A simple library for the AK09940A magnetic sensor

3 releases

new 0.1.2 Dec 16, 2024
0.1.1 Dec 16, 2024
0.1.0 Dec 14, 2024

#759 in Hardware support

Download history 73/week @ 2024-12-09

73 downloads per month

Apache-2.0

17KB
390 lines

AK09940A Driver

The AK09940A is a 3-axis magnetometer with I2C and SPI interfaces. Note that the SPI interface is in mode 3 and the max clock speed is 3MHz as specified in the datasheet.

Dependencies

~0.8–1.3MB
~28K SLoC