Chirping bird box (replacement)

Description:
Relaxing sound boxes that play bird or nature sounds when someone approaches are widely available on the market. This project explores how to build such a device yourself — with the added flexibility to use any sound or music of your choice.

The design is straightforward:
A PIR sensor detects motion. When triggered, it wakes the CPU from sleep mode, enables the main power supply, and starts the software. Depending on the implementation, the system can either play a specific MP3 file stored in on-chip memory or randomly select a track.

Audio playback is handled by a YX6300 MP3 module, the audio signal is amplified using a PAM8302A module.

The entire system is powered by four AA batteries.
Schematic:



A description of the used components and other details can be found in a PDF presentation:

DOWNLOAD:
Presentation in PDF format



Software:
The software is stored in folder named 'MP3_app_01', the sketch is named 'MP3_app_01.ino'.

DOWNLOAD: Software ZIP file



Case:
For the case I build a simple bird house. The hole in the front is meant to hold the PIR sensor. The hole in the side is meant for an on/off switch. This switch is not drawn in the schematic, it should be located just after the battery plus terminal.
The case  svg files are packed in a zip file, including with two xTool Studio project files:

DOWNLOAD:
Case ZIP file