Dht11 Arduino Beispiel
Die messwerte können dann über den serial monitor oder einem lcd angezeigt werden.
Dht11 arduino beispiel. In unserem beispiel möchten wir einen dht11 auslesen falls du ein dht22 hast einfach dht22 eintragen definieren der objekte dht dht dhtpin dhttype. Dht11 humidity temperature sensor with 16x2 lcd display project showcase by onatto22. A pull up resistor should be added to the data pin with a value between 4 7k and 10k. As show in the circuit schematic the dht11 sensor has 4 pins.
Arduino dht11 lcd connection circuit. A beginner tier project i hope will help the fellows that are newbies in the arduino world. Void loop wait a few seconds between measurements. Our interfacing circuit diagram is shown below.
A 10k ohm pull up resistor is needed between the signal line and 5v line to make sure the signal level stays high by default see the datasheet for more info. Vcc 5v data nc not connected pin and gnd from left to right. Power comes from separate 5v and ground wires. 20 80 5 genauigkeit und im.
Der dht11 sensor misst im luftfeuchtigkeitsbereich von ca.