[NUC240] Read Sensor DHT11 Humidity and Temperature Data

Post Reply
chhsieh3
Posts: 135
Joined: 13 Mar 2020, 09:08

20 May 2020, 14:55

  • Application: This code uses NUC240 GPIO (PA.0) and TIMER0 to read DHT11 humidity and temperature data.
  • BSP Version: NUC230/240 Series BSP CMSIS V3.01.001
  • Hardware: NuTiny-SDK-NUC240V V1.2
This example code uses GPIO (PA.0) and TIMER0 to read DHT11 humidity and temperature data. DHT11 is a common digital humidity and temperature sensor. DHT11 uses a simplified single-bus communication to exchange data.

By using GPIO and TIMER0, user can generate the waveform to communicate with DHT11.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 1102111121
Nuvoton

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests