We are planning to use deploy large number of BME280 sensors. We would like to make sure the BME280 is functional after integrating to the PCB, before deploying. We are currently reading deviceID to check the functionality, but would like to know if this is the proper way to do this.
Also, we could find some selftest code which will calculate crc and compares with the stored CRC. But we are reading stored CRC(Address: 0xE8) as 0 and the self test is failing. Could you please suggest how to make sure each sensor is functioning ?
Reading the chip ID is the way to check the availability of the chip.
Thank you for your reply. But my question is how to identify the chip is functonal after integrating to PCB. Please answer..
With sensor driver code in github, you could refert it and read sensor data.
Hi, Thank you for your reply.
We are using the code you refferred and currently flashed the same code in many devices, but some of the sensors are giving odd values and some are working perfectly fine. Does integrating sensor to the PCB can go wrong ? How can we check if we have properly integrated the sensor to the PCB ? Is there a selftest procedure ?