source: rtos_arduino/trunk/arduino_lib/libraries/thingspeak-arduino/README.md@ 189

Last change on this file since 189 was 189, checked in by ertl-honda, 8 years ago

Thinkgspeakのサポート

File size: 3.5 KB
Line 
1#ThingSpeak Communication Library for Arduino, ESP8266, and Particle
2
3This library enables an Arduino or other compatible hardware to write or read data to or from ThingSpeak, an open data platform for the Internet of Things with MATLAB analytics and visualization.
4
5Complete technical documentation is in the extras/documentation folder inside the library.
6
7ThingSpeak offers free data storage and analysis of time-stamped numeric or alphanumeric data. Users can access ThingSpeak by visiting http://thingspeak.com and creating a ThingSpeak user account.
8
9ThingSpeak stores data in channels. Channels support an unlimited number of timestamped observations (think of these as rows in a spreadsheet). Each channel has up to 8 fields (think of these as columns in a speadsheet). Check out this [video](http://www.mathworks.com/videos/introduction-to-thingspeak-107749.html) for an overview.
10
11Channels may be public, where anyone can see the data, or private, where only the owner and select users can read the data. Each channel has an associated Write API Key that is used to control who can write to a channel. In addition, private channels have one or more Read API Keys to control who can read from private channel. An API Key is not required to read from public channels. Each channel can have up to 8 fields. One field is created by default.
12
13You can visualize and do online analytics of your data on ThingSpeak using the built in version of MATLAB, or use the desktop version of MATLAB to get deeper historical insight. Visit https://www.mathworks.com/hardware-support/thingspeak.html to learn more.
14
15## Installation
16#### Arduino IDE
17In the Arduino IDE, choose Sketch/Include Library/Manage Libraries. Click the ThingSpeak Library from the list, and click the Install button.
18
19--- or ---
20
211. Download the ZIP file (below) to your machine.
222. In the Arduino IDE, choose Sketch/Include Library/Add Zip Library
233. Navigate to the ZIP file, and click Open
24
25#### Spark IDE
26In the Spark Web IDE, click the libraries tab, find ThingSpeak, and choose "Include in App"
27
28## Compatible Hardware:
29
30* Arduino or compatible using a wired or Wi-Fi ethernet shield (we have tested with Uno and Mega), should work with Arduino WiFi Shield 101
31* Arduino Yun running OpenWRT-Yun Release 1.5.3 (November 13th, 2014) or later. There are known issues with earlier versions. Visit this page to get the latest version.
32* ESP8266. Tested with [SparkFun ESP8266 Thing - Dev Board](https://www.sparkfun.com/products/13711) and [NodeMCU 1.0 module](http://www.seeedstudio.com/depot/NodeMCU-v2-Lua-based-ESP8266-development-kit-p-2415.html)
33* Particle Core, [Photon](https://www.particle.io/prototype#photon), and [Electron](https://www.particle.io/prototype#electron) (Formally Spark)
34
35## Examples:
36
37The library includes several examples to help you get started. These are accessible in the Examples/ThingSpeak menu off the File menu in the Arduino IDE.
38
39* **CheerLights:** Reads the latest CheerLights color on ThingSpeak, and sets an RGB LED.
40* **ReadLastTemperature:** Reads the latest temperature from the public MathWorks weather station in Natick, MA on ThingSpeak.
41* **ReadPrivateChannel:** Reads the latest voltage value from a private channel on ThingSpeak.
42* **ReadWeatherStation:** Reads the latest weather data from the public MathWorks weather station in Natick, MA on ThingSpeak.
43* **WriteMultipleVoltages:** Reads analog voltages from pins 0-7 and writes them to the 8 fields of a channel on ThingSpeak.
44* **WriteVoltage:** Reads an analog voltage from pin 0, converts to a voltage, and writes it to a channel on ThingSpeak.
Note: See TracBrowser for help on using the repository browser.