Giter Club home page Giter Club logo

amsencoder-pcb's Introduction

AS5048B Breakout Board

Description

This is a printed circuit board to break out the AS5048B rotary encoder to a four-pin I2C connection. This chip returns a 14-bit absolute radial position. The PCB also provides holes for two alignment pins, the CAD for which is given in AS5048B_Encoder_Board.dxf.

##Usage

Mechanical

The AS5048B reads the absolute radial position of a diametrically polarized magnet which rotates above the center of the chip (center marked by yellow 'X' in dxf). Many magnet configurations can be used, we have found success with a 3mm diameter N52 magnet positioned 2mm away from the die surface of the chip. More detailed application notes are available in the datasheet

Electronics

The board needs to be populated with the AS5048B, as well as a 10μF 603 surface mount capacitor. There are pads for SDA SCL Vcc and GND on the top and bottom of the PCB, for daisy-chaining several boards together. There are pads on the back of the chip for mounting an optional 6-pin Molex connector

Two solder jumpers on the back of the board set the 7-bit I2C address of the chip to be:

    0b10000 A2 A1

Where A1 and A2 are the logical values of the solder-bridged jumpers. ###Code ams-enc in imageproc-lib is example code to communicate with the chip. This code uses a blocking read, which is a bit of a faux-pas in a real time loop. For an example of an asynchronous update, see a different version of ams-enc in my repository.

amsencoder-pcb's People

Contributors

dhaldane avatar

Watchers

James Cloos avatar  avatar

Forkers

apullin ahmed1004

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.