SunFounder 3in1 Kit
3. Run the Code
1. Open the 5.home_environment_monitoring.ino file under the path of 3in1-kit\iot_project\5.
home_environment_monitoring, or copy this code into Arduino IDE.
Note:
• The DHT sensor library is used here, you can install it from the Library Manager.
2. Replace the Template ID, Device Name, and Auth Token with your own. You also need to enter the ssid
and password of the WiFi you are using. For detailed tutorials, please refer to 1.4 Connecting the R4 board to
Blynk.
3. After selecting the correct board and port, click the Upoad button.
4. Open the Serial monitor(set baudrate to 115200) and wait for a prompt such as a successful connection to appear.
306 Chapter 6. IoT Projects