Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Need a driver class for HC-SR04 distance sensors #5

Open
2bndy5 opened this issue Oct 6, 2019 · 1 comment
Open

Need a driver class for HC-SR04 distance sensors #5

2bndy5 opened this issue Oct 6, 2019 · 1 comment

Comments

@2bndy5
Copy link
Member

2bndy5 commented Oct 6, 2019

Our original testing used the GPIOzero library's driver class for these cheap distance sensors. Results were reliable, but not well developed. We could be using 1 pin instead of 2 to trigger and ultrasonic pulse and then wait for the echo to calculate distance based on the speed of sound.

@2bndy5
Copy link
Member Author

2bndy5 commented Oct 6, 2019

This adafruit-circuitpython-hc-sr04 library looks like a good start, but it doesn't have the one wire feature (yet) that the NewPing library for Arduino has.

@2bndy5 2bndy5 transferred this issue from DVC-Viking-Robotics/webapp Oct 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant