User Manual – AS5510 Demo Kit AS5510 10-bit Linear Incremental Position Sensor with Digital Angle output www.ams.com Revision 1.1 / 2013/04/02 AS5510 – Eval Kit User Manual Table of Contents 1. General Description ............................................................................................................... 2 2. Board Description .................................................................................................................. 2 3. Operating the Demoboard ..................................................................................................... 3 4. Hardware Indicators and Connectors .................................................................................... 3 5. Demo board block diagram, schematics and layout .............................................................. 6 6. Ordering Information .............................................................................................................. 8 Copyright ....................................................................................................................................... 9 Disclaimer ..................................................................................................................................... 9 www.ams.com Revision 1.1 / 02/04/13 page 1/10 AS5510 – Eval Kit User Manual 1. General Description The AS5510 is a linear Hall sensor with 10 bit resolution and I²C interface. It can measure absolute position of lateral movement of a simple 2-pole magnet. Depending on the magnet size, a lateral stroke of 0.5~2mm can be measured with air gaps around 1.0mm. To conserve power, the AS5510 may be switched to a power down state when it is not used. It is available in a WLCSP package and qualified for an ambient temperature range from -30°C to +85°C. 2. Board Description The AS5510 demoboard is a complete linear encoder system with built-in microcontroller, USB interface, graphical LCD display, incremental indicators, incremental counter serial communication and PWM output LED. The board is USB powered or externally supplied with a 9V battery for standalone operation. Figure 1: AS5510-DK Demo Kit A B C A) USB plug for power supply B) Display C) 9V Battery Connector D) Slider with bipolar magnet H E) Mode Switch (S1) D F) Encoder Selection (SW1) G G) Slider guide H) External sensor connector F www.ams.com E Revision 1.1 / 02/04/13 page 2/10 AS5510 – Eval Kit User Manual 3. Operating the Demoboard The AS5510 demoboard can be powered in several ways: • Supplied by a 9V battery Connect a 9V battery to the battery connector on the top right side of the board. No other connection is required. • Supplied by the 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 connection is required. Turn the screw on the right side to move precisely the magnet left and right. 4. Hardware Indicators and Connectors Display Description The LCD display shows the realtime absolute magnetic field strength measured by the AS5510: Moving the slider from right to left will increase the absolute value until 4095 (19 99µm) with 0.488µm steps, then returns to zero. Figure 2: AS5510-DK Display in standalone mode A A) Filtering / Sampling mode D B B) Magnetic Input Range C E C) Magnetic Field in mT D) Magnetic Field (0~1023) E) Magnetic field bargraph www.ams.com Revision 1.1 / 02/04/13 page 3/10 AS5510 – Eval Kit User Manual Mode Switch S1 The Mode Switch S1 allows changing the parameters of the AS5510 and of the demoboard itself. Depending on how long you keep S1 pressed, you will enter the Quick menu or the Configuration menu. Quick Menu The Quick Menu changes the sensitivity setting of the AS5510. From the main screen, press S1 shortly (<1s). Figure 3: AS5510-DK Display Quick Menu The current Range and sensitivity setting will appear. At that moment, press S1 shortly again to toggle the 4 sensitivity settings of the AS5510. RANGE = +/-50mT RANGE = +/-25mT When the desired sensitivity is chosen, wait 2 seconds, and the demoboard will display the main screen back with the new sensitivity setting. RANGE = +/-12.5mT RANGE = +/-18.7mT Adjust the sensitivity depending on the peak of the magnetic field present on the AS5510. The optimum sensitivity using the 4x2x1 magnet on this demoboard is +/25mT. Figure 4: AS5510-DK Configuration menu AVG 16X AVG 4X NO AVG FAST | I2C 56H | I2C 57H | POL = 0 | POL = 1 From the main screen, press and hold S1 during 2 seconds. www.ams.com Revision 1.1 / 02/04/13 page 4/10 AS5510 – Eval Kit User Manual The configuration menu will appear. By pressing S1 shortly, the next item is chosen. To validate the pointed item, press and hold S1 during 2 seconds. AVG 16X Does an average of 16 consecutive values of the 10-bit output. This is used to reduce the jitter of the magnetic field value. The AS5510 is configured in Slow Mode (12.5kHz ADC sampling frequency). AVG 4X Does an average of 4 consecutive values of the 10-bit output. This is used to reduce the jitter of the magnetic field value. The AS5510 is configured in Slow Mode (12.5kHz ADC sampling frequency). No AVG Direct read of the 10-bit output. The AS5510 is configured in Slow Mode (12.5kHz ADC sampling frequency). FAST Direct read of the 10-bit output. The AS5510 is configured in Fast Mode (50kHz ADC sampling frequency). I2C 56H The demoboard communicates with the I²C address 56h. This is the default address. The on-board AS5510 must be used with this address only. I2C 57H The demoboard communicates with the I²C address 57h. This address can be used for an external AS5510 connected on J4, and S1 configured on EXT. This address POL = 0 Selects the default magnet polarity POL = 1 Selects the inverted magnet polarity Encoder Selection Switch The switch SW1 selects the encoder which communicates with the microcontroller through the I²C bus. 1. INT (Bottom position, default): 2. EXT (Top Position): Onboard AS5510 External AS5510 connected on J4. The signals of the I²C interface (SCL, SDA) and the power supply (3.3V, GND) of an external AS5510 can be connected directly to J4. In this configuration, all the data from the external AS5510 are displayed on the LCD display. www.ams.com Revision 1.1 / 02/04/13 page 5/10 www.ams.com Logo AMS D AMS LG1 1 1 AS1360-30 AS1360-50 u 2 2 u 0 1 C22 C21 G G C20 C19 N N 1 0 0 4 L L D D 2 2 3 2 3 V 3 V 5 Vbat 4 U 3 U 5 J 1 D BAT54 2 D 4 Header 1 SCL_ext 2 SDA_ext G 3.3V 4 J 3.3V SDA_int 1 3 D N 4 n 0 0 G D C18 SDA_ext 3 N 1 SCL_int 4 2 D SCL_ext 6 5 SDA N G MCLSS22 SCL 1 S AS5510 D N G R 0 2 A D N G TEST SDA_int 1 SCL_int B 1 A 2 SDA VSS D N G B c n 3 C17 B SCL R D A 3 A D D V 3.3V 6 R n 0 0 1 5 R 2 U 3.3V 3.3V C8051F320 Revision 1.1 / 02/04/13 D D N G P0.0 0 SDA 2 D N G P0.1 SCL 1 P0.2 FH12A-28S-0.5SH Hirose Shield 1u/16V 1u/16V 1u/16V 1u/16V C86 2 8 2 G V 2 P1.0 2 P1.1 2 SW-PB 1 P1.2 2 S R P1.3 1u/16V 2 V P0.7 S 2 3.3V 7 D N V 2 6 Cap2+ 2 LCD_A0 5 k 0 0 Cap2- 2 LCD_RW 4 2 3 9 Cap1- 1 LCD_E 3 Cap1+ P1.4 P3.0/C2D C10 R 2 0 1 1 2 Cap3- P1.5 RST/C2CK 1 1u/16V 2 9 C2CK Backlight LCD P1.6 C 2 2 J P1.7 C 1 5 V 7 D D V 8 6 4 5 R G 1 BAS70-05 D N G P2.0 1 D A G 1 3.3V 1 Vout 1u/16V 9 1 0 3 4 2 3 1 2 1 0 R 3 V 5 9 2 8 7 6 VSS D N G c n 8 1 9 5 D D V 3 D 7 D D 3 K 6 2 1 6 D 7 3 D A D C D 3 D 5 1 D P2.4 D 4 D 4 1 D P2.5 D 5 D 3 1 L 6 D P2.6 D 6 D 2 1 D P2.7 RegIn DisplayTech32128A-FC-BW-3 R D 7 D 1 1 7 E U LCD_E D7..0 1 U R/W LCD_RW 1 5 1 1 5 K 4 7 0 1 4 3 9 3 2 8 2 D C R 8 1 Vbat 7 1 0 4 6 0 5 5 4 n 0 0 A LCD_A0 0 3 G D N RESn D 2 CS1n D N G 1 n 0 0 1 4 C k 0 1 1 J 1 R 1 C V 3 V 3 SCL N 4 D P2.3 6 V 5 N 1u/16V 2 D 6 1 D D V 3.3V 3 C 2 C G D D 1 P2.2 6 C u 0 1 n 0 0 1 N u 1 D N G G 1 D 7 1 0 P2.1 3 D 8 D 2 C2D 3.3V 2 N ISP 3 V V P0.6 8 D N G 4 U 4 Header 3 J B V 1 440478-1 Mini-USB 3 2 9 5 2 S U B V V C15 C14 C13 C12 C11 8 R 7 R P0.5 - D + 2 4 3 - D D + D 3 0 3 4 2 2.7k 2.7k P0.4 B 2 1 3 1u/16V P0.3 2 3 5 D N G LCD Display N G D N G SHLD S U USB Vout Vin Vout Vin 1 3V0 u 1 u 1 D N G 2 Header AS136050 N G battery Battery 9V AS5510 – Eval Kit User Manual 5. Demo board block diagram, schematics and layout Figure 5: AS5510-DK Demo board block diagramm 3V3 SDA µC C8051F320 AS5510 5V0 3V0 AS136030 Figure 6: AS5510-DK Demo board schematic page 6/10 AS5510 – Eval Kit User Manual Figure 7: AS5510-DK Demo board PCB layout www.ams.com Revision 1.1 / 02/04/13 page 7/10 AS5510 – Eval Kit User Manual 6. Ordering Information Table 1: Ordering Information Ordering Code Description AS5510-DB DemoKit for AS5510 Linear Position Sensor www.ams.com comments Revision 1.1 / 02/04/13 page 8/10 AS5510 – Eval Kit User Manual Copyright Copyright © 1997-2013, ams AG, Tobelbader Strasse 30, 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. All products and companies mentioned are trademarks or registered trademarks of their respective companies. Disclaimer Devices sold by ams AG are covered by the warranty and patent indemnification provisions appearing in its Term of Sale. ams AG 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. ams AG 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 ams AG for current information. This product is intended for use in normal commercial applications. Applications requiring extended temperature range, unusual environmental requirements, or high reliability applications, such as military, medical life-support or lifesustaining equipment are specifically not recommended without additional processing by ams AG for each application. For shipments of less than 100 parts the manufacturing flow might show deviations from the standard production flow, such as test flow or test location. The information furnished here by ams AG is believed to be correct and accurate. However, ams AG 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 ams AG rendering of technical or other services. Contact Information Headquarters ams AG Tobelbader Strasse 30 8141 Unterpremstaetten Austria T. +43 (0) 3136 500 0 For Sales Offices, Distributors and Representatives, please visit: http://www.ams.com/contact www.ams.com Revision 1.1 / 02/04/13 page 9/10