mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
update hardware nodes info style
This commit is contained in:
@@ -9,8 +9,7 @@ to read range from an SRF05 Ultrasonic range sensor.
|
||||
Install
|
||||
-------
|
||||
|
||||
Run the following command in the root directory of your Node-RED install.
|
||||
This is usually `~/.node-red`
|
||||
Run the following command in your Node-RED user directory - typically `~/.node-red`
|
||||
|
||||
npm install node-red-node-pisrf
|
||||
|
||||
@@ -19,12 +18,12 @@ Usage
|
||||
|
||||
Raspberry Pi input from an SRF04 or SRF05 ultrasonic range finder.
|
||||
|
||||
The configuartion requires two GPIO pin numbers, the trigger pin and the echo pin.
|
||||
The configuration requires two GPIO pin numbers, the trigger pin and the echo pin.
|
||||
These can be any spare valid Pi GPIO pins. e.g.
|
||||
|
||||
7,11
|
||||
|
||||
Outputs a <b>msg.payload</b> with a number representing the range in cm.
|
||||
Outputs a `msg.payload` with a number representing the range in cm.
|
||||
|
||||
Produces one measure every 0.5s - but only if the distance is different from the previous reading.
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "node-red-node-pisrf",
|
||||
"version" : "0.0.1",
|
||||
"version" : "0.0.2",
|
||||
"description" : "A Node-RED node for a Raspberry Pi to use a SRF04 or SRF05 range finder",
|
||||
"dependencies" : {
|
||||
},
|
||||
|
@@ -30,7 +30,7 @@
|
||||
|
||||
<script type="text/x-red" data-help-name="rpi-srf">
|
||||
<p>Raspberry Pi input from an SRF04 or SRF05 ultrasonic range finder.</p>
|
||||
<p>Outputs a <b>msg.payload</b> with a number representing the range in cm.</p>
|
||||
<p>Outputs a <code>msg.payload</code> with a number representing the range in cm.</p>
|
||||
<p>Produces one measure every 0.5s - but only if the distance is different from the previous reading.</p>
|
||||
<p><b>Note:</b> we are using the actual physical pin numbers on connector P1 as they are easier to locate.</p>
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user