kev1nd / thingspeak

Sends AT commands from an Arduino to an ESP8266 in order to transmit data to Thing Speak

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Thing Speak Library for Arduino / ESP8266

Sends AT commands from an Arduino to an ESP8266 in order to transmit data to Thing Speak.

Version control

Version 1.0.0 is the initial release

Installing the library in your Arduino IDE

  1. Download the zip file from this repository
  2. In the Sketch menu, select "include library" and "Add .ZIP library".
  3. Select the doanloaded zip of this repository.

Note that zip file only contains

  • keywords.txt
  • library.propoerties
  • ThingSpeak.h
  • ThingSpeah.cpp

Setting up.

The Arduino sketch is just for testing. To make the test run, you should create a file called "settings.h" in the same directory as your sketch.

Contents of the file would be similar to this (except with your wifi ssid, password and Thing Speak key)

#ifndef settings_h
#define settings_h

char ssid[15] = "xxxxxxxxxxxxxx";   // Wifi SSID
char pass[15] = "xxxxxxxx";         // Wifi Password
char apikey[] = "XXXXXXXXXXXXXXXX"; // Thingspeak write key

#endif

About

Sends AT commands from an Arduino to an ESP8266 in order to transmit data to Thing Speak

License:GNU General Public License v3.0


Languages

Language:C++ 100.0%