The use of the ESP8266 in the world of IoT

User avatar
By alonewolfx2
#2664
hansaya wrote:Thanks, I got it working

can you share example code?
User avatar
By Fadi
#2740 code was shared in the first page of this forum post.
and I think you might need to change HIGHLEVEL as noted above to get it to work properly.

that is all.
if you have other problems or questions let us know. Thanks to off for sharing his code, and this whole
community is very active and helpful.

Fadi
User avatar
By hansaya
#3567
alonewolfx2 wrote:
hansaya wrote:Thanks, I got it working

can you share example code?


sure

Here is my dropbox link https://www.dropbox.com/sh/gfmn7481omah ... yWT5a?dl=0

I used GPIO 13 to connect DHT11 and use serial command AT+TEMP or use AT+HELP to check all the commands. This should print temperature and humidity every ~4 seconds
User avatar
By hansaya
#3890 I have a question. How can i get decimal values out of this thing? I know that im getting Celsius but when i convert it to Fahrenheit 1 C could change a lot in F. Any idea how can read decimals or its not possible?