I will look into it. Let me know if you try it.
]]>Hi Venkatesh,
Version 1.0.6 is really old, please update to a more recent version of the Arduino IDE.
Regards
]]>The ThingSpeak library isn’t visible by default. You will first need to add it by going to Sketch -> Include Library -> Manage Libraries. Search for ThingSpeak and install the latest library from there.
]]>I am a first time user of ThingSpeak. I use Arduino Mega 2560 with IDE version 1.0.6. It does not show ThingSpeak library. How do I update ?
Kindly suggest.
Regards.
]]>Connecting Arduino to network…
Arduino connected to network using DHCP
Connection to ThingSpeak failed (1)
Connection to ThingSpeak failed (2)
Connection to ThingSpeak failed (3)
Connection to ThingSpeak failed (4)
how to solve this issue
]]>Connecting Arduino to network…
Arduino connected to network using DHCP
Connection to ThingSpeak failed (1)
Connection to ThingSpeak failed (2)
Connection to ThingSpeak failed (3)
Connection to ThingSpeak failed (4)
……..
how can I solve this issue
]]>I’m trying to install the library with an Arduino Mega and CC3000 wifi shield … but i get lots of errors if I put this in the code: #include “ThingSpeak.h” (I’ve not made any calls yet)
\Documents\Arduino\libraries\thingspeak\src/ThingSpeak.h:86:8: error: #error Only Arduino Yun, Uno/Mega/Due with either Wired or wi-fi Ethernet shield, ESP8266, and Spark Core/Photon/Electron are supported.
\Documents\Arduino\libraries\thingspeak\src/ThingSpeak.h:1469: error: integer constant is too large for ‘long’ type
\Documents\Arduino\libraries\thingspeak\src/ThingSpeak.h:1469: error: integer constant is too large for ‘long’ type
etc…
Is it just not compatible?
]]>I am trying to install the ThingSpeak arduino library, but it is not listed in the arduino IDE’s “manage libraries.” I am using arduino IDE version 1.6.7 under Windows. I searched for the “library_index.json” file, but there is not such file in my system. Is there any other way to install this library?
Thanks.
I Attempted to use the Write Voltage example but I’m having a problem making ThingSpeak.writeField work with the output of my counter Sketch which is a Volatile Byte data type. I am using digital pin 2 as my sensor input and tried to success no but n I try to wheserialwrite to a serial
]]>I am wondering if there is a way to set the parameters for the time for seconds instead of minutes for more data points.
Thanks.
]]>WARNING: library ThingSpeak claims to run on [avr] architecture(s) and may be incompatible with your current board which runs on [esp8266] architecture(s).
WeatherStationDemo.ino:33:33: warning: extra tokens at end of #include directive [enabled by default]
WeatherStationDemo.ino:34:34: warning: extra tokens at end of #include directive [enabled by default]
In file included from WeatherStationDemo.ino:36:0:
C:\Users\x\Documents\Arduino\libraries\ThingSpeak\src/ThingSpeak.h:81:8: error: #error Only Arduino Yun, Uno/Mega/Due with either Wired or wi-fi Ethernet shield, and Spark Core/Photon are supported.
#error Only Arduino Yun, Uno/Mega/Due with either Wired or wi-fi Ethernet shield, and Spark Core/Photon are supported.
^
C:\Users\x\Documents\Arduino\libraries\ThingSpeak\src/ThingSpeak.h: In member function ‘bool ThingSpeakClass::writeHTTPHeader(const char*)’:
C:\Users\x\Documents\Arduino\libraries\ThingSpeak\src/ThingSpeak.h:1357:28: error: ‘TS_USER_AGENT’ was not declared in this scope
if (!this->client->print(TS_USER_AGENT)) return false;
^
Error compiling.
Version 1.1.0 of these libraries now supports ESP8226 devices, the Particle Electron (coming soon!).
You can use these libraries directly from within the Arduino and Particle IDEs.
All the best,
-Rob
In function `ThingSpeakClass::convertFloatToChar(float, char*)’: ThingSpeak/ThingSpeak.h:1444: undefined reference to `dtostrf(double, signed char, unsigned char, char*)’
The other examples compile fine. Can you fix this?
Thanks!
]]>I’ve found that sometimes the Arduino IDE caches this info, and then doesn’t always update. Assuming you’re using windows, if you go to the AppData/Arduino15 directory, there’s a file called library_index.json. Quit the Arduino IDE, delete that file, and start it up again, and you should be all set.
On my computer, this file is at:
C:\Users
purser\AppData\Roaming\Arduino15
-Rob
There some good conversations and common issues that people encounter over in the forums:
https://community.thingspeak.com/forum/arduino/thingspeak-communication-library-for-arduino/
]]>