i want to visualize dht11 data to thingspeak, i am using gsm 900a module,DHT11,


but not getting desired result
serial monitor showing error bad request

code: [select]
hum= serial.println(dht.humidity, 1);
  serial.println(" temparature ");
temp=  serial.println(dht.temperature, 1);

do have clue serial.println() returns? how in hell number of characters sent serial port relevant information?

code: [select]
  string str = " http://api.thingspeak.com/update?api_key=7lroujto47dws2ja=" + string(hum) + string(temp);
get clue. request not include protocol or server name. data after ? consists of name = value pairs, separated &s.


Arduino Forum > Using Arduino > Programming Questions > i want to visualize dht11 data to thingspeak, i am using gsm 900a module,DHT11,


arduino

Comments

Popular posts from this blog

DHT11 Time out error using v0.4.1library

Sketch upload fails with Java error (___REMOVE___/bin/avrdude)!

Arduino Uno + KTY81/210 temperature sensor