NOTICE: This website will be shut down in the near future. Product content has moved to nxp.com. Forum content and FAQs have been moved to community.nxp.com. We encourage you to create a user account on nxp.com to use the new community forums and access NXP microcontroller content. We greatly appreciate your contributions and look forward to seeing you at our new web location.

 

Android Open Accessory (AOA) kit

Figure 4
Figure 3
Figure 2
Figure 1

Link to board: http://www.lpcware.com/content/devboard/android-open-accessory-aoa-kit

Android Demos

There are three demos available for download on the Embedded Artists website http://embeddedartists.com/products/app/aoa_kit.php

The code bundle contains the following:

• Demo 1: Android Open Accessory demo which lets you control and monitor the AOA Board (LPC1769 side) from an Android device.
• Demo 2: Android Open Accessory demo which lets an Android device detect CAN nodes (such as the LPC11C24 side of the AOA board) in a CAN network. The CAN nodes can be controlled and monitored from the Android device.
• Demo 3: Android Open Accessory demo which lets an Android device detect Xbee nodes in an Xbee network. The Xbee nodes can be controlled and monitored from the Android device.
• FreeRTOS has been ported to the board and a demo is available that show how to use it.
• lwIP v1.4.0 has been ported to the board. The httpserver_raw (webserver) application from the lwIP contrib package is available with a small modification to use the on-board SD-card interface instead of the ROM based file system.
• FatFs file system module has been ported to the board. The lwIP demo (based on httpserver_raw) is using this module to access files on an SD card.
• nxpUSBlib is available and used in the AOA demos.

How to setup the projects in LPC Xpresso

1) Make sure that the latest version of the LPCXpresso IDE is installed.
2) Download the package of sample application projects into the Eclipse workspace. The package can be downloaded (as a zip-file) from Embedded Artists’ support page after registering the product. The zip-file contains all project files and is a simple way to distribute complete Eclipse projects.
3) Start the LPCXpresso IDE and select a new (and empty) workspace directory.
4) Select the Import and Export tab in the Quickstart Panel and then Import archived projects (zip), see Figure 1 below.
5) Browse and select the downloaded zip file containing the archived sample applications. Select all sub-projects to be imported, see Figure 2 below.
6) By default the NXP USB library has been configured for USB device only. This needs to be changed to USB host. Right click on the nxpUSBlib project and select Build Configuration, then Set Active. In the list select LPC17xx_Host. See Figure 3.
7) The projects are now imported. Click (to select) the project to work with.
8) Click Build in the Quickstart Panel (under Start Here). See Figure 4

There is also a video on how to setup Demo 1 and get it running by connecting your android device. (Getting started video provided by Embedded Artists)
http://www.youtube.com/watch?v=l3f2ss1IdV0&feature=player_embedded

0
Your rating: None
feedback