AMS AS5030 Operation Manual

8 bit programmable magnetic rotary encoder
Hide thumbs Also See for AS5030:

Advertisement

Quick Links

austriamicrosystems AG
is now
ams AG
The technical content of this austriamicrosystems application note is still valid.
Contact information:
Headquarters:
ams AG
Tobelbaderstrasse 30
8141 Unterpremstaetten, Austria
Tel: +43 (0) 3136 500 0
e-Mail:
ams_sales@ams.com
Please visit our website at
www.ams.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AS5030 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for AMS AS5030

  • Page 1 AG is now ams AG The technical content of this austriamicrosystems application note is still valid. Contact information: Headquarters: ams AG Tobelbaderstrasse 30 8141 Unterpremstaetten, Austria Tel: +43 (0) 3136 500 0 e-Mail: ams_sales@ams.com Please visit our website at...
  • Page 2: General Description

    2 The AS5030 Adapterboard Board description The AS5030 adapter board is a simple circuit allowing to test and evaluate the AS5030 rotary encoder quickly without having to build a test fixture or PCB. The PCB can be used as standalone unit or attached to a microcontroller.
  • Page 3: Mounting The As5030 Adapter Board

    (Analog out, 5V, GND) Figure 2: AS5030 adapter board mounting and dimension A 6x2.5mm diametral magnet must be placed over on under the AS5030, and should be centered on the middle of the package with a tolerance of 0.5mm. The airgap between the magnet and the AS5030 casing should be maintained in the range 0.5mm~2mm.
  • Page 4: As5030 And Adapter Board Pinout

    AS5030 8-bit Programmable Magnetic Rotary Encoder Adapterboard Operation Manual 3 AS5030 and adapter board pinout GND Mag PWM DX Prog AS5030-AB-2.0 AS5030 GND SINn SIN COSn Figure 3: AS5030 adapter board connectors and encoder pinout Pin# Pin# Symbol Type Description Board AS5030...
  • Page 5: Operation Use Cases

    Adapterboard Operation Manual 4 Operation use cases Standalone Analog output mode The simplest setup to test the AS5030 is to use the adapter board in standalone mode. A 3-pin header connector is present on JP2. A header connector is present on JP2 on pin 1, 2, 3.
  • Page 6: Using The Serial Interface With Mcu

    Serial commands can be sent to the AS5030 as well, like the low power mode, lock AGC or reset. Note: The MCU must have 5V I/O connected to the AS5030 adapter board, the AS5030 is a 5V device.
  • Page 7: 4-Wire Serial Interface

    AS5030 8-bit Programmable Magnetic Rotary Encoder Adapterboard Operation Manual 4-wire serial interface Serial daisy chain mode Jumper configuration: P1 and P2 close. Jumper configuration: P1 and P2 close. Figure 9: Bidirectional serial connection (4 wire) The command line and data line are separated: The command line is a MCU output connected to DI, the data line is an input of the MCU connected to DIO.
  • Page 8: As5030 Adapterboard Hardware

    AS5030 8-bit Programmable Magnetic Rotary Encoder Adapterboard Operation Manual 6 AS5030 adapterboard hardware AS5030-AB-2.0 schematics PROG MagRNGn Analog MagRNGn PROG SINn 2.2u/10V Test3 Analog SIN/COS output 2.2u/10V Test2 COSn Test1 (C2 = HIGH) Test0 Header 5 AS5030 BSS138 Closed: SinCos output disabled (default)
  • Page 9: Source Code, Simple Agc & Angle Read

    CLEAR_CS(); // CS pin = ‘0’ return RX_buffer; short void SSIread() // This function reads the 16-bit value from the AS5030 DIO pin xdata unsigned char current_bit; short result; result = 0; // Is the shift buffer for the 16 bit data receive for (current_bit = 16;...
  • Page 10: Table Of Contents

    AS5030 8-bit Programmable Magnetic Rotary Encoder Adapterboard Operation Manual Table of contents General Description................................1 The AS5030 Adapterboard..............................1 Board description..............................1 Mounting the AS5030 adapter board........................2 AS5030 and adapter board pinout............................. 3 Operation use cases................................4 Standalone Analog output mode ..........................4 Standalone PWM output mode..........................
  • Page 11: Copyrights

    AS5030 8-bit Programmable Magnetic Rotary Encoder Adapterboard Operation Manual Copyrights Copyright © 1997-2009, austriamicrosystems AG, Schloss Premstaetten, 8141 Unterpremstaetten, Austria-Europe. Trademarks Registered ®. All rights reserved. The material herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner.
  • Page 12 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: AS5030 AB V2...

Table of Contents