5.4.1 Execution
main.c - Initialize the board, connect to an AP and communicate using the Android App.
- Configure AP SSID in
demo.h for the Temperature Sensor Demo.
#define DEMO_WLAN_AP_NAME "WINC1500_MyAP"// Access Point Name.
- Configure AP SSID in
demo.h for the Qtouch Sensor Demo.
#define DEMO_WLAN_AP_NAME "WINC1500_TOUCH_MyAP"// Access Point Name.
-
Note: Refer to the HTTP provision mode application note for more details.
Once your sensor Wi-Fi module is provisioned, connect your Android device to
the same Access Point and open the Atmel IoT Sensor Application. Your sensor will
display on the Android application’s main screen as shown below:
By tapping the sensor’s name, you will be able to access the real time data flow. In the case of a temperature sensor, you can see the real time temperature data in the graph. The “LED Toggle” button toggles the LED status. A green or red light next to the “LED Toggle” button gives the current status of the LED.
Note: If your Android device is not
connected to the same Access Point as the sensor, you will not be able see any
device.