|
| 1 | +TI LaunchPad CC3200-LAUNCHXL for Thingspace.io |
| 2 | +============================================== |
| 3 | + |
| 4 | +Thingspace.io Client and Demo Dashboard for TI LaunchPad CC3200-LAUNCHXL |
| 5 | + |
| 6 | +Demo Dashboard: [https://freeboard.thingspace.io/board/CwbCJf](https://freeboard.thingspace.io/board/CwbCJf) |
| 7 | + |
| 8 | + |
| 9 | +# Table of Contents |
| 10 | +* [Introduction](#introduction) |
| 11 | +* [Programming the Board](#programming-the-board) |
| 12 | +* [Demo Dashboard Usage](#demo-dashboard-usage) |
| 13 | +* [Dashboard Customization](#customizing-the-dashboard) |
| 14 | +* [Additional Resources](#additional-resources) |
| 15 | + |
| 16 | +Introduction |
| 17 | +------------ |
| 18 | +This repository contains firmware and application code to view sensor data and send commands to TI's LaunchPad CC3200-LAUNCHXL board, using Verizon's ThingSpace Device Messaging APIs (thingspace.io) and ThingSpace-Freeboard application enablement tools. |
| 19 | + |
| 20 | +The CC3200-LAUNCHXL connects via WiFi to send an assortment of on-board sensor data (including accelerometer, temperature, push buttons, tilt, and LEDs) to ThingSpace. |
| 21 | +You can view the live data and send commands to the board (including toggling the LED) from the Demo Dashboard ([https://freeboard.thingspace.io/board/CwbCJf](https://freeboard.thingspace.io/board/CwbCJf)) |
| 22 | + |
| 23 | +To get started, you must first program the board with your WiFi and thingspace.io settings. |
| 24 | + |
| 25 | +Programming the Board |
| 26 | +--------------------- |
| 27 | + |
| 28 | +Download Energia: http://energia.nu/download/ |
| 29 | + |
| 30 | +Follow the getting-started video to ensure the board's jumpers are properly set: https://youtu.be/Kn-YPsByyYU |
| 31 | + |
| 32 | +Download and extract the latest client code: [https://github.com/buglabs/client-examples/releases/latest](https://github.com/buglabs/client-examples/releases/latest) |
| 33 | + |
| 34 | +Open Energia, click File->Open, and choose the cc3200LP_thingspace.ino file. |
| 35 | + |
| 36 | +The following project window will open, with two tabs - cc3200LP_thingspace.ino and Settings.h |
| 37 | + |
| 38 | + |
| 39 | +Confirm that the Energia compiler is configured for our board |
| 40 | + |
| 41 | + |
| 42 | +Click the Settings.h tab, choose a unique name for the board to set as the thingspace.io thing-name, and input your WiFi network SSID and password. |
| 43 | +NOTE: If a thing_name value in Settings.h is not set by the user, the board will automatically retrieve a temporary thing-name from the server. You can obtain this temporary assignment by looking at the serial console (via Energia's Serial Monitor). The server-assigned thing-name does NOT persist across power-cycles. |
| 44 | + |
| 45 | + |
| 46 | +Click the check-mark icon on the top left to Verify/compile the code, then click the right-arrow icon to Upload/program the board |
| 47 | +HINT: To program the board, you must have a jumper on J15. |
| 48 | + |
| 49 | +If the programming process succeeds, remove jumper on J15 and reboot the board (push the RESET button on the board, or power-cycle). |
| 50 | + |
| 51 | +Open the Serial Monitor in Energia to ensure connectivity and data is successfully sent and received |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | +*For more information on the LaunchPad CC3200-LAUNCHXL, visit [http://energia.nu/pin-maps/guide_cc3200launchpad/](http://energia.nu/pin-maps/guide_cc3200launchpad/) |
| 56 | + |
| 57 | +Demo Dashboard Usage |
| 58 | +-------------------- |
| 59 | + |
| 60 | +[!dashboard_screen_shot](./doc_images/dashboard-1-default.png) |
| 61 | +[!dashboard_set_thingname](./doc_images/dashboard-2-set_thingname.png) |
| 62 | +[!dashboard_connected](./doc_images/dashboard-3-connected.png) |
| 63 | +[!dashboard_toggle_led](./doc_images/dashboard-4-toggle_led.png) |
| 64 | +[!dashboard_led_on](./doc_images/dashboard-5-led_on.png) |
| 65 | +[!dashboard_live](./doc_images/dashboard-6-button_on.png) |
| 66 | + |
| 67 | + |
| 68 | +Customizing the Dashboard |
| 69 | +-------------------------- |
| 70 | +Sign-in to ThingSpace Develop: https://thingspace.verizon.com/developer/ |
| 71 | +Navigate to the Build page: https://thingspace.verizon.com/developer/build#/ |
| 72 | +Click Launch |
| 73 | +Visit Dashboard: https://freeboard.thingspace.io/board/CwbCJf |
| 74 | +Click Clone |
| 75 | + |
| 76 | +Additional Resources |
| 77 | +-------------------- |
0 commit comments