There is a motion sensor. When it detects movement, it plays this sound.
The time spent on making this will undoubtedly give a high ROI, long-term.
- ESP32S3 DEVKIT C WROOM
- ADA4871 mini PIR motion sensor
- MAX98357 amplifier and speaker
- an LED
This is written for unsigned 8-bit mono PCM @ 44100. The easist way is to use FFMPEG.
./ffmpeg -i audioFile.wav -f u8 -ar 44100 -ac 1 o.pcm