sensirion / arduino-i2c-sht4x Goto Github PK
View Code? Open in Web Editor NEWArduino library for Sensirion SHT4x sensors
License: BSD 3-Clause "New" or "Revised" License
Arduino library for Sensirion SHT4x sensors
License: BSD 3-Clause "New" or "Revised" License
measureHighPrecision(): Not enough data received
Could you please add support for SHT40-B sensors that have the alternative i2c address 0x45?
Currently it is hardcoded in SensirionI2CSht4x.cpp, line 44:
#define SHT4X_I2C_ADDRESS 0x44
You could just add a uint8_t field to the sensor object and use either the constructor or begin(...) method with the current address as the default. This would even be backward compatible with the current library version.
I am currently undertaking a project involving the integration of the SHT40I-AD1B-R2 temperature sensor with an ESP32 C3 Mini, as depicted in the attached image. I am employing the Sensirion Arduino-I2C-SHT4x library to facilitate this integration. Unfortunately, I have encountered a significant issue where the library fails to read the data from the sensor, specifically, it does not detect or recognize the SHT sensor. The system consistently returns an error message.
Given this context, I would greatly appreciate any guidance or recommendations you might have regarding this problem. Could there be specific configurations or aspects of the SHT40I that are not compatible with your library? Any insights or potential solutions to enable successful communication between the sensor and the microcontroller would be immensely helpful.
Thank you for your assistance.
In class SensirionI2CSht4x.cpp the documentation says (line 53):
* @param serial Arduino stream object to be communicated with.
Should be:
* @param i2cBus Arduino stream object to be communicated with.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.