Ultrasonic Sensors for use with my Octosonar and OctosonarX2 boardsSold By Red Hunter, Ships from United States of America
What is it? The HC-SR04 is a commonly available low cost ultrasonic range sensor. It is dumber than some, which is why it is cheaper. Your Arduino has to handle the timing and calculations. I'm se...Read More…
The HC-SR04 is a commonly available low cost ultrasonic range sensor. It is dumber than some, which is why it is cheaper. Your Arduino has to handle the timing and calculations.
I'm selling these in packs of 4. Also optionally add 200mm/8" cables.
See also my Trimount bracket sets to mount up to 12 of these on the corners of your robot.
I've created the Octosonar module, its big brother the OctosonarX2 and the Octosonar library to handle up to 16 of these using the I2C bus and one hardware interrupt pin. I'm stocking the HC-SR04 as well so buyers can be sure that they will work with the Octosonar.
Convenience, mostly. However not all HC-SR04 are the same - there are at least three different clone designs out there.
Early on I discovered that there is one variety that locks the Echo pin high if it does not get a return signal. See this thread on the Arduino forum for details. As the original Octosonar - which used the SonarI2C library - multiplexed the Echo signal through an OR logic gate, these faulty HC-SR04 clones would lock up the entire board. A very helpful customer spotted this with sensors he had sourced elsewhere.
The units I stock are a different board layout and match the ones I had when prototyping the Octosonar. They do not exhibit this fault. I'm sticking to the same supplier to try to ensure consistency. I am also testing each sensor individually before bagging them up and discarding any bad ones.
The current OctoSonar and OctoSonarX2 boards use a different method to multiplex the Echo signals which prevents interference from slow or hung sensors and should function correctly with any known version of the HC-SR04. So you do not strictly need this specific HC-SR04 varietal, but I recommend it. If sourcing elsewhere, compare the component layouts to tell which is which. There is a good picture of the dodgy ones, and another "good" type in the Arduino forum.
Yes, I know the picture only shows two sensors. I used to sell them in packs of two and I don't have an updated picture yet. Cross your eyes. See? Problem solved.
Also the video below is out of date and shows the earlier board and the link to the old version of the software. See the Octosonar library for the correct code.
We recognize our top users by making them a Tindarian. Tindarians have access to secret & unreleased features.
We look for the most active & best members of the Tindie community, and invite them to join. There isn't a selection process or form to fill out. The only way to become a Tindarian is by being a nice & active member of the Tindie community!