In this lesson, we will use this IoT kit to remotely monitor the home environmental temperature and humidity, and display the data to the OSOYOO IoT APP.
Build the circuit as below:
DHT11 signal pin (data) to NodeMCU D2
DHT11 VCC to NodeMCU 3.3V
DHT11 GND to NodeMCU G pin
Prerequisite:
const char* ssid = "***"; //replace *** with your wifi ssid const char* password = "***"; //replace *** with your wifi password
Step 3 )Upload the code to Arduino board, then open Arduino Serial monitor in the upper right corner.
Now please set your Baud Rate to 115200
you will see NodeMCU IP address as following:
APP Installation and Setting:
Step 1) If you haven’t installed OSOYOO IoT Robot APP, please search OSOYOO IoT Robot Car APP in Google Play or Apple Store to install this APP.
You read following tutorial link for more information about APP install :
https://osoyoo.com/2022/02/06/smart-house-iot-learning-kit-v2-0-lesson-1-wireless-lighting-control/#installapp
Step 2):Make sure your Cell phone is in the same Local Network of Arduino. Open the APP, click Settings, enter your NodeMCU IP address from Step F and Port to 8888 in settings:
For example, if your NodeMCU IP address is 192.168.1.81, then set the IP as per following picture.
DownLoad Url osoyoo.com