Doen anyone know how can I plug a DHT22 sensor (http://www.sparkfun.com/datasheets/Sensors/Temperature/DHT22.pdf ) on a Jeenode? Do I need an extraboard or can I use the pin on the jeenode?
DHT22 Temp-Humidity sensor on Jeenode
(5 posts) (3 voices)-
Posted 04/02/2011 22:34:21
-
Gleaning from the datasheet link you gave:
pin 1 to +3V pin 2 to GND pin 3 to DIO
All of this on any of the 4 JeeNode ports. Should work. You don't really need an extra board for this.
But you do need to write some code to implement the "single-wire bus protocol", as it appears to be described further on. That's not the well-known Dallas "1-wire protocol", as I understand it.
Posted 04/02/2011 23:45:42 -
Hello, thanks for your reply. I found this arduino lib http://nethoncho.com/arduino/DHT22/ and this more detailed datasheet http://www.humiditycn.com/pic/201111310333367286.pdf. Do I need a resistor from vcc to data?
Posted 05/02/2011 00:06:14 -
The price is very nice! and the characteristics also!!!
what is your opinion about this? Is it worth it?
What are the main diffs with the SHT11???
Posted 05/02/2011 06:38:10 -
I am not sure as I am newbie..but as far as I can see SHT11 has the 1-wire protocol which the DHT22. From what I understand this implies to fix the code somwhow. But to be honest I don't really know what is 1-wire protocol as I never used before!
Maybe someone with more experience would explain it better.
Posted 05/02/2011 12:50:46
