Note: The DHT11 sensor has a temperature range of 0°C to 50°C and a humidity range of 20% to 90%.
Sample Code
Hardware Connection: Connect Temperature and Humidity Sensor to the Digital1 port of the MATRIX Mini R4.
Result: The temperature and humidity will be shown on OLED under each other.