Skip to content

Temperature, Humidity, Pressure Sensor BME280 - i2C on RPi Pico via USB

License

Notifications You must be signed in to change notification settings

darton/BME280USB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BME280USB

  • Temperature, Humidity, Pressure Sensor BME280 on RPi Pico

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.

  • Wiring diagram

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.

B.o.M - Bill of Materials

About

Temperature, Humidity, Pressure Sensor BME280 - i2C on RPi Pico via USB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages