Thingspeak设置
GET https://api.thingspeak.com/update?api_key=XXXXXXXXXXXXX&field1=0
连接ESP8266
Please refer to my previous lesson if you wants to do ESP8266 setup. Watch
out there is some differences in the circuit diagram.
https://create.arduino.cc/projecthub/mkganesan1975/wifi-module-esp8266-initializing-d62f11?ref=user&ref_id=2304769&offset=1
Once the ESP8266 setup is successful, then rearrange the circuit as in
figure2.
String AP = "gvm2.4GHz"; //your wifi Access Point Name
String PASS = "mypass"; //your AP password
String API = "ASKAJDBSADU56161"; //This code you get from thinkspeak
String HOST = "api.thingspeak.com";
String PORT = "80";
At the top of Arduino IDE
- Go to Tools > Manage Libraries ....
- Type thingspeak at search box
- Select ThinkSpeak by MathWork
声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉
全部0条评论
快来发表一下你的评论吧 !