@xfpd I checked twice my wiring, seems to be all right. bought new wires and all
@Paul_KD7HB it has a little red led blinking really fast. Also the sensor make this soft click very fast that i understand is how it works but keeps showing distance 0 no matter what i point
i made a video so you can check that should be working right: Imgur: The magic of the Internet
(sorry for the mess, have a really hard weeks)
EDIT: in the video i'm now using 11 / 10 for Tx/Rx
@jim-p image 1 was just a scheme and i was really careful to not switch vcc and ground, i know i can burn things that way. But if you not see anything wrong besides im gonna try with another sensor i have. But i want to know if the led should get seady, should blink, the sensor shoudl make this clip sound fast.
I found a solution. This is a cheap clone module from Ali. I have exactly the same one. To get this to work I experimented with delay. The default value in the usage examples is 10us. So... my sensor works fine at 250us. It detects walls and monitor very well, but soft objects such as people's bodies detects sometimes. It does not detect carpeted floors at all. My working code: