2020-11-25 19:03:53 +00:00
|
|
|
# Introduction
|
2019-11-09 17:23:07 +00:00
|
|
|
|
2020-11-25 19:03:53 +00:00
|
|
|
This module will read sensors data periodically and
|
|
|
|
provide access to it via gRPC, while optionally publishing telemetry data into the cloud.
|
2019-11-24 13:26:24 +00:00
|
|
|
|
2020-11-25 19:03:53 +00:00
|
|
|
For installing see instructions from the Readme.md file located at the root directory.
|
2019-11-24 13:26:24 +00:00
|
|
|
|
2020-11-25 19:03:53 +00:00
|
|
|
# Wiring
|
2019-12-05 16:55:05 +00:00
|
|
|
|
2020-11-25 19:03:53 +00:00
|
|
|
_You may download the Fritzing diagrams from `Docs/fritzing/` in order to play with them._
|
|
|
|
|
|
|
|
Wire your sensor according to the following diagram:
|
2019-12-05 16:55:05 +00:00
|
|
|
|
|
|
|
![alt text](../Docs/images/nucucar.sensors_bb.jpg)
|
|
|
|
|
|
|
|
|
2019-11-24 13:26:24 +00:00
|
|
|
#### BME680
|
|
|
|
|
|
|
|
Connect the BME680 sensor to the I2C bus 1 (I2C.1) of the Raspberry Pi.
|
|
|
|
The address ` 0x76` will be used to communicate with the sensor.
|
|
|
|
|
2020-11-25 19:03:53 +00:00
|
|
|
Make sure I2C is enabled. Use `raspi-config`.
|
|
|
|
|
|
|
|
# Sensors
|
2019-11-24 13:26:24 +00:00
|
|
|
|
2020-11-25 19:03:53 +00:00
|
|
|
#### Environment Sensor
|
2019-11-09 13:34:49 +00:00
|
|
|
|
2020-11-25 19:03:53 +00:00
|
|
|
We use [BME680](https://www.bosch-sensortec.com/bst/products/all_products/bme680) environmental sensor from Bosh.
|
2019-11-09 13:34:49 +00:00
|
|
|
|
2019-11-09 14:54:06 +00:00
|
|
|
Sensor capabilities:
|
|
|
|
|
|
|
|
* Temperature
|
|
|
|
* Barometric Pressure
|
|
|
|
* Humidity
|
2020-02-02 14:24:13 +00:00
|
|
|
* VOC Gas (Gas Resistance)
|