Light-to-digital high sensitivity ambient light sensor (13 pages)
Summary of Contents for AMS AS5030
Page 1
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...
2 The AS5030 Adapterboard Board description The AS5030 adapter board is a simple circuit allowing to test and evaluate the AS5030 rotary encoder quickly without having to build a test fixture or PCB. The PCB can be used as standalone unit or attached to a microcontroller.
(Analog out, 5V, GND) Figure 2: AS5030 adapter board mounting and dimension A 6x2.5mm diametral magnet must be placed over on under the AS5030, and should be centered on the middle of the package with a tolerance of 0.5mm. The airgap between the magnet and the AS5030 casing should be maintained in the range 0.5mm~2mm.
Adapterboard Operation Manual 4 Operation use cases Standalone Analog output mode The simplest setup to test the AS5030 is to use the adapter board in standalone mode. A 3-pin header connector is present on JP2. A header connector is present on JP2 on pin 1, 2, 3.
Serial commands can be sent to the AS5030 as well, like the low power mode, lock AGC or reset. Note: The MCU must have 5V I/O connected to the AS5030 adapter board, the AS5030 is a 5V device.
AS5030 8-bit Programmable Magnetic Rotary Encoder Adapterboard Operation Manual 4-wire serial interface Serial daisy chain mode Jumper configuration: P1 and P2 close. Jumper configuration: P1 and P2 close. Figure 9: Bidirectional serial connection (4 wire) The command line and data line are separated: The command line is a MCU output connected to DI, the data line is an input of the MCU connected to DIO.
CLEAR_CS(); // CS pin = ‘0’ return RX_buffer; short void SSIread() // This function reads the 16-bit value from the AS5030 DIO pin xdata unsigned char current_bit; short result; result = 0; // Is the shift buffer for the 16 bit data receive for (current_bit = 16;...
Need help?
Do you have a question about the AS5030 and is the answer not in the manual?
Questions and answers