Skip to content
Snippets Groups Projects
Unverified Commit 848a905b authored by Thomas's avatar Thomas Committed by GitHub
Browse files

Update README.md

Description for new added sensor HC-SR04 (ultrasonic distance sensor)
parent 671fc1e3
Branches kegan/alias-settings
Tags
No related merge requests found
......@@ -21,6 +21,7 @@ Sensors
- DHT11 DHT22 AM2302 temperature/humidity sensor (`dht22`)
- BH1750 light level sensor (`bh1750`)
- DS18S20, DS1822, DS18B20, DS1825, DS28EA00, MAX31850K one-wire temperature sensors: (`ds18b`)
- HC-SR04 ultrasonic distance sensor
Installation
------------
......@@ -118,7 +119,6 @@ sensor_inputs:
interval: 15 #interval in seconds, that a value is read from the sensor and a update is published
digits: 4 # number of digits to be round
sensor_modules:
- name: dht22
module: dht22
......@@ -161,6 +161,19 @@ sensor_inputs:
module: ds18b22
interval: 60
digits: 2
sensor_modules:
- name: hcsr04
module: hcsr04
pin_echo: 27
pin_trigger: 17
burst: 10 # number of measurements for output of distance value in [cm]
sensor_inputs:
- name: distance
module: hcsr04
interval: 10 # measurement every 10s
digits: 1
```
### OrangePi boards
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment