mysensors / NodeManager

Plugin for a rapid development of battery-powered sensors
130 stars 82 forks source link

Add support for SI7021 Sensor #211

Closed fabix68 closed 6 years ago

fabix68 commented 6 years ago

Hi, is it possible to add support for si7021 sensor in the next version? tnk for your work

dakipro commented 6 years ago

I was just about to ask for this sensor :) Looking forward to it!

user2684 commented 6 years ago

Hi, thanks for raising this! If I'm not wrong, the SI7021 should work with the same SHT21 library. May you please connect the SI7021, try enabling MODULE_SHT21 and adding a SENSOR_SHT21 sensor to nodemanager? If i would work I'll make it an alias like I did for SENSOR_HTU21D. Thanks

dakipro commented 6 years ago

Thanks, I am waiting for more parts and boards to arrive, I will test and confirm (but can take some time :( )

abdusahin commented 6 years ago

any update for this ? I tried with SENSOR_HTU21D but no luck

user2684 commented 6 years ago

Strange, I have a few of those https://www.aliexpress.com/item/Humidity-Sensor-with-I2C-Interface-Si7021-for-Arduino-Industrial-High-Precision/32687207471.html and SENSOR_SHT21/SENSOR_HTU21D did work for me. Which module are you using? Do you have a link of the arduino library which is working for your module? Thanks

abdusahin commented 6 years ago

@user2684 When I use "SparkFun_Si7021_Breakout_Library.h" it works fine. I can get temperature and humidity measurements without any issue, however the recommended method here didn't work.

user2684 commented 6 years ago

Thanks. Having a look at the library you are using, it is definitely different from the SHT21's. This means we need to implement a brand new sensor. I'll add it to the v1.7 backlog then. Thanks!