Hello @Alban_T the sketch you linked is for M5Stack devices. M5Atom Lite is a bit different. For instance: I assume you modified #include <M5Stack.h> to #include <M5Atom.h>. did you also adapt the M5.begin() call to enable I2C? E.g. M5.begin(true, true, true) - the second true enables I2C on Atom Lite. is your sensor connected to the proper GPIOs? E.g. SDL - GPIO25 and SCL - GPIO21. excerpt from M5Atom.cpp as reference: void M5Atom::begin(bool SerialEnable , bool I2CEnable , bool DisplayEnable ) { if( _isInited ) return; _isInited = true; if( I2CEnable ) { Wire.begin(25,21,10000); } Hope this helps. If not, feel free to post the full sketch. Good luck. Felix