In fact, the underlying procedure is mostly the same even when you’re on an ESP32 board. Once you’ve connected the BME280 (or another similar sensor) to the correct GPIO pins on your ESP32 ...