Dht11 Arduino Beispiel

Wemos D1 And D1 Mini Arduino Projects Arduino Projects Arduino Electronics Projects For Beginners

Our interfacing circuit diagram is shown below.

Dht11 arduino beispiel. Der dht11 sensor misst im luftfeuchtigkeitsbereich von ca. Void loop wait a few seconds between measurements. A beginner tier project i hope will help the fellows that are newbies in the arduino world. A pull up resistor should be added to the data pin with a value between 4 7k and 10k.

Vcc 5v data nc not connected pin and gnd from left to right. Power comes from separate 5v and ground wires. 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. The dht11 uses just one signal wire to transmit data to the arduino.

Dht11 humidity temperature sensor with 16x2 lcd display project showcase by onatto22. Void setup serial begin 9600. As show in the circuit schematic the dht11 sensor has 4 pins. Die messwerte können dann über den serial monitor oder einem lcd angezeigt werden.

In unserem beispiel möchten wir einen dht11 auslesen falls du ein dht22 hast einfach dht22 eintragen definieren der objekte dht dht dhtpin dhttype.

Source : pinterest.com