Enviro+ not working; unable to find bme280

The Raspberry Pi is a series of credit card-sized single-board computers developed in the United Kingdom by the Raspberry Pi Foundation to promote the teaching of basic computer science in schools and developing countries.

Post Reply
User avatar
/RaspberryPi
Corporate
Posts: 2449
Joined: Wed Jun 05, 2019 1:29 am

Enviro+ not working; unable to find bme280

Post by /RaspberryPi »

I tried the pimoroni tutorial and this one.
https://www.eventsentry.com/blog/2022/0 ... r-110.html
https://learn.pimoroni.com/article/gett ... nviro-plus
i continually get this error message when trying an example :Traceback (most recent call last):
File "weather.py", line 28, in
temperature = bme280.get_temperature()
File "/home/pi/.local/lib/python2.7/site-packages/bme280/__init__.py", line 258, in get_temperature
self.update_sensor()
File "/home/pi/.local/lib/python2.7/site-packages/bme280/__init__.py", line 244, in update_sensor
self.setup()
File "/home/pi/.local/lib/python2.7/site-packages/bme280/__init__.py", line 224, in setup
raise RuntimeError("Unable to find bme280 on 0x{:02x}, IOError".format(self._i2c_addr))
RuntimeError: Unable to find bme280 on 0x76, IOError

I've been working on this for 5 hours and can't get it to even light up. I'm loosing it pls help.

submitted by /u/werewolfgy
[link] [comments]

More...
Post Reply

Return to “Raspberry Pi Forum”