标题: [NUC240] Read Sensor DHT11 Humidity and Temperature Data [打印本页] 作者: admin 时间: 2022-7-7 11:46 标题: [NUC240] Read Sensor DHT11 Humidity and Temperature Data
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.