Hi Both!
I think the sensor Enriko use is this model:
https://www.aliexpress.com/item/1005005 ... ainProduct
@martin. I remember from a previus test that the Trig duration for the HCR04 is 10uS, for the waterproof model it work with duration on 20uS
I have played with both model and if I change the trig duration to 20uS for the waterproof model, and it work, the att, testprogram I think it is yours tesprogram Martin, For loong time ago, when I played with it, I change the device to an Arduino Mega, change the trigtiming to 20uS. Futhermore in this waterproof device is more setting for communication.
Here is a very good explanation here by Droonebot:
https://dronebotworkshop.com/waterproof-ultrasonic/
Maybe an idea to update the component for HC-SR04 and inplement more features in the component for more different kind of type in your component so it (as always from you) would be more flexibel
****By the way Martin, have you seen this:
viewtopic.php?f=3&t=2091&start=10 at the end

*****
Hope it´s ok I interfered
Br jorgen