Archiving Datasheets and libraries that may be required to reproduce old work.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1.3 KiB

SimpleDHT

Simple, Stable and Fast Arduino Temp & Humidity Sensors for DHT11 etc.

  1. Simple: Simple C++ code with lots of comments.
  2. Stable: Strictly follow the standard DHT protocol.
  3. Fast: Support 0.5HZ or 1HZ sampling rate.

Usage

To use this library:

  1. Download the zip from specified version: https://github.com/winlinvip/SimpleDHT/releases
  2. Import to Arduino: Arduino => Sketch => Include Library => Add .ZIP Library...
  3. Open example: Arduino => File => Examples => Simple DHT sensor library => DHT11Default
  4. Connect the DHT11 and Upload program to Arduino.
  5. Open the Serial Window of Arduino IDE, we got the result as following.
=================================
Sample DHT11...
Sample OK: 19 *C, 31 %
=================================
Sample DHT11...
Sample OK: 19 *C, 31 %
=================================

Remark: For DHT11, no more than 1 Hz sampling rate (once every second).

Examples

This library including the following examples:

  1. DHT11Default: To sample the temperature and humidity.
  2. DHT11WithRawBits: To sample the temperature and humidity, output the 40 raw bits.
  1. adafruit/DHT-sensor-library
  2. Arduino #4469: Add SimpleDHT library.

Winlin 2016.1