Hi @jmarcelino, wow you're right a reminder to always read exactly!! Thanks so far! Now I ran the program with the corrected PINs several times but I still have the issue that I get sensor readings just at a maximum one time per run. I am sure the Hc-sr04 has 5V as needed and the logic level converter should also not be an issue as both trigger, echo and ground are correctly connected to it. I annexed the Atom Output to this post after uploading the new program:
Running C:\Users\pmb\Desktop\Wipytest\wipysensortest.py
Distance 1 cm
Disconnected. Click here to reconnect.
Connecting on COM5...
Running C:\Users\pmb\Desktop\Wipytest\wipysensortest.py
Disconnected. Click here to reconnect.
Connecting on COM5...
Running C:\Users\pmb\Desktop\Wipytest\wipysensortest.py
Traceback (most recent call last):
File "<stdin>", line 34, in <module>
KeyboardInterrupt:
raw REPL; CTRL-B to exit
Disconnected. Click here to reconnect.
Connecting on COM5...
Running C:\Users\pmb\Desktop\Wipytest\wipysensortest.py
Running C:\Users\pmb\Desktop\Wipytest\wipysensortest.py
Distance 45 cm
Disconnected. Click here to reconnect.