Question: Outline a C + + program for NodeMCU that uses the DHTII sensor . It averages out the temperature and humidity values over 1 0

 

Outline a C++ program for NodeMCU that uses the DHTII sensor. It averages out the temperature and humidity values over 10 seconds and prints these on a serial monitor.

Note: No code for network connectivity, protocols etc. is required; just print average values on the serial monitor every 10 seconds.

B) Suppose you want to modify the code you developed in A so that the IoT things will forward aggregated sensed data periodically over the Internet. What else must be added to the code so that the Thing can send data to an online IoT platform of your choice? don't write the code just briefly explain the steps in words.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

A Heres an outline of a simple C program for NodeMCU that uses the DHT11 sensor or any other version like the DHT22 sensor It averages the temperature and humidity values over 10 seconds and prints th... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!