I am trying and trying to get the example sketch working on an Arduino Yun with a Grove Base Shield v1.2 for the Grove - Temperature&Humidity Sensor (High-Accuracy & Mini) sensor. I have tried the sketch on the Wiki - seeedstudio.com/wiki/Grove_- … cy_%26Mini_v1.0
But all I get are readings of -50 for Temp and -24 for Humidity, which are the base values for the calculations for the TH02.ino library … that is, the sensor values are not getting picked up and plugged into the calculation.
Can you point me at a working example for this sketch? I have tried every I2C port on the Grove Base Shield, it just doesnt seem to pick it up. I noticed that you helped out a Raspberry Pi user with this, so it would be great if you could help with an update / working example for Arduino. Thanks.
Thanks. Yes I had tried all ports. I tried again, same results. Attached are some pics.
Also I checked the TH02 library files and one of the variables is called ‘humility’ instead of ‘humidity’. It doesn’t effect the library though as it is a local variable.
I tried to attach the actual sketch here too, but the forum is not allowing the ‘.ino’ extension for upload.
We tested it in our environment it worked perfectly.
Can you make the following connections using a jumper directly from the Arduino board without using the base shield v1.2 to the grove sensor.
Arduino Grove Temperature and humidity sensor(High accuracy and mini)
OK, thanks. I have a number of version 2 shields on order. I will try that when one arrives as my ultimate solution needs to be Grove based. I will post again once one gets here and I have had a chance to test it. Thanks again, I really appreciate the information.
Scratch that … I had ordered a Version 2 Grove Base Shield from a local supplier (Little Bird) but it turns out that board is a v1.3b … I will need to now wait for the shields I ordered directly from Seeeed.
OK, I received a replacement Grove Base Shield v2 today, and I can confirm that the I2C Temperature and Humidity Sensor works just fine As does the Grove OLED Screen. Thanks.