mdelgert / chipkit_wifi_cloud

Enable chipKIT WiFi shield to Exosite cloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About chipkit_Wifi_cloud

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

  1. Download the chipKIT development environment

** http://chipkit.net/started/install-chipkit-software/install-mpide-windows/

  1. Download the network shield library and reference documents from

** http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,892,1037&Prod=CHIPKIT-WIFI-SHIELD

  1. Extract MPIDE into the folder you select

  2. Start MPIDE, then look under File->Preferences and take note of your Sketchbook Location

  3. Shutdown MPIDE, under your Sketchbook directory create a subdirectory called "libraries"; this directory may already exist.

  4. Unzip the chipKITNetworkShield in the libraries directory.

  5. Download the chipkit_wifi_cloud project from the repo and new a folder "Exosite" under the "libraries" then unzip files into the Exosite folder

  6. Start MPIDE, then open "File->Examples->Exosite->chipkit_wifi_cloud"

  7. Edit the "WiFi SSID" and select the security type

  8. Fill the passphase under the security type you use

  9. 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

  1. 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"

  1. Go to "Tools->Board" to select the corresponding chipKIT board type

  2. In the MPIDE software, compile and verify there are no errors

  3. Connect the board. Go to "Tools->Serial Port" to select the serial port your board is connected to

  4. Go to File->Upload to I/O Board to upload the program

  5. 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

About

Enable chipKIT WiFi shield to Exosite cloud

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Processing 50.5%Language:C++ 49.5%