Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seeed-studio/seeed_arduino_as5600
The library comes with AS5600. Through this library, we can realize read the angles 、get magnetic from a magnet underneath the sensor.
https://github.com/seeed-studio/seeed_arduino_as5600
arduino arduino-library as5600 grove magnet
Last synced: 20 days ago
JSON representation
The library comes with AS5600. Through this library, we can realize read the angles 、get magnetic from a magnet underneath the sensor.
- Host: GitHub
- URL: https://github.com/seeed-studio/seeed_arduino_as5600
- Owner: Seeed-Studio
- License: mit
- Created: 2019-04-21T05:37:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-22T00:06:33.000Z (over 1 year ago)
- Last Synced: 2023-05-22T01:20:37.158Z (over 1 year ago)
- Topics: arduino, arduino-library, as5600, grove, magnet
- Language: C++
- Homepage:
- Size: 39.1 KB
- Stars: 74
- Watchers: 11
- Forks: 36
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: License.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# AS5600 [![Build Status](https://travis-ci.com/Seeed-Studio/Seeed_Arduino_AS5600.svg?branch=master)](https://travis-ci.com/Seeed-Studio/Seeed_Arduino_AS5600)
AS5600 12-bits Absolute Magnetic EncoderFeatures:
- Detection of the magnet
- Get magnetic intensity
- Get the Angle information## operation menual
You can do full function with fullfucton demo
```
AS5600 Serial Interface ProgramRaw 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 strengthNumber 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](https://community.element14.com/challenges-projects/project14/sensors/b/blog/posts/hall-sensor-as5600-for-game-wheel)):****
- 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 at 5V, you need to remove this jumper
- AS5600 pin 8 (DIR) selects direction, needs to be set externally, otherwise the readings may fluctuate
****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](https://ams.com/documents/20143/36005/AS5600_DS000365_5-00.pdf/649ee61c-8f9a-20df-9e10-43173a3eb323) Figure 35: Raw Angle in Clockwise Direction
2. 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.](http://www.seeed.cc) and is licensed under [The MIT License](http://opensource.org/licenses/mit-license.php). Check License.txt/LICENSE for the details of MIT license.
Contributing to this software is warmly welcomed. You can do this basically by
[forking](https://help.github.com/articles/fork-a-repo), committing modifications and then [pulling requests](https://help.github.com/articles/using-pull-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.