SonicDisc - A 360° ultrasonic scanner
SonicDisc
A 360° ultrasonic scanner that talks over I2C using an Atmega328P and 8 HC-SR04 ultrasonic sensors.
Overview
SonicDisc is a sensor that allows you to sense your surroundings. It utilizes 8 ultrasound sensors (HC-SR04) placed at 45° angle from each other, that can measure distances from practically every direction. It can be used in hobby-grade automotive applications, e.g. autonomous driving, obstacle detection etc or wherever quickly determining surrounding distances is relevant.
The sensor transmits the collected data over I2C and uses a separate line to signal, with a short pulse, the existence of a new set of measurements. It can be mounted on top of an Arduino UNO or used standalone. Due to the nature of the HC-SR04 sensors, the measurements can be noisy, therefore it is suggested that they are filtered. An example that receives and filters the incoming data can be found in examples/SonicDiscReader.
You can find the software running on the SonicDisc in firmware/ and the PCB design in Eagle CAD format inside hardware/.
How does it work
SonicDisc is comprised of an Atmega328P microcontroller that triggers all the ultrasound sensors at the same time, receives the echo pulses via pin change interrupts and then proceeds to calculate the detected distances. The use of interrupts, in contrast to how the HC-SR04 sensors are typically utilized, enable us to conduct all measurements at the "same" time which translates into new sets of 8
measurements every 10 milliseconds
.
As an I2C slave, whenever a new set of measurements is ready to be transmitted, a short pulse is sent over the INT
pin, prompting the master to request the data. In other words the I2C master reading the data from the SonicDisc, does not have to poll but merely wait for the indicative signal and then make the I2C request. Despite not suggested, it is possible to use SonicDisc without connecting the INT
pin to an interrupt, however the master will not be able to assure the existence of a new data.
How to connect
SonicDisc <----------> Host MCU
VCC <------------------> 5V
GND <------------------> GND
SDA <------------------> SDA
SCL <------------------> SCL
INT <------------------> ISR
If you are mounting the SonicDisc on top of an Arduino UNO as a shield, you only have to (optionally but suggested) connect the INT
signal to an ISR pin.
Build one yourself
Below you can find the necessary components to build a SonicDisc yourself:
SonicDisc PCB
8 x HC-SR04
1 x Atmega328P-PU
2 x 22pF capacitors
3 x 0.1uF capacitors
1 x 1206 LED
1 x 1206 220Ω resistor
3 x 4.7KΩ resistor
1 x 5-pin header
1 x 4-pin header
1 x tactile switch
1 x 16MHz oscillator
1 x ISCP pin header
1 x 10-pin stackable header
2 x 8-pin stackable header
1 x 6-pin stackable header
SonicDisc - A 360° ultrasonic scanner
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(2)
- Likes(8)
- ElectroMaker May 28,2021
- Engineer May 07,2020
- Engineer Mar 28,2020
- bahittin seyhan Dec 15,2019
- Engineer Dec 27,2018
- Engineer May 31,2018
- Sebi Sep 21,2017
- rachman bobo Sep 18,2017
- 2 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
-
9design
-
8usability
-
8creativity
-
7content
-
6design
-
8usability
-
8creativity
-
8content
More by Dimitrios Platis
- Smartcar - Modules board rev.2 For more information about the project, please visit: https://github.com/platisd/smartcar_shield/Des...
- Hackathon trophy # Hackathon PCB trophyA cool trophy for the winners of your Hackathon![trophies](https://i.imgur.com...
- ToeTap USB Controller ToeTap is a minimalist USB keyboard and mouse that you control by tapping your toes.It's designed to...
- Smartcar - Motors board Smartcar shieldA versatile and easy to use vehicle platform for hobby-grade projectsDescriptionThis ...
- Smartcar - Modules board Smartcar shieldA versatile and easy to use vehicle platform for hobby-grade projectsDescriptionThis ...
- IoTink: Your portable e-paper dashboard IoTinkYour portable & connected, e-paper dashboardWhat?IoT + E-Ink = IoTinkIoTink is a portable ...
- SmartCar Shield rev. 2 The Smartcar, is a vehicular educational platform, which enables the user to develop various robotic...
- Code Review Lamp Code Review LampA colorful lamp to notify the developer team for pending code reviews. What?Code Rev...
- Scrumtato: Make daily-standups agile again (rev.3) ScrumtatoScrumtato is an ATtiny85-based gadget to keep overly passionate developers from excessively...
- Nevma: Gesture control for the masses NevmaA USB gadget to transform your gestures to keyboard and mouse events.OverviewNevma (means "...
- Scrumtato: Make daily-standups agile again (rev.2) ScrumtatoScrumtato is an ATtiny85-based gadget to keep overly passionate developers from excessively...
- SonicDisc - A 360° ultrasonic scanner (rev.1) SonicDiscA 360° ultrasonic scanner that talks over I2C using an Atmega328P and eight HC-SR04 ultraso...
- SonicDisc - A 360° ultrasonic scanner SonicDiscA 360° ultrasonic scanner that talks over I2C using an Atmega328P and 8 HC-SR04 ultrasonic ...
-
-
-
-
-
-
3D printed Enclosure Backplate for Riden RD60xx power supplies
153 1 1 -
-