-
The distance sensor is not reliable unless it’s facing a flat surface. Is there a way to narrow the sound cone using config parameters to make it a bit more reliable for specific usecases? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is because of the laws of physics. Even industrial ultrasonic sensors have this problem. If the sound waves are not reflected directly back to the sensor, then the signal is too weak and a measurement cannot be made.
The only configuration is a "fast" sensing mode (specs), but this only changes the time that the sensor waits to hear the echo. In our tests, we didn't get good results with this mode, so we did not use it in Pybricks (although it should be possible to use this mode using the PUPDevice class). |
Beta Was this translation helpful? Give feedback.
This is because of the laws of physics. Even industrial ultrasonic sensors have this problem. If the sound waves are not reflected directly back to the sensor, then the signal is too weak and a measurement cannot be made.
The only configuration is a "fast" sensing mode (specs), but this only changes the time that the sensor waits to hear the echo. In our tests, we didn't get good results with this mode, so we did not use it in Pybricks (although it should be possible to use this mode using the PUPDe…