User manual

AOAA Kit Software User’s Guide
Page 13
Copyright 2012 © Embedded Artists AB
6) Connect the Android device to the AOAA Board as shown in Figure 3.
3.1.3 Running the Demo
The first thing that happens as the Android device is connected to the AOAA Board is that a dialog
appears asking “Open AOA Basic when this USB accessory is connected?” Answer OK to start the
application. The Application will look like Figure 4 below. The buttons control the two RGB LEDs on the
AOAA Board. When turning the trimming potentiometer on the AOAA Board the TrimPot value (which
is 649 in Figure 4) will be updated. Pressing and holding down the button(s) on the AOAA Board will
change the text in the Android application from a 0 to a 1.
Figure 4 - Running AOA Basic
Figure 5 - Accessory Disconnected
The Android application detects when the USB cable is disconnected and changes the appearance to
reflect this. See Figure 5.
3.2 AOA CAN
The AOAA Board has two CAN interfaces; one on the LPC1769 side and one on the LPC11C24 side
and these are connected in a CAN network. This demo shows how the AOAA board manages nodes in
the CAN network and present information from the nodes to the Android device. More CAN nodes can
be connected to the network, but then modification of the AOAA board is necessary (mounting of
connectors).