-
Notifications
You must be signed in to change notification settings - Fork 0
How to launch sensors
Melvin Campos Casares edited this page Jun 22, 2021
·
2 revisions
Once the Raspberry Pi has started and you're connected via VNC Viewer or TeamViewer, launch Konsole to access Linux/Raspbian terminal.
- Go to the right folder:
cd Git/tfe-PiSense/sensors/
, - Launch BME680/BME280/BMP280 code according to the sensor connected on PiSense.
Here's with the BME680 sensor:
sudo python3 bme680/bme680sensor.py
- Open a new tab in Konsole: New Tab (Ctrl+Shift+T) > Fish (F),
- Launch SDS011 code if the sensor is connected on PiSense:
sudo python sds011/sds011sensor.py
.
That's it!
If you want to automatically launch both BME680 and SDS011 sensor, a small script is available and runnable inside root folder.
- BME680 + SDS011 launcher:
pi_bme680-sds011launcher.sh
- BME280 + SDS011 launcher:
pi_bme280-sds011launcher.sh
- BMP280 + SDS011 launcher:
pi_bmp280-sds011launcher.sh