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 - วิทยาศาสตร์และเทคโนโลยี
Very good presentation! Thank you.
Cheers!
I will check it out today
Great, please subscribe if you can as well buddy!
hi bro! can you help me ? i have problem with library.
We talked on Instagram, you made good progress
Nice! I struggled with matplotlib realtime plots - like your solution . Thanks for your content, always learn something.
I am very happy to hear you are learning on the channel, makes it more worth the effort!
thanks it is working!
Thanks for watching hope you subscribe!
@@mmshilleh done sir🤌🏽
pi pico with TPM ?
Never heard of "TPM" please explain perhaps?
@@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.
I followed your steps but im getting an error when running the code. No module named smbus2
Any ideas?
Have you tried: pip install smbus2
In your terminal on the Pi?
Yes, “requirement already satisfied “
I soldered up another sensor and same result, I disconnected the sensor and get same result. Maybe the sensors are all faulty?
@@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?
@@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.