A program that runs on an Atmega2560 microcontroller and takes the input from four microphones to determine the location of a noise.
- Arduino sketch files
- C code files
- External ADCs
- 4 omnidirectional microphones
- A way to compile and upload code (AVRDUDE, Atmel Studio, Arduino IDE)
- Clone this repository
- Compile and upload
Connect the microphones to your ADCs, connect the ADCs output to pins 9 (ICP3), 35 (ICP4), 36 (ICP5), and 47 (ICP1). If you are using an Arduino Mega the Atmega pins 35 and 36 correspond to Arduino pins 48 and 49. You will need to gain physical access to the Atmega pins 9 and 47.
This program was developed to be used with a grid of a known size. You will need to adjust the delays to correspond with your distances and pulse width. Additionally you will need to compile your own data of known points for the algorithm used.
- Connect to Github with SSH
- Clone this repository with
git clone git@github.com:jforgue/acoustic-location.git
- Create a new branch
git checkout master
git checkout -b some-new-branch-name
- Commit desired changes
- View changes with
git status
- Track desired changes with
git add directory/or/file
- Commit changes with
git commit -m 'commit message'
- View changes with
- Push changes with
git push
- Make a pull request
- Request a code review
- Fix conflicts if necessary