Connect multiple HC-SR04 ultrasonic range sensors to an Arduino with I2C bus and one pin
Designed by Red Hunter in United States of AmericaNo shipping info available.
Set destination country to see options
Shipping to starts at
Free shipping is available to !
Ships from
This item does not ship to .
More Info
Sign up to get notified when this product is back in stock!
Now in FeatherWing form factor, this can still be used as a wired-in module for any AVR based Arduino. NOTICE 3/25/2021: Apparently not compatible with SAMD21 based Arduinos - output is flaky on thes…
Read More…Now in FeatherWing form factor, this can still be used as a wired-in module for any AVR based Arduino.
This module - and the associated library - allow you to connect eight HC-SR04 ultrasonic range sensors to an Arduino using the I2C bus and one hardware interrupt pin. I used to sell a 16 sensor version - the OctoSonarX2.
I wanted more sensors on my robot to help it navigate. I'm too cheap to buy a mega board with enough pins or smarter sensors that need less pins.
The library handles all the timing, and the hardware interrupts provide surprisingly high accuracy. Each unit is individually tested using an Arduino test-bed and ships with separate pin headers.
If you are using a Feather board, solder on your preferred FeatherWing headers (not included) and plug the OctoSonar into your Feather board as you would any other Wing.
Note the following:
The OctoSonar is an I2C bus device and you will connect it to the I2C bus on your controller. Please refer to your controller documentation for which pin is which on your controller. In addition you will need to connect one hardware interrupt pin and possibly an additional power connection.
Each sensor connects with 4 wires marked V, T, E and G for Voltage, Trigger, Echo and Ground. Sensors can be connected individually using 4-pin cables connected to the vertical columns of 4 pins numbered 0 thru 7 at the right of the board.
If you are mounting the sensors on my Trimount brackets, each Trimount can support 3 sensors with only two cables by sharing the V and G connections. To do this solder two 4 pin headers horizontally in the locations marked out in white. Wire two 4-pin cables to the matching locations on the Trimount bracket. This leaves one sensor location free in in the header block - you can connect another sensor there as before.
Note that the code library that I support is only for the Arduino environment. While electronically compatible with Raspberry Pi, this product is not supported in software yet. Feel free to help at https://github.com/arielnh56/SonarI2C-RPi. The code at this location is primarily a customer contribution - I am unable to provide support.
Use the OctoSonar library, not the SonarI2C library
I am stocking some of the sensors and cables too, so you can get them at the same time. These are batch tested to verify that they are not the type with the echo-lock problem. See this thread on the Arduino forum
Please check out the Hackaday documentation and the github library for more info.
Base package includes the module and 40 header pins
Robot pack includes:
Note that the picture pre-dates the creation of the trimount brackets. They look a lot better than the bent aluminum and sticky pads shown.
The video below describes the operation of the board. It shows the earlier 2.1 version board which has all the same components just arranged differently, and does not have the FeatherWing reset pin.
No country selected, please select your country to see shipping options.
No rates are available for shipping to .
Enter your email address if you'd like to be notified when Octosonar - connect 8 x HC-SR04 to Arduino can be shipped to you:
Thanks! We'll let you know when the seller adds shipping rates for your country.
Shipping Rate | Tracked | Ships From | First Item | Additional Items |
---|---|---|---|---|
:
|
International shipments include customs form, filled out correctly as merchandise with true sale value. Buyer may be charged customs duty and other fees by their postal service prior to delivery. These fees will vary by country and are the buyer's responsibility to research prior to purchase.
Quantity | Price |
---|---|
1-4 | $15.95 |
5+ | $10.95 |
Product: (5.00)
Documentation: (5.00)
Shipping: (5.00)
Communication: (5.00)
Jonas | April 14, 2021
Robert | Nov. 2, 2018
John | Sept. 5, 2018
Julien | March 26, 2018
Jim | Jan. 25, 2018
Michał | Nov. 24, 2017
Roger | Oct. 16, 2017
No shipping info available.
Set destination country to see options
Shipping to starts at
Free shipping is available to !
Ships from
This item does not ship to .
More Info
Sign up to get notified when this product is back in stock!
Livermore, CA, United States of America
Ships from United States of America.
17 Reviews | 483 Orders
$24.95
Free Shipping!
$24.95
Free Shipping!
$9.95
Free Shipping!
$26.95
Free Shipping!
$1.00
Free Shipping!
$3.95
Free Shipping!
$18.50
Free Shipping!
$24.95
Free Shipping!
$8.45
Free Shipping!
$43.00
Free Shipping!
By clicking Register, you confirm that you accept our Terms & Conditions
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!