Example Arduino projects for communicating with AT&T's M2X service using a CC3000.
Arduino
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
M2X_CC3000_Delete
M2X_CC3000_Fetch
M2X_CC3000_LED
M2X_CC3000_Post
README.md

README.md

M2X_CC3000

Example Arduino projects for communicating with AT&T's M2X service using a CC3000.

Getting Started

  1. Follow the instructions on https://github.com/sparkfun/m2x-arduino to sign up for an M2X account and install the jsonlite and m2x-arduino libraries.
  2. Follow the instructions on https://github.com/sparkfun/SFE_CC3000_Library to install SparkFun's CC3000 library.
  3. Connect a CC3000 WiFi Shield to the Arduino.
  4. Connect an HTU21D to the Arduino and CC3000 Shield stack. Note that you will need to level shift the I2C lines, as the HTU21D is 3.3V only.
  5. Download this repository.
  6. Open up M2X_CC3000_Post.ino in Arduino.
  7. Update the values AP_SSID, AP_PASSWORD, AP_SECURITY, FEED_ID, STREAM_NAME, and M2X_KEY to match your WiFi and M2X parameters.

Important

The Fetch and LED examples will cause an Uno to run out of RAM. You need to change SERIAL_BUFFER_SIZE from 64 to 32 in HardwareSerial.cpp, which can be found in: C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino