# I need help with the Ping (ultra sonic node)

**URL:** <https://forum.xod.io/t/i-need-help-with-the-ping-ultra-sonic-node/5223>\
**Category:** XOD Programming Questions\
**Created:** [May 30, 2021, 9:52pm UTC](https://forum.xod.io/t/i-need-help-with-the-ping-ultra-sonic-node/5223 "2021-05-30T21:52:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep-505-pro](https://avatars.discourse-cdn.com/v4/letter/d/5fc32e/32.png) [@dubstep-505-pro](https://forum.xod.io/u/dubstep-505-pro)\
**Post date:** [May 30, 2021, 9:52pm UTC](https://forum.xod.io/t/i-need-help-with-the-ping-ultra-sonic-node/5223/1 "2021-05-30T21:52:12Z")

</div>

How do I tell how far some thing is away from the ultra sonic sensor? To tell when the pump should turn on to full the cup? (I am VERRY new to XOD so sorry if this is a silly Question)

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [June 1, 2021, 2:17pm UTC](https://forum.xod.io/t/i-need-help-with-the-ping-ultra-sonic-node/5223/2 "2021-06-01T14:17:41Z")

</div>

There is example code under xod-dev/hc-sr04 if your sensor is compatible with that.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/eb7348baa04192c2ef932d1db54d44f09f8a7888.png) [@system](https://forum.xod.io/u/system)\
**Post date:** [July 1, 2021, 2:18pm UTC](https://forum.xod.io/t/i-need-help-with-the-ping-ultra-sonic-node/5223/3 "2021-07-01T14:18:25Z")

</div>

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