Comments (7)
Ths is the Library the unit uses: https://github.com/Seeed-Studio/Seeed_Arduino_UltrasonicRanger
from ultrasonic.
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.
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.
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.
@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.
Hi Erick
I can confim 2.1.0 works perfectly using the example code in the library.
Ben
from ultrasonic.
Hi Erick
Did your sensor arrive in the post or still on the way?
Ben
from ultrasonic.
Related Issues (20)
- Change the distanceRead() method to receive the divisor
- Minor fixes in the documentation for the sample file
- Fix library description in .h and .cpp documentation
- Ultrasonic Android on Madsonic Server HOT 3
- Create examples using timeouts
- No longer use the 'pulseIn()' method HOT 1
- Add WProgram.h to .h
- Simplify the name of the distance read method to 'read()'
- An update is needed for example code of this library in PlatformIO extension of VS Code HOT 4
- HC-SR04 Ultrasonic 3 Pin mode does not seem to be working nodemcu
- An Arduino simulation page for the Ultrasonic library! HOT 2
- Time the distance calculation is based on HOT 2
- Translate README to PT-BR
- Translate README to ES HOT 2
- Add in README.md link to README_pt-br.md
- Add in README_pt-br.md link to README.md
- Update README_pt-br.md with simulation references
- Update documentation comments with shorter texts
- Delay(30) is a little too much
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ultrasonic.