Temerature & Humidity Sensor Readings


#1

I am using a Raspberry Pi 2 model B and the sensor is marked v1.2. Visually I have confirmed it is the standard version, not pro, by matching it to the image at http://www.seeedstudio.com/wiki/Grove-_Temperature_and_Humidity_Sensor. The board looks the same except for printed words. I have verified I am running firmware version 1.2.2

I am working thru the examples in the GrovePi+ starter kit booklet and things have been great until I got to this sensor. I am using the GrovePi/Projects/Home_Weather_Display/Home_Weather_Display.py script and the values are incorrect. Initially they read like this:
temp = 563.2 C humidity = 947.2 %
and when I blow over the sensor with humid breath it gradually moves over several seconds to:
temp = 640.0 C humidity = 1459.2 %
Over time it will return to the lower values. So I conclude that the connections and port values are correct, but the readings are obviously wrong.

Am I using the wrong script? Al the others appear to be for the pro version.
Do I need to update/change drivers?
Is there a problem with my sensor?


#2

Hey,
The reading might be wrong because the function takes an argument to select what type of sensor you are using.

Here is another post on the forums which does describe the different sensors and how to use them: http://www.dexterindustries.com/forum/?topic=537-6c-displayed-in-home-weather-project/#post-4485 .

-Karan