IoT MCU Monitoring Using The AskSensors IoT Platfo
IoT MCU Monitoring Using The AskSensors IoT Platfo
Temperature & Humidity Monitoring Using the ESP-01 & DHT and the
AskSensors Cloud
by askSensors
In this instructable we are going to learn how to monitor the temperature and the humidity measurements using the
IOT-MCU/ESP-01-DHT11 board and the AskSensors IoT Platform.
I'm choosing the IOT-MCU ESP-01-DHT11 module for this application because it's ready-to-use and save
development time. However, if you are looking for home automation systems, I suggest the ESP8266 nodeMCU
tested in my previous instructable, which provides more input/outpout, large memory and additional features.
ESP-01 OVERVIEW:
This module uses the ESP-01 or the ESP-01S as the master control, and the DHT11 allowing to measure the in
the scales from 0 to 50 degrees Celsius and the humidity of the air in the ranges from 20 to 90%.
Temperature & Humidity Monitoring Using the ESP-01 & DHT and the AskSensors Cloud: Page 1
Step 1: Materials
These are the components that you will need for this tutorial:
1. ESP-01 or ESP-01S
2. USB Serial converter to program your ESP-01.
3. IOT-MCU/ ESP-01-DHT11
Temperature & Humidity Monitoring Using the ESP-01 & DHT and the AskSensors Cloud: Page 2
Step 2: Environment Setup
First, You need install the ESP8266 core to the arduino IDE. Skip this step if you have the ESP8266 already
installed.
Temperature & Humidity Monitoring Using the ESP-01 & DHT and the AskSensors Cloud: Page 3
Step 3: Create Your Sensor Modules at AskSensors
Module 1: Temperature
Module 2: Humidity
You can find tutorials and instructables showing how to get started with the AskSensors IoT platform and setting
sensors to collect data using the web browser or the ESP8266 nodeMCU.
Step 4: Coding
Now the code is all set. Let's move to the next step to run the software.
Temperature & Humidity Monitoring Using the ESP-01 & DHT and the AskSensors Cloud: Page 4
Step 5: Programming the ESP-01
Got Issues ?
Have you get any issues? Please see the next step.
Temperature & Humidity Monitoring Using the ESP-01 & DHT and the AskSensors Cloud: Page 5
Step 6: Throubleshooting
Programming the ESP-01 is a little bit hard for beginners. These are some possible errors:
Step 7: Results
1. Initialization
2. Connect to the WiFi network
3. Read temperature and humidity from the DHT11
4. Connect and send the measurements to the AskSensors server
5. Repeat the two previous steps periodically.
Login to the AskSensors web site and show graphs of the temperature and humidity modules. You will get your
measurements plotted in real time. You can also export the collected data in CSV files.
Temperature & Humidity Monitoring Using the ESP-01 & DHT and the AskSensors Cloud: Page 6
Step 8: Well Done!
You have successfully completed our tutorial about monitoring the temperature and humidity with ESP8266 and
IOT-MCU board connected to the AskSensors cloud.
See more instructables here.
You should link to this instructable for the USB programmer modification necessary to ground
GPIO0 while powering up the ESP-01. https://www.instructables.com/id/USB-to-ESP-01-Board-
Adapter-Modification/#CKRGRFXJQCOD3Q2
Great instructable,
Thanks!
Then how do you troubleshoot the code? I've followed all the steps but for some reason no data is
coming in to the AskSensors platform. Any suggestions?
Hello,
STEP1:
First, You need to confirm that you are able to send data to your sensor using the appropriate API
KEY IN. You can do it from the browser as shown in this tutorial (step 3).
https://www.instructables.com/id/Send-Data-to-AskS...
STEP2:
If STEP1 Ok, so try to send dummy data to your sensor using only ESP8266 connected to the
serial terminal (which allows you to see if your ESP8266 is connecting to WiFi and sending data to
the AskSensors server. use the following code:
https://github.com/asksensors/AskSensors-ESP8266-A...
STEP3: Connect your DHT sensor to your ESP8266. To be sure, you can start with testing your
DHT sensor separately: ESP + plugged on the serial converter and DHT sensor connected to the
ESP using wires. use the adafruit library:
https://github.com/asksensors/DHT-sensor-library
This is great, thank you very much for taking the time to help!
Hello,
Yes you are right, At the final step, the IOT-MCU board does not allow USB connection.
Sweet, I made it in a couple of minutes, just had to update the SHA1 fingerprint.
Can't make with ESP32, asksensors.com responds with "certificate doesn't match"
Hello,
Concerning ESP32, please refer to this tutorial:
https://www.instructables.com/id/Room-Temperature-Humidity-Monitoring-With-the-ESP3/
Temperature & Humidity Monitoring Using the ESP-01 & DHT and the AskSensors Cloud: Page 7
Hello Peter,
I'm glad to see you making it.
Yes, we had a certificate update a while ago. this is not an issue. just ignore it.
Temperature & Humidity Monitoring Using the ESP-01 & DHT and the AskSensors Cloud: Page 8