Git Product home page Git Product logo

seeed_arduino_as5600's Introduction

AS5600 Build Status

AS5600 12-bits Absolute Magnetic Encoder

Features:

  • Detection of the magnet
  • Get magnetic intensity
  • Get the Angle information

operation menual

You can do full function with fullfucton demo

AS5600 Serial Interface Program

Raw angle = 305.9790000000

1 - Set start position	|   6 - get end position
2 - Set end position	|   7 - get raw angle
3 - Set max angle range	|   8 - get scaled angle
4 - Get max angle range	|   9 - detect magnet
5 - Get start position 		|  10 - get magnet strength

Number of burns remaining: 3
96 - Burn Angle
98 - Burn Settings (one time)

Note: Check your custom board (Like this one: Hall AS5600 sensor for Game Wheel 23x23mm):

  • If there is a pull-down resistor (1k) on pin 5 (PGO), internally there is already a pull-up resistor, there may be a conflict
  • If there is a jumper resistor (0R) between pins 1 (VDD5V) and 2 (VDD3V3), to work under 5V, you need to remove this jumper
  • AS5600 pin 8 (DIR) selects direction, needs to be set externally, otherwise the readings may fluctuate

aw Angle in Clockwise Direction

Note: Rotate the magnet before use to make sure that the magnet is close to 0 and 360 through get raw angle

  1. If you just need raw data, input 7. Its direction is based on AS5600 datasheet Figure 35: Raw Angle in Clockwise Direction

aw Angle in Clockwise Direction

  1. If you want to customize the direction, you can use the scaled Angle(8). But you need to set the start(1) and(2) end positions , Burn Angle(96)

This software is written by Baozhu Zuo from Seeed Technology Inc. and is licensed under The MIT License. Check License.txt/LICENSE for the details of MIT license.

Contributing to this software is warmly welcomed. You can do this basically by
forking, committing modifications and then pulling requests (follow the links above
for operating guide). Adding change log and your contact into file header is encouraged.
Thanks for your contribution.

Seeed is a hardware innovation platform for makers to grow inspirations into differentiating products. By working closely with technology providers of all scale, Seeed provides accessible technologies with quality, speed and supply chain knowledge. When prototypes are ready to iterate, Seeed helps productize 1 to 1,000 pcs using in-house engineering, supply chain management and agile manufacture forces. Seeed also team up with incubators, Chinese tech ecosystem, investors and distribution channels to portal Maker startups beyond.

seeed_arduino_as5600's People

Contributors

aaroneouscode avatar baorepo avatar hansen0314 avatar iansc avatar jiacheng-lu avatar lynnl4 avatar neumi avatar olkal avatar pillar1989 avatar pkoevesdi avatar rtek1000 avatar skelstar avatar steve-arnold avatar sweilz 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.