BME280 Environmental Sensor
Copy Raspberry folder to your Raspberry Pi. You can copy it to the root of the TF card
which you use for your Raspberry Pi.
CONNECTION
1.
Enable I2C or SPI interface first
,
open configuration page with the command
:
sudo raspi-config
2.
Enable the interface separately.
- For SPI: Choose Interfacing Options-> SPI -> Yes
- For I2C (default): Choose Interfacing Options->I2C->Yes
3.
After configuring, reboot your Raspberry Pi
sudo reboot
4.
After rebooting, you can check if I2C or SPI module has been enabled with
command (If there are I2C or SPI information printed, modules are started):
lsmod