• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

How to manage BME280 package?

Q&A Forum › Category: Raspberry Pi › How to manage BME280 package?
0 Vote Up Vote Down
Cesare Vassallo asked 1 year ago

In module 5 of your PiPico book 
import BME280
Thommy answer is:
ImportError: no module named ‘BME280’
 
if Iinstall package bme280 and change to;
Thommy answer is;
An error occurred: ‘module’ object has no attribute ‘bme280’
 

6 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

Hi.
Did you follow the instructions on page 204, 205, and 206?
Regards,
sara

0 Vote Up Vote Down
Cesare Vassallo answered 1 year ago

Sorry no

0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

You need to follow those instructions to properly install the library.
Regards,
Sara

0 Vote Up Vote Down
Cesare Vassallo answered 1 year ago

Very sorry!
instructions followed,
from finding I2c address is 0x77
but calling for temp
now I get
“An error occurred: [Errno 5] EIO”
wichever address i put
regards
 

0 Vote Up Vote Down
Cesare Vassallo answered 1 year ago

Hi Sara,
my sensor was a bme680 NOT bme280!!
Now everithing OK
Thanks for your patient reply
Regards Cesare

0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

Great.
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.