https://github.com/follen99/baudetector
A simple Arduino projects that detects dogs barks and plays a vocal message to calm them down.
https://github.com/follen99/baudetector
arduino automatic automation bark bark-data bark-detector dog dogs log logger remote sound sound-detection
Last synced: 2 months ago
JSON representation
A simple Arduino projects that detects dogs barks and plays a vocal message to calm them down.
- Host: GitHub
- URL: https://github.com/follen99/baudetector
- Owner: follen99
- Created: 2021-06-16T10:53:11.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-17T08:34:37.000Z (over 4 years ago)
- Last Synced: 2025-05-18T00:07:01.219Z (5 months ago)
- Topics: arduino, automatic, automation, bark, bark-data, bark-detector, dog, dogs, log, logger, remote, sound, sound-detection
- Language: C++
- Homepage:
- Size: 143 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bau Detector
This is simple Arduino projects that detects dogs barks and plays a vocal message to calm them down.
## Features- The code allows to play a vocal message picked by a `random()`
function between 11 files.
- Every time a `Bark` is detected, the system writes to a `log.txt` file with the following format:> `day-month-year | hours-minutes-seconds | intensity | hours | day`
## Analyze data
To analyze the data just plug the MicroSD into your computer and make a copy of the file `log.txt`.
Open `Excel` or `Google Sheets` and import the data (`file>import`) and separate the columns with the `,` (comma).
At this point you can make everything you want with the data.## Parts list
- **Arduino uno** (or every arduino you want, i would use an Arduino Nano) [Ebay](https://www.ebay.it/itm/331535576930?hash=item4d310f6f62:g:W8oAAOSwnbZYDgl1)
- **Real Time Clock Module** `DS1302` [Ebay](https://www.ebay.it/itm/173861088473?hash=item287aedacd9:g:PgcAAOSw5CZcpGjj)
- **SD Card Reader Module** [Ebay](https://www.ebay.it/itm/111773200314?ssPageName=STRK:MEBIDX:IT&_trksid=p2060353.m2749.l2648)
- **Sound Sensor Module** [Ebay](https://www.ebay.it/itm/111662632326?ssPageName=STRK:MEBIDX:IT&_trksid=p2060353.m2749.l2648)
- **3D Printer** `for the housing`
- **A couple of days**
## Prepare The Voice Messages
In order to play your sounds on the Arduino you have to convert them to a specific `.wav` file.
- **Record the voice message**: Record it as you want, but i had a lot of problems. This [Website](https://voice-recorder-online.com/it/) worked for me.
- **Convert the voice message**: Now you have to convert the audio on this [Website](https://audio.online-convert.com/convert-to-wav) with the following parameters:
`Bit resolution: 8 bit`
`Sampling rate: 16000`
`Audio channels: mono`
`PCM Format: PCM unsigned 8 bit`
## 3D Model
Thingiverse: