To run the demo application, you need the following hardware:
Note
You will use the terminal emulator to send configuration commands to the module over a UART interface. The emulator also displays information transmitted from the module.
Perform the following steps to set up the hardware and prepare it for configuration:
J6 from PIN1 (GND) to PIN20 (AD5)
J6 from PIN28 (3V3) to PIN47 (P2.5)
PIN1 = LPC_UART_RX (3,3V level)
PIN2 = LPC_UART_TX (3,3V level)
PIN3 = GND
2. Importing the demo into your LPCXpresso workspace To use the projects in LPCXpresso, they must first be imported into LPCXpresso. To import the projects, go to File → Import → General → Existing Projects and press Next. On the import dialog window in the Select root directory box, browse to the platform directory lpcopen/applications/lpc11xx/xpresso_projects/nxp_xpresso_11c24/. Select nxp_xpresso_11c24_board_lib and Prado. Make sure the Copy projects to workspace option is disabled. Then select Finish to start the import.
The imported project should appear in the Project Browser window.
then once the progam is been uploaded, press:
2. All messages of the demo will be displayed on the debug console LPCXpresso IDE, see options.h for details. After initialization, the dispositive will try to associate with an Access Point within 10 seconds. The message associating ... will appear on the debug console. In this state only LED2 blinks.
3. After 10 seconds if it fails to join the demo will set the module as an Access Point (SOFT AP). Once set, appear the message on the debug console Config w / Browser http://5.16.71.1. In this state, the demo application will work as a small webserver, blue LED2 blinks and red LED4 and LED5 are turned on.
4. The demo in this state, it is waiting for a connection request from a browser. As an Access Point, the module’s IP address is 5.16.71.1. Its SSID is mttSoftAP_xx_yy, where xx & yy, are the last two hex bytes of the module’s MAC address (example mttSoftAP_03_06). Associate your PC to this access point.
7. Now that the demo has all the information to access the Access Point sets the WIFI module with all the data and try to access. It is important that there are no filters on the network that prevent the module to access the internet otherwise the demo can not continue. If happen, fix the configuration router and restart the application.
8. Set the PC to access the access point and go with the company http://mtt.mchpcloud.com browser to the site. Log in and select the name chosen previously, for example MYRN131MODULE. Press the Connect button to enable communication between the module and the WiFly cloud server. Once connected you will see on the website the data transmitted from the demo. In this state if all works correctly you will see all leds LED1, LED2, LED3, LED4 turned on and LED5 blinking slowly.