hc sr04 with 1 wire for trigger and echo?

Maybe the "one pin" method uses timers - NewPing doesn't support timer use with non-AVR controllers. Seems unlikely that is the problem.

Suggest asking the moderators to lock this thread and posting your question here:

https://forum.arduino.cc/index.php?topic=106043.0

The author of NewPing seems to monitor that thread.