# How to add NewPing.h libary on Particle cloud ide?

**URL:** <https://community.particle.io/t/how-to-add-newping-h-libary-on-particle-cloud-ide/31140>\
**Category:** Troubleshooting\
**Created:** [March 30, 2017, 10:19pm UTC](https://community.particle.io/t/how-to-add-newping-h-libary-on-particle-cloud-ide/31140 "2017-03-30T22:19:01Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![adamg](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@adamg](https://community.particle.io/u/adamg)\
**Post date:** [March 31, 2017, 3:28am UTC](https://community.particle.io/t/how-to-add-newping-h-libary-on-particle-cloud-ide/31140/4 "2017-03-31T03:28:54Z")

</div>

With the help of ScruffR I was able to get the NewPing library to work great.

See the thread below:

> [@NewPing library porting for DYP-ME007Y Ultrasonic Sensor](https://community.particle.io/t/newping-library-porting-for-dyp-me007y-ultrasonic-sensor/28002):
>
> Hello, I was wondering if anyone has had success with porting NewPing library on a Particle device? I am looking to interface to a DYP-ME007Y Ultrasonic Sensor. I have had good success using the NewPing library with the DYP-ME007Y with the Arduino family of boards. I am familiar with the HC-SR04 library for Particle devices, however I would like to use DYP-ME007Y sensor because the ultrasonic transmitter/receiver element is waterproof and can mounted away from the board. Below is a link for…

Let me know how it works out

---

_[View the full topic](https://community.particle.io/t/how-to-add-newping-h-libary-on-particle-cloud-ide/31140)._
