Giter Site home page Giter Site logo

clnbtlr / ak7451-arduino-library Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 22 KB

Arduino library for reading rotation angles from AK7451 magnetic non-contact sensor.

License: MIT License

C++ 100.00%
ak7451 angle-sensor arduino arduino-library magnetic-sensor

ak7451-arduino-library's Introduction

AK7451-Arduino-library

Arduino library for reading rotation angle from AK7451 sensor. This IC by Asahi Kasei Microdevices Corporation (AKM) uses a built-in Hall effect element to perform non-contact rotation angle measurements in combination with a diametrically magnetized two pole magnet. Communication is via SPI.

The sensor was tested using the Mikroe-2755 Angle 3 click breakout board with an Arduino Mirco and Arduino Uno as the sensor uses 5V. A diametrically magnetised ring magnet ร˜ 10/5 mm from supermagnete was used.

The pinout for the connections is as follows:

Arduino micro AK7451/Angle 3 click
5V 5V
GND GND
SCK SCK
MI SDO
MO SDI
SS CS

Currently only basic usage is implemented. This includes reading the absolute angle data, error and mode bits in Normal Mode (see the AK7451 datasheet for more details). User Mode is a work in progress.

Library installation in Arduino IDE is per the usual manner.

ak7451-arduino-library's People

Contributors

clnbtlr avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.