WLOG - blog something different

tags: ai arduino bass games godot i2c linux plan9 random web werc zig
Manufacturers opinion
link | i2c, plan9 | Sat Jun 3 17:28:04 CET 2023 No.15

Another month, another file system.

Something a bit more interesting this time. An environmental sensors, to be connected to the humble “server”: bme680.

Though, it needs to be said, this one brought back memories of disdain of dealing with datasheets. Now, nothing wrong with them, in fact, they are extremely useful. But you can’t help to wonder what the intern was like, who obviously landed the “challenge” of preparing the documentation. We’ve all been there, right? (No? Just me?). But you know it’s true, when you have to go scrounge through their official Arduino library to figure out the type of the data read from the built-in registers.

Oh, and I burned the sensor too. How nice, that the datasheet notices that the provided API runs the sensors at 1Hz at max in continuous mode for testing. Not that this is the maximum you should stress the heating element at. Guess who opened the “file” with the data multiple times a second.

And the application note is even more hilarious. For the sensor self test, just make the measurements and if the calculated temperature is between 0°C and 60°C the sensor probably works. Not, by any chance because that would be useful, what are the possible raw bits from the sensor before the conversions, calibrations correction and calculations, to narrow down where the problem resides.

This one was fun! To be continued when the new sensor arrives.