# Using the Sharp IR distance sensor?

**URL:** <https://discourse.nodered.org/t/using-the-sharp-ir-distance-sensor/26203>\
**Category:** General\
**Created:** [7 May 2020 01:22 UTC](https://discourse.nodered.org/t/using-the-sharp-ir-distance-sensor/26203 "2020-05-07T01:22:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cmilian](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cmilian/32/21394_2.png) [@Cmilian](https://discourse.nodered.org/u/Cmilian)\
**Post date:** [7 May 2020 01:22 UTC](https://discourse.nodered.org/t/using-the-sharp-ir-distance-sensor/26203/1 "2020-05-07T01:22:16Z")

</div>

Does anyone have experience using the Sharp IR distance sensor? I am trying to get distance data from one thru a raspberry pi to display on a data field on the Blynk app.

New to Node Red. Any help will be most appreciated. 🙂

---

<div class="post-metadata">

**Author:** ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Post date:** [7 May 2020 03:16 UTC](https://discourse.nodered.org/t/using-the-sharp-ir-distance-sensor/26203/2 "2020-05-07T03:16:35Z")

</div>

Hello,  
Maybe someone else can give a better suggestion but I think, this way, described in the link, would be a good and flexible way. MQTT is a good choice, it is supported natively by Node-RED, it is used "everywhere" when connecting devices in computers and over networks. It also gives you freedom to easily share data to several consumers

Anyway, the concept is:

Sharp IR sensor -\> Cylon.js -\> MQTT ---------- MQTT -\> Node-RED

[https://www.rs-online.com/designspark/building-an-mqtt-enabled-application-with-cylon-js](https://www.rs-online.com/designspark/building-an-mqtt-enabled-application-with-cylon-js)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [6 July 2020 03:16 UTC](https://discourse.nodered.org/t/using-the-sharp-ir-distance-sensor/26203/3 "2020-07-06T03:16:39Z")

</div>

Closed on 6 July 2020 03:16 UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
