Grove - Temperature and Humidity Sensor Pro
Gopro in temperature and relative humidity measurement applications with this Grove gadget. This is a powerful sister version of our Grove - Temperature and Humidity Sensor. It has more complete and accurate performance than the basic version. The detecting range of this sensor is 5% RH - 99% RH, and -40°C - 80°C. And its accuracy satisfyingly reaches up to 2% RH and 0.5°C. A professional choice for applications that have relatively strict requirements.
|Measuring Current Supply||1||-||1.5||mA|
|Standby Current Supply||40||-||50||uA|
|Measuring range (Humidity)||5%||-||99%||RH|
|Measuring range (Temperature)||-40||-||80||°C|
|Signal Collecting Period||-||2||-||S|
|Respond Time 1/e(63%)||6||-||20||S|
More details about Grove modules please refer to Grove System
Following documents help in getting the user started with Grove.
Connect the Temperature and Humidity Sensor Pro to D2 of Grove - Base Shield. Then plug Grove - Base Shield into Arduino and connect Arduino to PC using a USB cable.
Download Seeed DHT library for arduino boards with 16MHz XTAL; Unzip and put it in the libraries file of Arduino IDE by the path: ..\arduino-1.0\libraries; Another library - DHTlib is also available instead of Seeed DHT library. This library supports both 16MHz and 8MHz Arduino (eg. Seeeduino Stalker)
Restart the Arduino IDE. Open “ DHTtester” example via the path: File –> Examples –> Humidity_Temperature_Sensor –> DHTtester. Through this demo, we can read the temperature and relative humidity information of the environment.
This Grove - Temperature and Humidity Sensor Pro and our another product Grove-Temperature and Humidity Sensor are sharing this library. No matter which product you are using, make sure that you have made the definition line of the sensor of your board into effect and commented out the definition lines of other specs. For example, the sensor we used on Grove - Temperature and Humidity Sensor Pro is DHT 22. So the definition part of the sensor spec should be:
#define DHTTYPE DHT11 // DHT 11 #define DHTTYPE DHT22 // DHT 22 (AM2302) //#define DHTTYPE DHT21 // DHT 21 (AM2301)or
- Upload it into your Arduino board.
With Raspberry Pi 1.You need to prepare a raspberry pi and a grovepi or grovepi+.
2.You need to complete configuring the development enviroment, otherwise follow here.
3.Connection - Plug grove DHT pro to the socket D4 of grovepi.
4.Navigate to the demos’ directory:
To see the code
nano grove_dht_pro.py # "Ctrl+x" to exit #
import grovepi # Connect the Grove Temperature & Humidity Sensor Pro to digital port D4 # SIG,NC,VCC,GND sensor = 4 while True: try: [temp,humidity] = grovepi.dht(sensor,1) print "temp =", temp, " humidity =", humidity except IOError: print "Error"
5.Run the demo.
sudo python grove_dht_pro.py
Help us make it better
Thank you for choosing Seeed. A couple of months ago we initiated a project to improve our documentation system. What you are looking at now is the first edition of the new documentation system. Comparing to the old one, here is the progresses that we made:
- Replaced the old documentation system with a new one that was developed from Mkdocs, a more widely used and cooler tool to develop documentation system.
- Integrated the documentation system with our official website, now you can go to Bazaar and other section like Forum and Community more conveniently.
- Reviewed and rewrote documents for hundreds of products for the system’s first edition, and will continue migrate documents from old wiki to the new one.
An easy-to-use instruction is as important as the product itself. We are expecting this new system will improve your experience when using Seeed’s products. However since this is the first edition, there are still many things need to improve, if you have any suggestions or findings, you are most welcome to submit the amended version as our contributor or give us suggestions in the survey below, Please don’t forget to leave your email address so that we can reply.