-
Notifications
You must be signed in to change notification settings - Fork 595
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add field to set different trigger pulse time #995
Comments
can you try editing line 32 of file nrsrf.py
to see if indeed it does stabilise things for you ? |
Just tried it out: with 20uS: 137.7, 138.0, 137.5, 139.4, 136.8, 136.6, 138.3, 138.9, 137.4, 138.7, 140.7, 139.2, 234.2 Tried it also with 25uS but the measurement were far worse somehow. Unsure if this also is a problem of an unstable 5V connection on my side.
|
So both the std deviation and variance are worse with 20 uS ? Not sure that is a good argument for a change to be honest. I can't see "numerous erroneous readings" so I'm not sure what real benefit we would be giving the user. |
I totally understand what you mean. Still I think that my measurements and my use case are not the ideal values to compare these different trigger timings. |
The JSN-SR04T uses a different trigger pulse time (20uS) than the als HC-SR04 (I guess 10uS ?!).
Could you please let the user adjust the trigger pulse time in the node-red PI-SRF node?
Which node are you reporting an issue on?
node-red-node-pisrf
What are the steps to reproduce?
What happens?
Measurement seems to be unstable.
The documentation of the JSN-SR04T says that the trigger time set to 20uS could stabilize that:
https://protosupplies.com/product/jsn-sr04t-v3-0-waterproof-ultrasonic-range-finder/
What do you expect to happen?
Better, stable measures
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: