# Weather Shield - Getting wrong readings

**URL:** <https://community.sparkfun.com/t/weather-shield-getting-wrong-readings/44383>\
**Category:** Environmental\
**Created:** [August 26, 2022, 6:46pm UTC](https://community.sparkfun.com/t/weather-shield-getting-wrong-readings/44383 "2022-08-26T18:46:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![vdenduluri](https://avatars.discourse-cdn.com/v4/letter/v/aca169/32.png) [@vdenduluri](https://community.sparkfun.com/u/vdenduluri)\
**Post date:** [August 26, 2022, 6:46pm UTC](https://community.sparkfun.com/t/weather-shield-getting-wrong-readings/44383/1 "2022-08-26T18:46:35Z")

</div>

Hi,

I recently purchased weather shield & sparkfun redboard plus. Upon hooking up & running the example program from github - “Weather\_Shield\_Basic\_V12” [https://github.com/sparkfun/Weather\_Shi … \_Basic\_V12](https://github.com/sparkfun/Weather_Shield/tree/master/Firmware/Weather_Shield_Basic_V12), I am getting below readings. Is there something that I should do first before executing the program or something wrong with hardware? Anyhelp would be appreciated.

Humidity = -5.81%, temp\_h = -51.85F, Pressure = -999.00Pa, temp\_p = -1766.20F, light\_lvl = 2.14V, VinPin = 12.08V

Humidity = -5.81%, temp\_h = -51.85F, Pressure = -999.00Pa, temp\_p = -1766.20F, light\_lvl = 2.19V, VinPin = 11.91V

Humidity = -5.81%, temp\_h = -51.85F, Pressure = -999.00Pa, temp\_p = -1766.20F, light\_lvl = 2.19V, VinPin = 12.08V

Humidity = -5.81%, temp\_h = -51.85F, Pressure = -999.00Pa, temp\_p = -1766.20F, light\_lvl = 2.08V, VinPin = 12.90V

Thanks.

---

<div class="post-metadata">

**Author:** ![jfbauer](https://avatars.discourse-cdn.com/v4/letter/j/ad7895/32.png) [@jfbauer](https://community.sparkfun.com/u/jfbauer)\
**Post date:** [August 26, 2022, 8:23pm UTC](https://community.sparkfun.com/t/weather-shield-getting-wrong-readings/44383/2 "2022-08-26T20:23:06Z")

</div>

I don’t have that device, but I took a quick look at this. Looking at the [[library](https://github.com/sparkfun/SparkFun_Si7021_Arduino_Library/blob/master/src/SparkFun_Si7021_Breakout_Library.cpp) the makeMeasurement() function will return 100 if the correct number of bytes is not returned. After passing through the formula to compute RH in getRH(), that will end up with a value of -5.81 that you are seeing.

The sample program seem to assume a humidity value of 998 indicates a bad value. So either the sample code is wrong or the library code is wrong. My bet is with the library.

For now assume a humidity value of -5.81% means there was an error. Check wiring and soldering.]([SparkFun\_Si7021\_Arduino\_Library/src/SparkFun\_Si7021\_Breakout\_Library.cpp at main · sparkfun/SparkFun\_Si7021\_Arduino\_Library · GitHub](https://github.com/sparkfun/SparkFun_Si7021_Arduino_Library/blob/master/src/SparkFun_Si7021_Breakout_Library.cpp))

---

<div class="post-metadata">

**Author:** ![vdenduluri](https://avatars.discourse-cdn.com/v4/letter/v/aca169/32.png) [@vdenduluri](https://community.sparkfun.com/u/vdenduluri)\
**Post date:** [August 29, 2022, 11:58pm UTC](https://community.sparkfun.com/t/weather-shield-getting-wrong-readings/44383/3 "2022-08-29T23:58:54Z")

</div>

Thank you for response. I just connected the Weather Shield to RedBoard Plus using stackable header connectors. There are no wires. So if its hardware issue then would one of them be defective.

 ![20220829_163800.jpg](https://canada1.discourse-cdn.com/sparkfun/original/3X/f/0/f0ee7e24347f6b0d9cedc6f00078a0734d0254c0.jpeg)

 ![20220829_163709.jpg](https://canada1.discourse-cdn.com/sparkfun/original/3X/a/3/a3bf022420b0c49cf10f7397d5b28a19a6040698.jpeg)

---

<div class="post-metadata">

**Author:** ![YellowDog](https://yyz1.discourse-cdn.com/sparkfun/user_avatar/community.sparkfun.com/yellowdog/32/1782_2.png) [@YellowDog](https://community.sparkfun.com/u/YellowDog)\
**Post date:** [August 30, 2022, 11:55am UTC](https://community.sparkfun.com/t/weather-shield-getting-wrong-readings/44383/4 "2022-08-30T11:55:27Z")

</div>

Did you solder the stackable headers to the shield?

---

<div class="post-metadata">

**Author:** ![jfbauer](https://avatars.discourse-cdn.com/v4/letter/j/ad7895/32.png) [@jfbauer](https://community.sparkfun.com/u/jfbauer)\
**Post date:** [August 30, 2022, 11:55am UTC](https://community.sparkfun.com/t/weather-shield-getting-wrong-readings/44383/5 "2022-08-30T11:55:53Z")

</div>

It looks like the headers do not come pre-assembled on that weather shield. Did you solder the headers on the shield (they won’t make good electrical contact without being soldered)? Can you include a good photo of the solder connections?

If that doesn’t help you may want to contact SparkFun customer support ([support@sparkfun.com](mailto:support@sparkfun.com)).

---

<div class="post-metadata">

**Author:** ![vdenduluri](https://avatars.discourse-cdn.com/v4/letter/v/aca169/32.png) [@vdenduluri](https://community.sparkfun.com/u/vdenduluri)\
**Post date:** [August 31, 2022, 1:08am UTC](https://community.sparkfun.com/t/weather-shield-getting-wrong-readings/44383/6 "2022-08-31T01:08:57Z")

</div>

I haven’t soldered them. I didn’t want to go that route until I know hardware is good. I will try soldering and test it again.
