# Speed of sensors and node-red platform

**URL:** <https://discourse.nodered.org/t/speed-of-sensors-and-node-red-platform/18559>\
**Category:** General\
**Created:** [28 November 2019 15:44 UTC](https://discourse.nodered.org/t/speed-of-sensors-and-node-red-platform/18559 "2019-11-28T15:44:37Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![bmeester](https://avatars.discourse-cdn.com/v4/letter/b/f08c70/32.png) [@bmeester](https://discourse.nodered.org/u/bmeester)\
**Post date:** [12 December 2019 13:05 UTC](https://discourse.nodered.org/t/speed-of-sensors-and-node-red-platform/18559/22 "2019-12-12T13:05:15Z")

</div>

Can you tell me how you did this? I have a HC-SR04 I use it with PI SRF.

---

<div class="post-metadata">

**Author:** ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Post date:** [12 December 2019 13:56 UTC](https://discourse.nodered.org/t/speed-of-sensors-and-node-red-platform/18559/23 "2019-12-12T13:56:10Z")

</div>

You might find this tutorial (I wrote for my IoT students) helpful.

> [@Ultrasonic distance sensor + OLED panel](https://discourse.nodered.org/t/ultrasonic-distance-sensor-oled-panel/4177):
>
> [Ultrasonic\_distance\_sensor](http://resources-area.co.uk/node-red-flows/ultrasonic_distance_sensor.pdf)[Link to YouTube video about SRF05, etc...](https://www.youtube.com/watch?v=aLkkAsrSibo)[Organic Light Emitting Diode panel](http://resources-area.co.uk/node-red-flows/oled_panel_v5.pdf) I've just finished writing an instruction sheet for my IoT students on creating an ultrasonic distance sensor using the SRF05 device. Please note the SRF05 works off of +5v and ground, and needs a level shifter to convert WeMos signal levels to/from the device. DO NOT connect the 'Echo Output' signal directly to the WeMos - you must use a level shifter. Note: There are details about leve…

One thing to note is the HC-SR04 and -SR05 are powered from +5v.  
This means you will need a level shifter (details are in the tutorial) if you plan to use it with a RPi or ESP8266 - otherwise you will probably destroy the Pi or the microcontroller !!!!!!

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [12 December 2019 15:51 UTC](https://discourse.nodered.org/t/speed-of-sensors-and-node-red-platform/18559/24 "2019-12-12T15:51:02Z")

</div>

I think it would be better to just see if we can get a proper node to be fast enough for you

On my Pi4 - using the node-red-contrib-grovepi I can get 5 readings a second

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/4/44b3736b7d24c968afb8f3d190c185edfa7bbd83.png)

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/5/5486a3bb56917a17962884d10f3046b2d5bb0190.png)

Note: It is possible to get more readings / second but it requires manual editing of a node file.  
But hopefully 5 readings / second will be OK for you

[Previous page](https://discourse.nodered.org/t/speed-of-sensors-and-node-red-platform/18559.md?page=1)
