GithubHelp home page GithubHelp logo

pistolario / bme280_breakout Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sbcshop/bme280_breakout

0.0 0.0 0.0 5.62 MB

The BME280 is a popular sensor module that combines temperature, humidity, and barometric pressure measurements in a single package. For a variety of uses, including interior and outdoor navigation, weather forecasting, home automation, and personal health monitoring, it offers precise readings.

License: MIT License

bme280_breakout's Introduction

BME280_Breakout

The BME280 is a popular sensor module that combines temperature, humidity, and barometric pressure measurements in a single package. For a variety of uses, including interior and outdoor navigation, weather forecasting, home automation, and personal health monitoring, it offers precise readings.

Its compact size, low power consumption, and reliable performance make it a popular choice among developers and hobbyists. It is simple to incorporate into your designs and takes up little room because to its tiny form factor and integrated header.

It features headers with pins spaced at 0.1", making it easy to attach to a breadboard for quick and convenient prototyping.

With its 3.3V compatibility and I2C interface, you can easily incorporate it into your projects with popular platforms like ESP32, RPi Pico, Raspberry Pi, Rock Pi, and other 3.3V compatible boards. This flexibility allows you to harness the power of the BME280 Breakout alongside your preferred microcontrollers, enabling precise measurements of barometric pressure, humidity, and temperature.

Pinouts:

  1. Pitch 0.1โ€ Header Breakout
  2. BME280 sensor

Interfacing with RPi Pico/Pico W

Step 1: Download Thonny IDE from link as per your OS and install it.

Step 2: Connect Pico with BME280 breakout as shown below.

Interfacing Pins:

Pico Pins BME280 Breakout Function
3.3V 3.3V Power supply for module
GPIO21 SCL Serial Clock pin for I2C interfacing
GPIO20 SDA Serial Data pin for I2C interfacing
GND GND Ground pin

Step 3: Download code files from examples folder, you will find bme280.py library and BME280_Pico_demo.py

Step 4: Open both files in Thonny IDE, Connect Pico to laptop/PC and select device with suitable com port,

Now Transfer the library file to RPi Pico

With demo code open in Thonny Ide click on green button to run demo code

To run standalone transfer demo code file as main.py inside Pico as shown below

Interfacing with Raspberry Pi

Interfacing Pins:

Raspberry Pi Pins BME280 Breakout Function
3.3V 3.3V Positive supply for module
GPIO3 SCL Serial Clock pin for I2C interfacing
GPIO2 SDA Serial Data pin for I2C interfacing
GND GND Ground pin

Step 3: Download code files BME280_Pidemo.py from examples.

Step 4: Run file using python IDE or Terminal as shown below

Python IDE

OR Terminal

Repository Contents:

Related Products

Product License

This is open source product. Kindly check LICENSE.md file for more information.

Please contact [email protected] for technical support.

bme280_breakout's People

Contributors

sbcshop3 avatar sbcshop avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.