Skip to content

ESP32+PIR+speaker project. Plays a loud sound when it detects movement.

Notifications You must be signed in to change notification settings

CallumBeaney/motion-detector-audio-scarer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

motion detection audio scarer

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.

Equipment

  • ESP32S3 DEVKIT C WROOM
  • ADA4871 mini PIR motion sensor
  • MAX98357 amplifier and speaker
  • an LED

.pcm audio file

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

About

ESP32+PIR+speaker project. Plays a loud sound when it detects movement.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published