connectors – How would I connect a 4 pin sound sensor to a raspberry pi?

All four pins can be connected with wire.

digital signal = GPIO 24 [Pin 18 (RPi)]
+V = 3,3V [Pin 1 (RPi)]
GND = GND [Pin 06 (RPi)]
analog signal = Analog 0
[Pin A0 (ADS1115 – KY-053)]
enter image description here

I have attached the schematic, hopefully this helps.
The sensor has 3 main components on its circuit board. First, the sensor unit at the front of the module
which measures the area physically and sends an analog signal to the second unit, the amplifier. The amplifier amplifies the signal, according to the resistant value of the potentiometer, and sends the signal to
the analog output of the module. The third component is a comparator which switches the digital out and the LED if the signal falls under a
specific value. You can control the sensitivity by adjusting the potentiometer. The signal will be inverted; that means that if you measure a high value, it Please notice: is shown as a low voltage value at the analog output.

Read more here: Source link