February 23, 2017
Please post your code so someone can look into it to provide suggestion.
A few things to check in your code:
- Are you updating your channel faster than the maximum update rate for your user type? Free user accounts can update a channel once every 15s, a paid ThingSpeak license enables you to update a channel every second.
- Are you updating one field at a time for a channel, rather than updating all fields in a single shot? If so, there is a very high likelihood that you are violating the above mentioned aspect
- Have you tried connecting to a serial port from a computer and using serial.print() to print out the return code you get from ThingSpeak? That will usually give you a good idea of what is going on.
February 23, 2017
below is my loop code, so do i need to put a delay in between each of my uploads instead of 30 seconds t the end?
String uri = "/update?api_key=";
uri += APIKEY;
uri += "&field1="; //populates field 1 on ThinkSpeak Website
uri += String(dTemp.getTempF(Probe01)); //gets temperature from probe 1
uri += "&field2="; //populates field 2 on ThinkSpeak Website
uri += String(dTemp.getTempF(Probe02)); //gets temperature from probe 2
uri += "&field3="; //populates field 3 on ThinkSpeak Website
uri += String(dTemp.getTempF(Probe03)); //gets temperature from probe 3
uri += "&field4="; //populates field 4 on ThinkSpeak Website
uri += String(scale.get_units()); // get weight on scale in lbs
Ciao.println("Send data on ThingSpeak Channel");
CiaoData data = Ciao.write(CONNECTOR, SERVER_ADDR, uri);
Ciao.println( "State: " + String (data.get(1)) );
Ciao.println( "Response: " + String (data.get(2)) );
delay(30000); // 30 seconds delay
I'd recommend using the library rather than roll your own.
Take a look at the tutorials here: http://community.thingspeak.com/tutorials/
Take a look at the examples in the library here: https://github.com/mathworks/thingspeak-arduino/tree/master/examples
Most Users Ever Online: 114
Currently Browsing this Page:
Guest Posters: 1
Newest Members:harriettlf60, ShaToow, Aleftinfenny, DiaBentee, email@example.com, Pisaruk530
Administrators: Hans: 387, lee: 457