AS5050 / AS5055 Demoboard OPERATION MANUAL Application note General Overview The AS5050/AS5055 is is a single-chip magnetic rotary encoder IC with low voltage and low power features. It includes 4 integrated Hall elements, a high resolution ADC and a smart power management controller. The angle position, alarm bits and magnetic field information are transmitted over a standard -wire or 4-wire SPI interface to the host processor. The absolute angle measurement provides instant indication of the magnet s angular position with a resolution of: - AS5050: 0.5 = 04 positions per revolution - AS5055: 0.09 = 4096 positions per revolution The AS5055 is available in a small QFN 6-pin 4x4x0.85mm package and specified over an operating temperature of -0 to +85 C. The AS5050/AS5055 Demoboard The AS5050/AS5055 demoboard is a complete rotary encoder system with built-in microcontroller, USB interface and graphical LCD display. The board is USB powered or externally supplied with a 9V battery for standalone operation. USB cable to the PC LCD display 9V battery connector J6: External Encoder SPI Connector Serial/I²C port (not used) External (left) Onboard (right) encoder selection switch SW Knob with D5x.5mm diametral magnet, mm over the AS505x Figure : AS5050/AS5055 Demoboard hardware with mounted magnet knob Operating the AS5050/AS5055 Demoboard The AS5050/AS5055 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. Revision., -May-00 Page of 8 www.austriamicrosystems.com
. Hardware Indicators and Connectors.. Graphic LCD display The LCD display shows the realtime absolute angle position of the magnet and the absolute value of the angle. Turning the knob clockwise will increase the angle value until 59 then 0. The magnet status indicator is related to the magnet position. If the magnet is too close to the encoder, TOO CLOSE will be displayed. If the magnet is too far away from the encoder, TOO FAR will be displayed. Magnet indicator: - OK (distance OK) - Magnet too far/close Absolute angle value bit resolution: 0 to 4095 AGC Register value Magnet angle value: From 0 to 59 Bargraph representation of the angle (0 to 59 ) Figure : LCD display.. Encoder selection switch The switch SW selects the encoder which communicates with the microcontroller through the SSI bus:. Right position (default): Onboard AS5050/AS5055. Left Position: External AS5050/AS5055 connected on J6 The signals of the synchronous serial interface (MOSI, MISO, SCK, SS/) and the power supply (, ) of an external device can be connected directly to J6. In this configuration, the data of the serial interface are displayed on the LCD. TM MOSI MISO INT/ Wire VSS p 4.7u 5R SCK INT_en/ SS/ Test Demoboard switched to external encoder mode Figure : external AS5040/AS540 connection to the demoboard Revision., -May-00 www.austriamicrosystems.com Page of 8
4 AS5050/AS5055 Demoboard, Schematics, block diagram USB J VBUS D- D+ SHLD 440478-4 5 C C 00n 0u 5V ISP J 4 Header 4 C5 u CCK CD U 7 RegIn 6 9 RST/CCK 0 P.0/CD 8 VBUS 5 D- 4 D+ C805F0 P.7 P.6 P.5 P.4 P. P. P. P.0 P.7 P.6 P.5 P.4 P. P. P. P.0 P0.7 P0.6 P0.5 P0.4 P0. P0. P0. P0.0 4 5 6 7 8 9 0 4 5 6 7 8 9 0 D7 D6 D5 D4 D D D D0 LCD_E LCD_RW LCD_A0 INT/ SCL SDA SS/ MOSI MISO SCK D7..0 C9 u/6v C0 u/6v C u/6v C C u/6v u/6v C6 C7 R J C 0k 00n 00n CSn RESn LCD_A0 00n A0 LCD_RW 4 R/W LCD_E 5 E D0 6 D0 D 7 D D 8 D D 9 D D4 C8 0 D4 D5 u/6v D5 D6 D6 D7 D7 4 R 5 nc VSS 6 Vout 7 Cap- 8 Cap+ 9 Cap- 0 Cap- Cap+ V V 4 V 5 V4 6 C4 C5 C6 V5 7 8 C86 Hirose FHA-8S-0.5SH u/6v u/6v u/6v Shield 0 Vbat 5V R4 68R R R D BAS70-05 LCD Backlight U5 Displaytech 8A-FC-BW- LCD K K A A R4 closed: 4-wire mode R4 R5 0R nc Int_INT/ MOSI MISO SCK Int_SS/ 4 MOSI MISO SCK SS/ 4 5 6 VSS Wire INT/ TM U p 0 INT_en/ 9 Test C4 00n R7 5R C9 4.7u J6 5V INT/ SS/ 4 SCK 5 MOSI 6 MISO 7 8 5V SCK MOSI MISO R 0k R6 0k Int_INT/ SW INT/ Ext_INT/ Int_SS/ SS/ Ext_SS/ MCLSS_DPDT INT / EXT switch Vbat J7 SCL RXD SDA 4 TXD Header 4 Serial (Servo port) 7 Plane TB 8 TB 7 TB 6 TB0 5 AS5055 Header 8 External encoder port D J5 Header 9V Battery BAT54 D Vbat U 5V U4 Vin Vout Vin Vout LL400 C u AS60-50 C C u 0u AS60-0 C4 u AMS Figure 7: AS5050/AS5055 Demoboard schematics Note: On AS5050-DB-.0 / AS5055-DB-.0 PCB, U pin 6 is connected to VSS, causing a higher power consumption of the AS5050/AS5055 than expected. Pin 6 has to be left floating, it has been corrected on PCB versions.. Revision., -May-00 www.austriamicrosystems.com Page of 8
Figure 4: AS5050/AS5055 Demoboard PCB Layout Figure 9: AS5050/AS5055 block diagram Revision., -May-00 www.austriamicrosystems.com Page 4 of 8
Index General Overview... The AS5050/AS5055 Demoboard... Operating the AS5050/AS5055 Demoboard.... Hardware Indicators and Connectors..... Graphic LCD display..... Encoder selection switch... 4 AS5050/AS5055 Demoboard, Schematics, block diagram... Index... 5 Revision History... 6 Contact... 7 Copyright... 8 Revision., -May-00 www.austriamicrosystems.com Page 5 of 8
Revision History Revision Date Description R.0 March., 00 First version R. May, 00 Pin 6 on AS505x floating on PCB >. Revision., -May-00 www.austriamicrosystems.com Page 6 of 8
Contact Headquarters A 84 Schloss Premstätten, Austria Phone: +4 6 500 0 Fax: +4 6 55 0 industry.medical@austriamicrosystems.com www.austriamicrosystems.com Sales Offices austriamicrosystems Germany GmbH Tegernseer Landstrasse 85 D-859 München, Germany Phone: +49 89 69 6 4 0 Fax: +49 89 69 6 4 66 austriamicrosystems Italy S.r.l. Via A. Volta, 8 I-0094 Corsico (MI), Italy Phone: +9 0 4586 464 Fax: +9 0 4585 77 austriamicrosystems France S.A.R.L. 4, Avenue de Paris F-9400 Vincennes, France Phone: + 4 74 00 90 Fax: + 4 74 0 98 austriamicrosystems Switzerland AG Rietstrasse 4 CH 8640 Rapperswil, Switzerland Phone: +4 55 0 9008 Fax: +4 55 0 900 austriamicrosystems UK, Ltd. 88, Barkham Ride, Finchampstead, Wokingham Berkshire RG40 4ET, United Kingdom Phone: +44 8 97 797 Fax: +44 8 97 57 Klaavuntie 9 G 55 FI 0090 Helsinki, Finland Phone: +58 9 7688 70 Fax: +58 9 7688 7 Bivägen B S 96 Sollentuna, Sweden Phone: +46 8 6 70 austriamicrosystems USA, Inc. 860 Six Forks Road Suite 400 Raleigh, NC 765, USA Phone: + 99 676 59 Fax: + 509 696 7 austriamicrosystems USA, Inc. 400 Moorpark Ave Suite 6 San Jose, CA 957, USA Phone: + 408 45 790 Fax: + 509 696 7 Suite 8, Tsimshatsui Centre East Wing, 66 Mody Road Tsim Sha Tsui East, Kowloon, Hong Kong Phone: +85 68 6899 Fax: +85 68 6799 AIOS Gotanda Annex 5 th Fl., -7-, Higashi-Gotanda, Shinagawa-ku Tokyo 4-00, Japan Phone: +8 579 4975 Fax: +8 579 4976 #805, Dong Kyung Bldg., 84-9, Yeok Sam Dong, Kang Nam Gu, Seoul Korea 5-080 Phone: +8 557 8776 Fax: +8 569 98 Singapore Representative Office 8 Clemenceau Avenue, #0-0 UE Square 990, Singapore Phone: +65 68 0 8 05 Fax: +65 6 4 0 Revision., -May-00 www.austriamicrosystems.com Page 7 of 8
Copyright Devices sold by austriamicrosystems are covered by the warranty and patent indemnification provisions appearing in its Term of Sale. austriamicrosystems makes no warranty, express, statutory, implied, or by description regarding the information set forth herein or regarding the freedom of the described devices from patent infringement. austriamicrosystems reserves the right to change specifications and prices at any time and without notice. Therefore, prior to designing this product into a system, it is necessary to check with austriamicrosystems for current information. This product is intended for use in normal commercial applications. Copyright 00 austriamicrosystems. 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. To the best of its knowledge, austriamicrosystems asserts that the information contained in this publication is accurate and correct. However, austriamicrosystems shall not be liable to recipient or any third party for any damages, including but not limited to personal injury, property damage, loss of profits, loss of use, interruption of business or indirect, special, incidental or consequential damages, of any kind, in connection with or arising out of the furnishing, performance or use of the technical data herein. No obligation or liability to recipient or any third party shall arise or flow out of austriamicrosystems rendering of technical or other services. Revision., -May-00 www.austriamicrosystems.com Page 8 of 8