Real-time monitoring of ambient temperature base on Nodemcu / ESP12F
nodemcu/ESP12F Real-time monitoring of ambient temperature.
Bigiot renderings are as follows:
Realization idea
- Firstly,connect the device to the internet.
- Connect the BIGIOT net.
- Send information regularly.
I have searched a lot of data, but I have not found any actual and effective data to assist me in implementation.
So I studied and transformed it into a code for transmitting information with the help of bigiot's control code.
This may be the first non Lua but C language code in the whole network.
critical code:
//Upload information to the interface
String msg1 ="{\"M\":\"update\",\"ID\":\""+did+"\",\"V\":{\""+inputid+"\":\""+value+"\"}}\n";
client.print(msg1);
Code explanation video in chinese
Click here to go to CSDN to download the code
Click here to go to github to download the code
This article is also written in CSDN.