Problems reading distance with ping sensor
FranciscoTavares
Posts: 27
I´m using a educational board with a bs2 and a ping sensor.
I downloaded and modified an example and it worked fine. Boe-bot was able to measure distances about 30 cm and navigated through obstacles.
Suddenly it stoped working and I had to modify the sw for distances about 14 cm.
Boe-bot now navigates choosing paths that don´t have obstacles around 14 cm. Initially this distance was 30 cm.
My batteries are new ones. I create a simple sw just to show the distances without moving the ping sensor. It is able to measure any distance smaller than 14 cm but not beyound this value.
I believe that my sensor is defective.
Did anyone have a problem like this before?
I downloaded and modified an example and it worked fine. Boe-bot was able to measure distances about 30 cm and navigated through obstacles.
Suddenly it stoped working and I had to modify the sw for distances about 14 cm.
Boe-bot now navigates choosing paths that don´t have obstacles around 14 cm. Initially this distance was 30 cm.
My batteries are new ones. I create a simple sw just to show the distances without moving the ping sensor. It is able to measure any distance smaller than 14 cm but not beyound this value.
I believe that my sensor is defective.
Did anyone have a problem like this before?
Comments
I sure that my sensor is damaged as well.