Hi,I wrote the examples with another sensors because I always haver precission problems, but in this case I'm using the integrated sensor in the Nano 33 BLE Sense, so there are no chinese sensors, cables...nothing. The HTS221 specs are very clear: 0.5 ºC between 15 and 40 ºC, so it's very dissapointing to get an 5 ºC error. More ideas?Thanks!
If you have the Chinese variations of these sensors it would be a normal variation as they do not choose the best components to match the specifications of sensors for many of the modules.As explained usually an OFFSET / or running average is the best approach especially for the DHT sensors.I don't believe there is a calibration method apart from checking the components on any module board and swapping them for the manufacturer's recommended whilst reading the application notes.Also be aware that close ambient temperature can throw readings out wildly.A good approach to that is yo use a shielded cable of suitable length to move the sensors away from such sources.Bob.
Hi, we have updated the getting started page of the BLE sense with regards to the accuracy of the sensors. Please read the section under "Relative humidity and temperature on the Arduino NANO 33 BLE Sense".Getting started: https://www.arduino.cc/en/Guide/NANO33BLESense