austriamicrosystems AG is now ams AG The technical content of this austriamicrosystems document 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 AS5040 8-bit Programmable Magnetic Rotary Encoder AS5040-AB-v2.0 AS5040/AS5045/AS5140/AS5145/AS5145-I10(-I12) Adapterboard Programmable Magnetic Rotary Encoder OPERATION MANUAL 1 General Description The AS5x40/AS5x45 series are contactless magnetic rotary Furthermore, a user-programmable incremental output is encoders for accurate angular measurement over a full turn available, making the chip suitable for replacement of various of 360. They are system-on-chip, combining integrated Hall optical encoders. elements, analog front end and digital signal processing in a The AS5145 is also available as 10bit or 12bit pre- single device. programmed version AS5145-I10(-I12). To measure the angle, only a simple two-pole magnet, An internal voltage regulator allows the AS5x40/AS5x45 to rotating over the center of the chip, is required. The magnet operate at either 3.3 V or 5 V supplies. may be placed above or below the IC. The absolute angle measurement provides instant indication of the magnets angular position with a resolution of 0.35 = 1024 (AS5x40 10bit ) or 0.0879 = 4096 (AS5x45 12bit) positions per revolution. This digital data is available as a serial bit stream and as a PWM signal. 2 The AS5040 Adapter board 2.1 Board description The AS5040 adapter board is a simple circuit allowing test and evaluation of the AS5040/AS5045/AS5140/AS5145/AS5145- I10/AS5145-I12 rotary encoder quickly without building a test fixture or PCB. The PCB can be used as standalone unit or attached to a microcontroller. The standalone operation requires a 5V power supply only the magnets angle can be read on the PWM or analog output. J1 connector (Prg, power supply, serial interface) AS5x40/AS5x45 encoder J2 connector (PWM, incremental and status outputs) 4 x 2.6mm mounting holes Figure 1: AS5040 Adapterboard Revision 1.2, July 2009 Page 1 of 11 www.austriamicrosystems.com ams AG Technical content still valid