This project is an simple example of using a chipKIT uC32 board equipped with DIGILENT WiFi Shield to send and receive data to/from the Exosite cloud. The example chipkit_wifi_cloud code reads "ONOFF" data from the cloud, report "PING" back to the cloud if read result is not 0.
License is BSD, Copyright 2013, Exosite LLC (see LICENSE file)
Tested with : - MPIDE-0023 - DIGILENT chipKit uC32 - DIGILENT chipKit WiFi Shield
======================================== Quick Start
- Download the chipKIT development environment
- Download the network shield library and reference documents from
Extract MPIDE into the folder you select
Start MPIDE, then look under File->Preferences and take note of your Sketchbook Location
Shutdown MPIDE, under your Sketchbook directory create a subdirectory called "libraries"; this directory may already exist.
Unzip the chipKITNetworkShield in the libraries directory.
Download the chipkit_wifi_cloud project from the repo and new a folder "Exosite" under the "libraries" then unzip files into the Exosite folder
Start MPIDE, then open "File->Examples->Exosite->chipkit_wifi_cloud"
Edit the "WiFi SSID" and select the security type
Fill the passphase under the security type you use
Edit the "PUTYOURCIKHERE" value in cloud.cpp to match your CIK value
** HINT: Obtain a CIK by signing up for a free account at https://microchip.exosite.com. After activating your account, login and navigate to https://microchip.exosite.com/manage/devices and click the +Add Device link
- In Portals (https://microchip.exosite.com), add two Data Sources to match the data resources (aliases) the code is using
** HINT: Go to https://microchip.exosite.com/manage/data and click +Add Data Source
** HINT: Ensure the "Resource:" values are set to "ping" and "onoff" respectively to match the code
** HINT: Add an "On/Off Switch" widget to your dashboard to control data source "onoff"
Go to "Tools->Board" to select the corresponding chipKIT board type
In the MPIDE software, compile and verify there are no errors
Connect the board. Go to "Tools->Serial Port" to select the serial port your board is connected to
Go to File->Upload to I/O Board to upload the program
When "Done uploading" is displayed, go to https://microchip.exosite.com to see your data in the cloud!
** You can set "onoff" value from widget to control data reporting
======================================== Release Info
- Release 2013-08-14
- initial version