0

I stumbled upon some old tutorials and bought the BMP180 sensor to use with my Pi 4. However, there is a new model and the repository containing functions to use the sensor with the Pi is deprecated and archived. When I download the repo and run sudo python setup.py install to install the functions, it seems it doesn't find what it's searching for.

Is there a beginner-friendly way to get this pressure sensor work?

Manuel Popp
  • 181
  • 2
  • 11

2 Answers2

3

A couple of thoughts:

  1. The repo you used is stale, and abandoned by its author - that may be a problem. Try to find another repo that's more frequently used and maintained - this one might be better, and it comes with some decent instructions.

  2. Did you remember to enable your I2C interface?

Seamus
  • 23,558
  • 5
  • 42
  • 83
0

There should be dozens of Python modules for that device. I suggest googling for "Python BMP180 Raspberry Pi".

I think the BME280 is compatible.

See my BME280 software example.

joan
  • 71,852
  • 5
  • 76
  • 108