Skip to content
/ DHTxx Public

Library for reading a DHTxx Temperature and Humidity Sensor.

License

Notifications You must be signed in to change notification settings

SensESP/DHTxx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DHTxx

Library for reading one or more DHTxx Temperature and Humidity Sensors in SignalK/SensESP.

This library allows you to use one or more - of the same or different variants - of the DHTxx in the same SensESP Project (main.cpp). It works with the DHT11, DHT21 and DHT22 different sensors. Here's how to use it.

  1. Follow the instructions in the SensESP README to install Signal K and SensESP.

  2. Don't try to use this library until after you have successfully built and uploaded one of the SensESP examples and seen the desired output in the Signal K Server.

  3. Start a new Project in PlatformIO.

  4. Follow the instructions in the SensESP README (and the Wiki if you need detailed instructions) for getting a good platformio.ini file for your Project.

  5. Make one modification to your shiny new platformio.ini - add this library to the lib_deps section, like this:

lib_deps =
   SignalK/SensESP
   https://github.com/SensESP/DHTxx.git
  1. Replace the contents of your Project's main.cpp file with the contents of the example file that's included with this library.

  2. Modify your main.cpp to reflect the sensor or sensors that you're actually testing with.

  3. Build, upload, and test your Project.

Once you have it working properly, you can include this library in any SensESP Project just by following Step 5 above.

About

Library for reading a DHTxx Temperature and Humidity Sensor.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages