Navigation

    Robolink logo
    • Register
    • Login
    • Search
    • [[global:header.categories]]
    • [[global:header.recent]]
    • [[global:header.tags]]
    • [[global:header.popular]]
    • [[global:header.users]]
    • [[global:header.groups]]
    As of September 2021, we have moved technical support to Robolink Help

    Welcome to the Robolink Community forum!

    You can post here to interact with others in the Robolink community. We're checking it weekly, and we'll respond to some messages. If you're looking for technical support, head over to Robolink Help.

    Programming: Ultrasonic Sensor

    Rokit Smart Troubleshooting
    2
    2
    270
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      msimon last edited by

      I've ran the cod from learn robolink ultrasonic sensor and the output from from the serial monitor is posted below

      0_1623103737598_cdcee287-358c-40ea-9af2-6276475fb80a-image.png

      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.

      0_1623104449747_111e2516-eec9-49c3-a947-36fe1d26733e-image.png

      0_1623104473089_4df592f1-6fe1-40b3-96bb-e54fd7757004-image.png

      1 Reply Last reply Reply Quote 0
      • robolink_arnold
        robolink_arnold last edited by

        Hello @msimon
        So it seems like some of the connections are incorrect
        please check out the pins echo and trig are connected in the following image
        0_1623274101715_4b87b58a-12bf-4548-ba23-565a2e5b2585-image.png
        they should be connected to 2 pins below the ones you have
        0_1623274298799_662315ba-5621-49ec-8d4e-a18274752ebc-image.png

        Let me know if that resolves your issue.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post