Modifications

Sauter à la navigation Sauter à la recherche
782 octets ajoutés ,  16 avril 2013 à 20:20
Page créée avec « {{DHTxx-NAV}} {{bloc-etroit|text=Luckily it is trivial to connect to these sensors, they have fairly long 0.1"-pitch pins so you can plug them into any breadboard, perfboard... »
{{DHTxx-NAV}}

{{bloc-etroit|text=Luckily it is trivial to connect to these sensors, they have fairly long 0.1"-pitch pins so you can plug them into any breadboard, perfboard or similar.}}

[[Fichier:DHTxx-Montage-01.jpg]]

Likewise, it is fairly easy to connect up to the DHT sensors. They have four pins

* VCC (3 to 5V power)
* Data out
* Not connected
* Ground

Simply ignore pin 3, its not used. You will want to place a 10K resistor between VCC and the data pin, to act as a medium-strength pull up on the data line. The Arduino has built in pullups you can turn on but they're very weak, about 100K

This diagram shows how we will connect for the testing sketch. Connect data to pin 2, you can change it later to any pin.

[[Fichier:DHTxx-Montage-02.jpg]]


{{DHTxx-TRAILER}}
32 920

modifications

Menu de navigation