User manual

AOAA Kit – Software User’s Guide
Page 12
Copyright 2012 © Embedded Artists AB
3 Demos
3.1 AOA Basic
This demo shows how to send data in both directions between the AOAA Board and the Android
device. The AOAA Board has two buttons; two RGB LEDs and a trimming potentiometer (see Figure
3). The LEDs are controlled from an Android application that will also display the state of the button
and the value of the trimming potentiometer
Figure 3 - AOAA Board: Basic Demo
3.1.1 Setup
This setup uses the prebuilt version of the AOA Basic application (Android application) that is stored on
the Embedded Artists’ web site.
1) Flash the demo_aoa_basic project on the AOAA Board using the LPCXpresso IDE as
explained in section 4.3
2) Connect the Android device to the AOAA Board as shown in Figure 3.
3) Follow the instructions on the display to download/install the Android application. This is
explained in more detail in section 4.1
3.1.2 Alternative Setup
The difference in this setup is that the AOA Basic application is built and transferred to the Android
device instead of using the prebuilt version.
1) Flash the demo_aoa_basic project on the AOAA Board using the LPCXpresso IDE as
explained in section 4.3
2) Connect the Android device to a PC.
3) Follow the instructions in section 4.2 to compile the AOA Basic Android application.
4) Run the Eclipse debugger to download the application on the Android device.
5) Stop the debugger and disconnect the Android device from the PC.
Powering of the
board
Connected to
Android device
Buttons and
RGB LEDs
Trimming
Potentiometer