I in my earliest stages of trying to post data to my Thingspeak channel via an ESP8266. I have managed to successfully send data via my browser, but via my ESP does not seem to work. I have my ESP connected via a FTDI converter and am using Terminal V1.93b as a serial terminal program. The data I attempt to send seems to be successfully sent according to the Terminal program. However, when I check my thingspeak channel, there are no updates. I've been at this for 3 days and I've tried all sorts of permutations, incl the number of /r/n's at the end of the GET line. Now I am at a total loss. Can someone please help?
Log of terminal connection:
Terminal log file
Date: 23/06/2016 - 9:26:09 PM
> GET /update?api_key=27YZ7P1D60A7X1CH&field2=41
Date: 23/06/2016 - 9:27:26 PM
End log file
Please read this post, my aswer is part 2.
I use windows and termite (http://www.compuphase.com/software_termite.htm) but ANY RS232 terminal will do.
Please check AT+GMR because different AT versions have "different syntax". (In my case I must test in my Arduino program for the answer "ERROR" because with other version the test must be done against "Error" and the program fails. UPPERCASE ... lowercase)
ESP8266 -> Thingspeak works!
Hope this helps ... questions?
Yeehah!! It worked - I am stoked! Piajol, you have made my day, thank you!
So, for the record, at the time of my original post I was running the default version of the AT firmware (008000901) with its 115200 baud rate. Later in the night I reflashed to AT firmware 008000902 (AI Thinker) with a baud rate of 9600 hoping I would do better. Unfortunately it made it even worse as I now could not even link to the ThingSpeak site with my syntax above.
However thanks to you I was successful with the following syntax and settings:
AT+CWMODE=3 'ESP is both a station and a server
AT+CIPMUX=0 'Single channel
To all first-timers like me, the ESP is incredibly sensitive to syntax variation between Firmware variations, so beware! Thanks again for setting me straight!
Most Users Ever Online: 114
Currently Browsing this Page:
Guest Posters: 1
Administrators: Hans, lee