ArduinoGeneral

DHT11 (DFR0067) Needs Pull Up Resistors?

userHead jmojiwat 2012-09-22 21:35:00 7314 Views3 Replies
Hi,

I'm new to microcontrollers and need some guidance.

I read somewhere that the DHT11 requires a 4.7k ohm pull up resistor when connecting to a microcontroller.

I am just wondering, for the one made by dfrobot (DFR0067) do I still need to put in the pull up resistor or is it already included on the sensor?

Thanking you in advance.

Jacob
2012-09-25 08:03:34 Hi Jacob:

Dht11 sensor from dfrobot should have this resistor build in. Try to connect it directly to arduino based on the diagram from wiki. And run the sample code provided.

Happy playing


Ricky
userHeadPic R2D2C3PO
2012-09-25 04:52:38 Hi Lauren,

Thank you very much for responding.

This is the source of my confusion. In the wiki page you gave me, the diagram makes no mention of pull up resistors.

In the wiki, there is also a link to a pdf datasheet document [url=https://www.dfrobot.com/image/data/DFR0067/DFR0067_DS_10.pdf]https://www.dfrobot.com/image/data/DFR0067/DFR0067_DS_10.pdf[/url] that suggests putting a 5k ohm pull up resistor if the cable length is less than 20m. However, the picture in the pdf shows only the DHT11 while the wiki page shows the DHT11 attached to a little board that looks like it has resistors on it. That's why I'm wondering if the little board already has a pull up resistor.

I'm sure the answer is obvious to anyone familiar with electronics, so please excuse the silly question. :)

Jacob
userHeadPic jmojiwat
2012-09-24 23:33:30 Hi Jacob,

Here is wiki page link for the DHT11 sensor. It includes a connection diagram and the sample code for arduino. You could take a look.
[url=https://www.dfrobot.com/wiki/index.php/DHT11_Temperature_and_Humidity_Sensor_(SKU:_DFR0067)]https://www.dfrobot.com/wiki/index.php/DHT11_Temperature_and_Humidity_Sensor_(SKU:_DFR0067)[/url]

Actually,for most of the product from DFRobot, you could find a wiki page link in the product page. The wiki page will introduce the basic way to drive the module and describe the notes for the beginners. So for some simple problems, you could check the wiki page.
And if the wiki page is not good enough for you to understand how to use the sensors, you could tell us. We'll improve it soon.

;)
userHeadPic Lauren