2. VERWENDUNG MIT DEM RASPBERRY PI
1. Anschluss
2.Installation
Zunächst müssen Sie git auf Ihrem Raspberry Pi installieren, dies
funktioniert mit dem folgenden Befehl:
sudo apt-get install git
Nun können Sie wie folgt die benötigte Bibliothek für den Sensor
herunterladen:
git clone https://github.com/adafruit/Adafruit_CircuitPython_BMP280.git
Nun führen Sie diesen Befehl zum Installieren der Bibliothek aus:
sudo pip3 install adafruit-circuitpython-bmp280
Sie benötigen auch diese weitere Bibliothek:
git clone https://github.com/adafruit/Adafruit_CircuitPython_Bundle.git
Raspberry Pi
(Pin 1, Pin 17)
GND
SCL
SDA
www.joy-it.net
Pascalstr. 8 47506 Neukirchen-Vluyn
KY052
3.3 V
VCC, SDO, CSB
GND
(Pin 6)
SCL
(Pin 5)
SDA
(Pin 3)