P.A.N.C. consists of a potentiometer, a microphone sensor, an audio kit and a teensy 4.1 board with SD card reader.
The microphone is constantly listening and, depending on the volume around it, gives us a certain output. This number is compared to a threshold. This threshold can be increased or decreased with the potentiometer. If the measured volume is lower than the threshold, everything is fine. But if the volume is too loud, P.A.N.C. will play a pre-loaded audio file from the SD card through the AUX cable onto whatever speaker is connected.