Reading temperature, humidity, pressure from BME280 Sensor with Java, Pi4J, I2C, SPI, JBang
In this video, I will walk through the tutorial to read the temperature, pressure, and humidity from a BME280 sensor connected to a Raspberry Pi with Java code, the Pi4J library, and JBang. The full description, which is explained in this video, can be found on the Pi4J website: https://pi4j.com/examples/jbang/bme280_temperature_humidity_pressure/ Content: 00:00 Introduction 00:22 About JBang 01:00 About the BME280 sensor, the datasheet, and the demo code provided by Bosch 04:13 Boards by Adafruit and Sparkfun 05:18 Java code by Tom Aarts on Pi4J for the BMP280 and BME280 06:51 The JBang documentation on Pi4J 07:19 Enable I2C and SPI on the Raspberry Pi 07:58 Connecting the BME280 to the Raspberry Pi with I2C 08:36 Checking the I2C connection with i2cdetect 09:16 Connecting the BME280 to the Raspberry Pi with SPI 09:41 Taking a look at the Java code 13:08 Executing the application on the Raspberry Pi with JBang 15:25 Conclusion Other links in this video: * https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bme280-ds002.pdf * https://community.bosch-sensortec.com/t5/MEMS-sensors-forum/BME280-questions-can-you-explain-this-device-from-hardware-point/m-p/79672#M15268 * https://github.com/boschsensortec/BME280_driver/blob/master/bme280.c#L1247 * https://www.adafruit.com/product/2652 * https://www.sparkfun.com/products/13676 * https://pi4j.com/examples/communityimplementation/bmp280/ * https://github.com/Pi4J/pi4j-example-devices/tree/master/src/main/java/com/pi4j/devices/bme280
Download
0 formatsNo download links available.