If you want to use BME280 sensor on long cable, copy two files bme280_float.py and main.py to RPi Pico.
Connect the BME280 sensor to the i2C RPi Pico port using wiring diagram below.
RPi Pico [GP22 Pin 29] -- [VCC] BME280
RPi Pico [GP16 Pin 21] -- [SDA] BME280
RPi Pico [GP17 Pin 22] -- [SDC] BME280
RPi Pico [3v3 Pin 36] -- [CS] BME280
RPi Pico [GND Pin 38] -- [GND] BME280
Connect PC with the RPi Pico together with the USB cable.
BME280 [i2c] <-- 4 wire cable --> [i2C] Raspberry Pi Pico [USB] <-- USB cable --> PC [USB]
Select proper serial port number in terminal configuration or use bme280usb_gui.py to show measured values in the pop-up window under Windows, Linux or MacOS.
- BME280 - 1 pcs
- Raspberry Pico - 1 pcs
- RPi Pico and Sensor Case - 1 pcs
- MicroUSB B-A cable - 1 pcs