Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
python-mqtt-gpio
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Alexander Wellbrock
python-mqtt-gpio
Commits
848a905b
Unverified
Commit
848a905b
authored
5 years ago
by
Thomas
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
Description for new added sensor HC-SR04 (ultrasonic distance sensor)
parent
671fc1e3
Branches
kegan/alias-settings
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+15
-2
15 additions, 2 deletions
README.md
with
15 additions
and
2 deletions
README.md
+
15
−
2
View file @
848a905b
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment