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 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 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
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
Get step-by-step solutions from verified subject matter experts
