GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - MichaelNeys/BME280-python: Temperature, humidity, and pressure tracking using the Raspberry Pi Pico W.

BranchesTags
Open more actions menu

Latest commit

 

History

27 Commits
27 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
BME280_bb2.png
BME280_bb2.png
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
bme280.py
bme280.py
 
 
config.json
config.json
 
 
main.py
main.py
 
 

Repository files navigation

Bosch BME280 sensor

Temperature, humidity and pressure measurement using Python on a Raspberry Pi Pico W with I2C on the Bosch BME280 and sending its data to an MQTT server.

Cabling

Raspberry Pi Pico W pin configuration

  • I2C0 SDA (pin 1) on SDA
  • I2C0 SCL (pin 2) on SCL
  • 3V3(OUT) (pin 36) on VIN
  • GND (pin 38) on GND

Config

WiFi

  • SSID - your WiFi network name
  • PASSWD - your WiFi network password

MQTT

  • MQTT_BROKER - MQTT broker ip-address
  • MQTT_USERNAME - MQTT username
  • MQTT_PASSWORD - MQTT password
  • MQTT_CLIENT_ID - MQTT client ID
  • TOPIC_DIRECTORY - topic directory to publish to

update interval

  • time - time in seconds between updates

Flashing

  • copy both python files to the root folder of the Raspberry Pi Pico W
    • main.py
    • bme280.py
  • copy config.json after filling in required information

About

Temperature, humidity, and pressure tracking using the Raspberry Pi Pico W.

michaelneys.be/projects/bme280

Topics

bme280bme280-sensorbme280driverboschbosch-sensorhumidity-sensormicropythonpressure-sensorraspberry-pi-picotemperature-sensor

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.