AS5600 Adapter Board Introduction The POTUINO is a potentiometer shield compatible with the Arduino UNO board. It was designed to evaluate the AS5600 Smart Potentiometer IC. Kit Content Figure 1: Kit content Pos. Item Description AS5600-POTUINO Arduino shield RMH05-DK Rotary magnet holder Note: An Arduino UNO board (not included) is required to use the POTUINO shield.
AS5600 Adapter Board Board description The POTUINO shield allows evaluation of the AS5600 position sensor. This Arduino shield is fully assembled with the AS5600 IC and its necessary external components. The Arduino shield includes different breakout options. A breakout magnet holder is available on the left side of the PCB and in addition, an adapter board breakout is possible.
Software Custom firmware source code can be generated using the Arduino IDE. An example code and Arduino library is available for reference. In addition, the AS5600 LabVIEW Evaluation GUI software can be used to readout and configure the AS5600. LabVIEW The AS5600 LabVIEW Evaluation GUI supports the Arduino UNO.
Page 6
If the Hardware Settings window opens, the switch has to be moved to “Arduino UNOr3”. This is show in Figure 4: AS5600 Evaluation GUI – Hardware Settings below. A green tick indicates successful communication with the sensor. For further information about the AS5600 LabVIEW Evaluation GUI please refer to the User Manual.
Using the Arduino IDE 3.2.1 Installing the Arduino library The Arduino library for the AS5600 sensor can be downloaded from the ams webpage. To add an existing library open the Arduino IDE, click Sketch in the menu bar. Then Import Library and Add Library.
AS5600 Adapter Board 3.2.2 Reading out the AS5600 sensor Source code examples are also available for download on the ams webpage. Following source code shows an easy example of reading out the sensor: /*------------------------------------------------------ FILE: AS5600 Author: Mark A. Hoferitza, Field Application Engineer, ams AG www.ams.com...
Page 9
= stat_val & 0xa0; //Mask off all unnecessary bits //Print Values Received float Raw_Ang = hi_raw *0.0879; float Ang = hi_ang * 0.0879; Serial.print(" AS5600 Raw Angle = "); Serial.println(Raw_Ang, DEC); Serial.print(" AS5600 Angle = "); Serial.println(Ang, DEC); Serial.print("...
AS5600 Adapter Board Ordering & Contact Information Ordering Code Description AS5600-POTUINO AS5600 Eval Kit Adapter Board Buy our products or get free samples online at: www.ams.com/ICdirect Technical Support is available at: www.ams.com/Technical-Support Provide feedback about this document at: www.ams.com/Document-Feedback For further information and requests, e-mail us at: ams_sales@ams.com...
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.
Need help?
Do you have a question about the AS5600 and is the answer not in the manual?
Questions and answers