Giter VIP home page Giter VIP logo

Comments (7)

benpaddlejones avatar benpaddlejones commented on May 29, 2024

Ths is the Library the unit uses: https://github.com/Seeed-Studio/Seeed_Arduino_UltrasonicRanger

from ultrasonic.

ErickSimoes avatar ErickSimoes commented on May 29, 2024

Hello, @benpaddlejones!

Thank you very much for sharing this issue.

Could you give me a link to the sensor you are using? If that's what I'm thinking, unfortunately I don't have any here with me to test.

However, Seed itself provides a library for ultrasound that uses a strategy to measure distance very similar to this one.
Could you try this library and tell me if the sensor is behaving correctly with it?

Thank you very much!

from ultrasonic.

benpaddlejones avatar benpaddlejones commented on May 29, 2024

Hi Erick
Sensor is version 2.0 listed in the Seead documentation here: https://wiki.seeedstudio.com/Grove-Ultrasonic_Ranger/

Yes it works perfectly with the Seead library (same link you shared) and sample code provided in the documentation.

Happy to help with any testing my end.

Be great if you can solve as I would rather just use one library for both our schools Seead Grove ultrasonic senors and generic 4 pin ultrasonic senors.

Ben

from ultrasonic.

ErickSimoes avatar ErickSimoes commented on May 29, 2024

Great, Ben!

This week I'm going to see if I can get one of these sensors in the lab where I work, but I already bought one of these and now I'm going to wait for it to arrive to do the necessary tests and adjustments (it may take a while due to the delivery time here to Brazil).

As soon as I update it, I'll let you know here.

Thanks!

from ultrasonic.

ErickSimoes avatar ErickSimoes commented on May 29, 2024

@benpaddlejones, would you be able to test version 2.1.0 of the library?

I think the addition of a delay() could be causing this issue you are experiencing.

from ultrasonic.

benpaddlejones avatar benpaddlejones commented on May 29, 2024

Hi Erick
I can confim 2.1.0 works perfectly using the example code in the library.
Ben

from ultrasonic.

benpaddlejones avatar benpaddlejones commented on May 29, 2024

Hi Erick
Did your sensor arrive in the post or still on the way?
Ben

from ultrasonic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.