Sie sind auf Seite 1von 8

MICROCHIP WIFI G DV102412 DEMO BOARD

FOR EXOSITE QUICK START GUIDE

REVISION HISTORY
REV 1 EDITOR BRS DESCRIPTION Documenting steps/set-up to date APPROVAL DAC DATE 2013-05-17

Overview
The MicroChip DV102412 can be connected to Exosites services, allowing your DV102412 to wirelessly connect to the cloud, giving you powerful visualization and post-processing tools to analyze and see your data from anywhere. After following this Quick Start Guide to flash your DV102412 WiFi G module with Exosites cloud enabled firmware, your device will be able to report push-button data, ping, and local IP to the cloud. Data reports every 1 second to your Exosite account after the pairing between the device and cloud is established.

Assumptions
1. User has a smart phone or laptop that can access the Access Point provisioning on the Microchip device. 2. User has already installed MPLAB X or can do so on their Windows based computer.

Hardware and Firmware Setup


1. Microchip DV102412 with WiFi module MRF24WG0MA 124145D 2. Firmware based on Microchip library "microchip_solutions_v2013-02-15" and TCP/IP Stack version "v5.42.06 Feb 2013". After you have flashed the hardware with Exosites cloud enabled firmware, LED0 will blink 4 times on bootup. 3. MicroChip PickIt 3 programmer with mini USB cable 4. WiFi Access Point

Quick Start
1. Install MPLAB XC32 Compiler v1.21 at http://www.microchip.com/mplabxc32windows 2. Install MPLAB X IDE v1.80 for DV102412 at http://www.microchip.com/mplabx-ide-windowsinstaller 3. Download the latest project repository from "https://github.com/exositegarage/mcp_dv102412_cloud.git", or download it from "git commands". 4. Insert 2 AAA batteries into the DV102412, connect your device to the PICKIT3 programming kit and turn your device on.

PICKIT 3 Programming Kit with DV102412 5. Extract the project and open the project folder "mcp_dv102412_cloud/TCPIP/WiFiGDemo/WiFiGDemoBoard" with MPLAB X.

MPLAB X start screen

Open Project

Navigate to Project

6. Compile the project and download the program to the board (Run -> Run Project). This process might take several minutes.

Run Project 7. Disconnect the DV102412 board from the PICKIT3 programming kit. 8. Use a smart phone or laptop that can select the WiFi Access Point labeled "MCHP_G_****" to provision device AP.

WiFi Selection Window 9. Open http://192.168.1.3, to load Configure Network page, click "Display Scan Results", select your SSID, input your passphrase and save.

MicroChip AP Welcome Page

Configure Network Link

Reconnection in Progress Page Your Device AP Should be Set NOTE: If you see a "Future home of Mchp error notification." message during your AP setup, you should reboot your device and scan for APs again. 10. Open your web browser and navigate to https://microchip.exosite.com and create a free new account if you do not already have one. After signup, you will receive an account activation email.

Microchip.exosite.com Login Page 11. After account activation, log in and follow the steps to add your Microchip device from the link on the Welcome widget.

Welcome Dashboard on MicroChip Account 12. Select the DV102412 WiFi G Demo Board device.

Device Setup Page 13. Enter the last 4 number/letter combination of the sticker on the side of your device, the same as your access point you connected to in step 7. The numbers/letters will show as MCHP_G_xxxx.

Enter Mac Address Screen

14. Verify data is reporting to your account. Navigate back to the Home page, and click on the device in the Device list. This view will show you all the data reporting from your device. You can check the communication from the cloud to the device by pres sing the On/Off switch widget. Check the Data page or your dashboard to see this data.

Device Overview Page 15. Set your email address or SMS number to test the alerting functionality when you press the SW0 Push Button. NOTE: Your account will need to have SMS resources in order to use this functionality.

Other Information
LED Indicators
LED0 - Blinks continually = WiFi set successfully LED2 - device bootup - Blinks 2 times = WiFi module firmware version is 0x30. - Blinks 4 times = WiFi module firmware version is 0x31. - Blinks 6 times = WiFi module firmware version is unknown.

LED2 - runtime - Blinks 1 time continually = Read, write and provision successful - Blinks 2 times continually = No internet connection - Blinks 3 times continually = Device not found on cloud - Blinks 4 times continually = CIK invalid

Das könnte Ihnen auch gefallen