Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bme280 #14

Closed
Johnalanj opened this issue Feb 1, 2021 · 1 comment
Closed

bme280 #14

Johnalanj opened this issue Feb 1, 2021 · 1 comment

Comments

@Johnalanj
Copy link

Johnalanj commented Feb 1, 2021

please could somone guide me though the procedure on running the python programm all-values.py from the sample programs
bit new to the pi and what sudo etc amd what program i use to run to work the bme280

help gladly taken

@Gadgetoid
Copy link
Member

I know I'm probably a day late and a dollar short here, but for anyone else who finds themselves here. These are rough instructions for a Pi 4/5:

Enable i2c:

sudo raspi-config nonint do_i2c 0

Check if i2c enabled and device connected:

sudo i2cdetect -y 1

(Should see 0x76 or 0x77 in the list of devices.)

Clone this repository:

git clone https://github.com/pimoroni/bme280-python

Use the installer script:

cd bme280-python
./install.sh

Answer "Y" to copy examples, then:

cd ~/Pimoroni/pimoroni-bme280
python3 all-values.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants