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 Operation Manual AS5045 / AS5145 Demoboard 1 General Overview The AS5045/AS5145A/B is a contactless magnetic rotary encoder for accurate angular measurement over a full turn of 360. It is a system-on-chip, combining integrated Hall elements, analog front end and digital signal processing in a single device. To measure the angle, only a simple two-pole magnet, rotating over the center of the chip, is required. The magnet 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.0879 = 4096 positions per revolution. This digital data is available as a serial bit stream and as a PWM signal. An internal voltage regulator allows the AS5045/AS5145A/B to operate at either 3.3 V or 5 V supplies Note: AS5145A/B are pre-programmed versions of AS5145. It provides 10bit (A) or 12bit (B) incremental output. 2 The AS5045/AS5145A/B Demoboard The AS5x45 demoboard is a complete rotary encoder system with built-in microcontroller, USB interface, graphical LCD display and PWM output LED. The board is USB powered or externally supplied with a 9V battery for standalone operation. LCD display (for standalone mode) 9V battery connector (standalone only) Knob with D5x2.5mm diametral magnet, 2mm over the AS5x45 SiLabs C8051F320 microcontroller J6: External Encoder USB cable to the PC SSI Connector External (left) Onboard (right) Onboard AS5x45 output signals connector and indicators encoder selection switch SW1 MagINCn, MagDECn (J7) and PWM (J4) only are available with AS5045 and AS5145 Figure 1: AS5x45 Demoboard hardware with mounted magnet knob 3 Operating the AS5045/AS5145A/B Demoboard The AS5x45 demoboard can be used in several ways: As standalone unit supplied by a 9V battery Connect a 9V battery to the battery connector on the top right side of the board. No other connections are required. As standalone unit supplied by an USB port Connect the demoboard to a PC using a USB/USB cable (included in demoboard shipment). The board is supplied by the 5V supply of the USB port. No other connections are required. As input device for the AS5000 Programmer GUI software Revision 1.3, 22-Jul-2009 Page 1 of 12 www.austriamicrosystems.com ams AG Technical content still valid