AS5048 Demoboard
OPERATION MANUAL
Application Note
1 AS5048 Demoboard
The AS5048 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.
LCD display
USB cable to the PC
9V battery connector
J6: External Encoder
SPI Connector
Serial/I²C port
(not used)
External (left) – Onboard (right) encoder
selection switch SW1
Figure 1: AS5048 Demoboard hardware with mounted magnet knob
Knob with D5x2.5mm diametral magnet,
1mm over the AS5048
Revision 1.1, 31-May-2010
www.austriamicrosystems.com
Page 1 of 9
AS5048 Demoboard OPERATIONAL MANUAL
2 Operating the AS5048 Demoboard
The AS5048 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 cable (included in Demoboard shipment). The board is supplied by the 5V
supply of the USB port. No other connections are required.
After installation of the AS5xxx Evaluation software (available on our AMS website) .
Figure 2 Graphical user interface
Revision 1.0, 31-Jan-2012
www.austriamicrosystems.com
Page 2 of 9
AS5048 Demoboard OPERATIONAL MANUAL
Hardware Indicators and Connectors
2.1.1
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 359° 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
14 bit resolution: 0 to
16384
Magnet angle value:
From 0 to 359°
AGC Register value
Bargraph representation of
the angle (0° to 359°)
Figure 3: LCD display
Magnetude value
2.1.2
Encoder selection switch
The switch SW1 selects the encoder which communicates with the microcontroller through the SSI bus:
1.
2.
Right position (default):
Onboard AS5048
Left Position:
External AS5048 connected on J6
The signals of the synchronous serial interface (MOSI, MISO, SCK, SS/) and the power supply (3.3V, GND) of
an external device can be connected directly to J6. In this configuration, the data of the serial interface are
displayed on the LCD.
AS5048A
Demoboard switched to external
encoder mode
Figure 4: external AS5048 connection to the demoboard
Revision 1.0, 31-Jan-2012
www.austriamicrosystems.com
Page 3 of 9
AS5048 Demoboard OPERATIONAL MANUAL
3 AS5048 Demoboard, Schematics, block diagram
Figure 5: AS5048 Demoboard schematics
Revision 1.0, 31-Jan-2012
www.austriamicrosystems.com
Page 4 of 9
AS5048 Demoboard OPERATIONAL MANUAL
Figure 6: AS5048 Demoboard PCB Layout
Figure 7: AS5048 block diagram
Revision 1.0, 31-Jan-2012
www.austriamicrosystems.com
Page 5 of 9