[SOLVED] Problems with an SI7021 temp/humidity sensor
-
@Yveaux I have this installed on an easy newbie board. The pull ups are already on the breakout board. They can be seen in this pic as the 2 - 103 (10K) resistors.

I have one more sensor, but I didn't unsolder this one to try that one. I knew I should have put a socket on for that (Hind sight is always 20 20). As for the libraries, I tried a couple different ones with the same results. There is one that is apparently included with MySensors which I tried, and I also tried the one from Adafruit.@dbemowsk this is not an si7021 sensor. The ic looks different: https://www.google.nl/imgres?imgurl=http%3A%2F%2Fuk.farnell.com%2Fproductimages%2Fstandard%2Fen_GB%2F2422570-40.jpg&imgrefurl=http%3A%2F%2Fuk.farnell.com%2Fsilicon-labs%2Fsi7021-a20-gm%2Ftemp-humidity-sensor--0-4deg-c%2Fdp%2F2473670&docid=ePsMcVMs1jbwkM&tbnid=Lj5GeDfYKpx0AM%3A&vet=1&w=234&h=200&client=ms-android-samsung&bih=560&biw=360&q=si7021&ved=0ahUKEwiUi97FudHSAhWDDRoKHUrFB8wQMwglKAowCg&iact=mrc&uact=8
Might be compatible, but it could be the cause of your issues.
-
@dbemowsk this is not an si7021 sensor. The ic looks different: https://www.google.nl/imgres?imgurl=http%3A%2F%2Fuk.farnell.com%2Fproductimages%2Fstandard%2Fen_GB%2F2422570-40.jpg&imgrefurl=http%3A%2F%2Fuk.farnell.com%2Fsilicon-labs%2Fsi7021-a20-gm%2Ftemp-humidity-sensor--0-4deg-c%2Fdp%2F2473670&docid=ePsMcVMs1jbwkM&tbnid=Lj5GeDfYKpx0AM%3A&vet=1&w=234&h=200&client=ms-android-samsung&bih=560&biw=360&q=si7021&ved=0ahUKEwiUi97FudHSAhWDDRoKHUrFB8wQMwglKAowCg&iact=mrc&uact=8
Might be compatible, but it could be the cause of your issues.
-
@dbemowsk this is not an si7021 sensor. The ic looks different: https://www.google.nl/imgres?imgurl=http%3A%2F%2Fuk.farnell.com%2Fproductimages%2Fstandard%2Fen_GB%2F2422570-40.jpg&imgrefurl=http%3A%2F%2Fuk.farnell.com%2Fsilicon-labs%2Fsi7021-a20-gm%2Ftemp-humidity-sensor--0-4deg-c%2Fdp%2F2473670&docid=ePsMcVMs1jbwkM&tbnid=Lj5GeDfYKpx0AM%3A&vet=1&w=234&h=200&client=ms-android-samsung&bih=560&biw=360&q=si7021&ved=0ahUKEwiUi97FudHSAhWDDRoKHUrFB8wQMwglKAowCg&iact=mrc&uact=8
Might be compatible, but it could be the cause of your issues.
-
@dbemowsk this is not an si7021 sensor. The ic looks different: https://www.google.nl/imgres?imgurl=http%3A%2F%2Fuk.farnell.com%2Fproductimages%2Fstandard%2Fen_GB%2F2422570-40.jpg&imgrefurl=http%3A%2F%2Fuk.farnell.com%2Fsilicon-labs%2Fsi7021-a20-gm%2Ftemp-humidity-sensor--0-4deg-c%2Fdp%2F2473670&docid=ePsMcVMs1jbwkM&tbnid=Lj5GeDfYKpx0AM%3A&vet=1&w=234&h=200&client=ms-android-samsung&bih=560&biw=360&q=si7021&ved=0ahUKEwiUi97FudHSAhWDDRoKHUrFB8wQMwglKAowCg&iact=mrc&uact=8
Might be compatible, but it could be the cause of your issues.
-
@Yveaux I have to agree. The SI7021 is an I2C sensor an the one you're using in the pic does not seem to be I2C. Also some of the I2C sensors come with the pull-up resistors already on the board (check the data sheet for your sensor).
-
@dpcr look at the pic in my second post. The pull ups are there. Also, read the original post where I stated that I ran an I2C scanner and it said that it found a device at 0x40. This is most definitely an I2C sensor.
-
-
-
@Yveaux So I tried that library and it worked. Thanks for the help. Now I just need to print an enclosure for the thing.
