Beginner Tutorial: How to Connect Raspberry Pi and BME280 for Pressure, Temperature, and Humidity

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 มิ.ย. 2024
  • Learn how to get values from the BME280 sensor on the Raspberry Pi, in this video we use a Raspberry Pi 4b model.
    Please consider donating if you like our content:
    www.buymeacoffee.com/mmshilleh
    You can buy the BME280 sensor at ShillehTek pre-soldered:
    www.amazon.com/dp/B0BQFV883T?...
    Other BME280 Videos from ShillehTek
    How to use BME280 with the Pico:
    • How to Connect the BME...
    How to use BME280 on the ESP32:
    • How to Connect BMP-280...
    How to use BME280 with Arduino Nano:
    • How to Measure Tempera...
    How to use BME280 with Xiao RP2040:
    • Connect BME280 to Seee...
    How does the BME280 work?
    • How the BME280 Works |...
    Code for this video:
    github.com/shillehbean/youtub...
    TIMESTAMPS:
    00:00 Intro
    00:10 Physical Setup
    01:33 Code Setup
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 21

  • @mattkojetin8198
    @mattkojetin8198 6 หลายเดือนก่อน +1

    Very good presentation! Thank you.

    • @mmshilleh
      @mmshilleh  6 หลายเดือนก่อน

      Cheers!

  • @yakubumshelia1668
    @yakubumshelia1668 4 หลายเดือนก่อน +1

    I will check it out today

    • @mmshilleh
      @mmshilleh  4 หลายเดือนก่อน

      Great, please subscribe if you can as well buddy!

  • @robertgawlak8700
    @robertgawlak8700 หลายเดือนก่อน +1

    hi bro! can you help me ? i have problem with library.

    • @mmshilleh
      @mmshilleh  หลายเดือนก่อน

      We talked on Instagram, you made good progress

  • @quaternion-pi
    @quaternion-pi 6 หลายเดือนก่อน +1

    Nice! I struggled with matplotlib realtime plots - like your solution . Thanks for your content, always learn something.

    • @mmshilleh
      @mmshilleh  6 หลายเดือนก่อน

      I am very happy to hear you are learning on the channel, makes it more worth the effort!

  • @cr4f7y
    @cr4f7y 3 หลายเดือนก่อน +1

    thanks it is working!

    • @mmshilleh
      @mmshilleh  3 หลายเดือนก่อน

      Thanks for watching hope you subscribe!

    • @cr4f7y
      @cr4f7y 3 หลายเดือนก่อน

      @@mmshilleh done sir🤌🏽

  • @cybermascot
    @cybermascot 6 หลายเดือนก่อน +1

    pi pico with TPM ?

    • @mmshilleh
      @mmshilleh  6 หลายเดือนก่อน

      Never heard of "TPM" please explain perhaps?

    • @cybermascot
      @cybermascot 6 หลายเดือนก่อน

      @@mmshilleh Trusted Platform Module (TPM) technology is designed to provide hardware-based, security-related functions. A TPM chip is a secure crypto-processor that is designed to carry out cryptographic operations. I learned lot from your videos. Excellent videos.

  • @robertpyle87
    @robertpyle87 5 หลายเดือนก่อน

    I followed your steps but im getting an error when running the code. No module named smbus2
    Any ideas?

    • @mmshilleh
      @mmshilleh  5 หลายเดือนก่อน

      Have you tried: pip install smbus2
      In your terminal on the Pi?

    • @robertpyle87
      @robertpyle87 5 หลายเดือนก่อน +1

      Yes, “requirement already satisfied “

    • @robertpyle87
      @robertpyle87 5 หลายเดือนก่อน +1

      I soldered up another sensor and same result, I disconnected the sensor and get same result. Maybe the sensors are all faulty?

    • @mmshilleh
      @mmshilleh  5 หลายเดือนก่อน

      @@robertpyle87 I see sounds like a Python environment issue perhaps. Hard to tell if I do not have access to your Pi. What version of Python are you using? Are you sure you do not have two Python versions on your computer? Some questions I would look into. Maybe try running the code in terminal rather than an editor and see?

    • @setsu2221
      @setsu2221 หลายเดือนก่อน

      @@robertpyle87 I would not jump to that conclusion prior to testing it on other modules and perhaps having another person testing it. "No module named..." is almost always an environment issue, from my own experience.