Giter Site home page Giter Site logo

crob4 / msp430_cc3000_smartconfig Goto Github PK

View Code? Open in Web Editor NEW

This project forked from exosite-garage/msp430_cc3000_smartconfig

0.0 2.0 0.0 253 KB

Connect to the cloud using TI's CC3000 WiFi & Exosite's services

Home Page: www.exosite.com/ti

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

msp430_cc3000_smartconfig's Introduction

About MSP430 FRAM CC3000 Smart Config Sensor Cloud

This project is an embedded software project meant to run on the Texas Instruments MSP430 FRAM development kit to demonstrate sending sensor data to the cloud over CC3000 WiFi.

The project functionality includes:

  1. Reading from ADC inputs (A0, A1, A2, A4/Thermistor, A5, A7, A12/X-Axis, A13/ Y-Axis, A14/Z-Axis, A15).

  2. Using CC3000 WiFi to write ADC data to Exosite

  3. Using CC3000 WiFi to read command/control data from Exosite

  4. Turning on and off LED7 based on Cloud-based control data

License is BSD, Copyright 2013, Exosite LLC (see LICENSE file)

Tested with:

  • IDE and Toolchain: Code Composer v5 (Version: 5.3) for Windows
  • MSP430 Compiler 4.1.2
  • FRAM development kit MSP-EXP430FR5739 (5/20/2011 seal date)
  • CC3000 patch version 1.11
  • LS Research CC3000 module - TiWi-SL Rev 2 or muRata CC3000 module - LBWA1ZZVK7 Rev 2.0

================================================================================ Quick Start

  1. Download CC3000 patch Program (V1.11)from http://processors.wiki.ti.com/index.php/CC3000_Wi-Fi_Downloads select MSP430FRAM+CC3000 Patch Programmer. You will need a TI account to get the file.

  2. Extract the patch programmer and install it. Refer http://processors.wiki.ti.com/index.php/CC3000_Patch_Programmer for more detail.

  3. Install CCS v5.3 from http://processors.wiki.ti.com/index.php/Download_CCS

  4. Install CCS with MSP430 support (use default installation options)

  5. If prompted for a license, select the "CODE LIMITED SIZE (MSP430)" - this is a free 16KB code size compiler for the MSP430

  6. Download the repository containing this readme file (msp430_cc3000_smartconfig) and extract to a folder of your choosing

  7. Open CCS v5 - when it asks to input the Workspace path, point it to the workspace_ccs folder inside this repository (e.g. at C:\projects\msp430_cc3000_smartconfig\workspace_ccs)

  8. Compile to ensure the tools and source code work OK (note, the project currently has 100 info items, 0 warnings, 0 errors)

  9. Open a browser and go to https://ti.exosite.com and sign-up if you don't already have an account

  10. In the TI Portal, add a new MSP430 + CC3000 device, enter the MAC address from the sticker on the WiFi module.

  11. Attach the FRAM board to your PC via the mini-USB connector and "Download and Debug" to your FRAM kit

  12. Press S1 until LED6 starts blinking. Refer http://processors.wiki.ti.com/index.php/CC3000_Wi-Fi_MSP430_FRAM_Getting_Started_Guide_Using_Smart_Config to config WiFi AP.

  13. Verify LED1, followed by LED2, LED3 and finally LED4 all come on

  • LED1 is a "communications with WiFi module is working" indicator
  • LED2 is a "WiFi signal with appropriate credentials is associated" indicator
  • LED3 is a "WiFi signal has been connected" indicator
  • LED4 is "Internet communications are working" indicator
  1. Verify data in Exosite Portals is being reported to the data sources. Data is written roughly every 10 seconds to all data sources, while data is read every two seconds.

  2. Verify the kit can receive data from Exosite - go to the /manage/data page and click on the LED7 Control data source and enter a '0' in the Write Data block - LED7 on the MS430 FRAM will turn off.

  3. Disconnect from your PC and run anywhere you have a 5v power mini-USB connector available!

  4. See the file utils.h for error codes to assist with troubleshooting. The errorhandler will blink LED 7 rapidly for a couple of seconds and then it will blink slowly for the following codes:

  • 1 blink - not associated with an access point (check SSID/passphrase)
  • 2 blinks - cannot connect to the Exosite server (check Internet connection)
  • 3 blinks - cannot write (check signal strength / distance from AP)
  • 4 blinks - communiations the SPI module experience error, retry
  • 5 blinks - rare race condition experienced, retry

================================================================================ Release Info

Release 2013-07-15

--) Update HTTP response parsing in device activation function.

Release 2013-06-10

--) Update CC3000 host driver and reduce stack usage in Exosite library.

Release 2013-05-06

--) Add WDT and update CC3000 patch program

Release 2013-03-06

--) initial release

msp430_cc3000_smartconfig's People

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.