Welcome to the Robolink Community forum!
Programming: Ultrasonic Sensor
I've ran the cod from learn robolink ultrasonic sensor and the output from from the serial monitor is posted below
During the output my hand moving away and towards the sensor with no effect. I also noticed that output is slow so I've included the timestamps.
Is there anyway to test if the ultrasonic sensor is defective? How can I test is the board is behaving correctly?
None of the other tutorials in the Programming and Mouse section from learn.robolink.com have had any issues.
Wiring shown below matches the link.
robolink_arnold last edited by
So it seems like some of the connections are incorrect
please check out the pins echo and trig are connected in the following image
they should be connected to 2 pins below the ones you have
Let me know if that resolves your issue.