

The cảm biến âm thanh 3 chân (3-pin sound sensor) is a compact and versatile electronic component designed to detect sound levels and convert them into an electrical signal. Manufactured by S, this sensor is widely used in sound detection and response projects, such as voice-activated systems, sound level monitoring, and interactive audio-based applications.








Below are the key technical details of the cảm biến âm thanh 3 chân:
| Parameter | Value |
|---|---|
| Manufacturer | S |
| Part ID | S |
| Operating Voltage | 3.3V to 5V |
| Output Signal | Analog and Digital |
| Sensitivity Adjustment | Potentiometer (onboard) |
| Dimensions | ~32mm x 15mm x 8mm |
| Operating Temperature | -20°C to 70°C |
The cảm biến âm thanh 3 chân has three pins, as described in the table below:
| Pin | Name | Description |
|---|---|---|
| 1 | VCC | Power supply pin. Connect to 3.3V or 5V. |
| 2 | GND | Ground pin. Connect to the ground of the circuit. |
| 3 | OUT | Output pin. Provides an analog signal proportional to sound level or a digital |
| HIGH/LOW signal based on the threshold set by the potentiometer. |
Below is an example of how to connect the cảm biến âm thanh 3 chân to an Arduino UNO:
| Sensor Pin | Arduino Pin |
|---|---|
| VCC | 5V |
| GND | GND |
| OUT | A0 (for analog) or D2 (for digital) |
The following code demonstrates how to read both analog and digital signals from the sensor:
// Define pin connections
const int analogPin = A0; // Analog pin connected to OUT
const int digitalPin = 2; // Digital pin connected to OUT
int analogValue = 0; // Variable to store analog reading
int digitalValue = 0; // Variable to store digital reading
void setup() {
pinMode(digitalPin, INPUT); // Set digital pin as input
Serial.begin(9600); // Initialize serial communication
}
void loop() {
// Read analog value from the sensor
analogValue = analogRead(analogPin);
// Read digital value from the sensor
digitalValue = digitalRead(digitalPin);
// Print the values to the Serial Monitor
Serial.print("Analog Value: ");
Serial.print(analogValue);
Serial.print(" | Digital Value: ");
Serial.println(digitalValue);
delay(500); // Wait for 500ms before the next reading
}
No Output Signal:
Inconsistent Readings:
Digital Output Always HIGH or LOW:
Analog Output Not Changing:
Q: Can this sensor detect specific frequencies?
A: No, this sensor is designed to detect general sound levels and does not differentiate between specific frequencies.
Q: Can I use this sensor with a 3.3V microcontroller?
A: Yes, the sensor operates within a voltage range of 3.3V to 5V, making it compatible with 3.3V microcontrollers like ESP32 or Raspberry Pi Pico.
Q: How do I increase the detection range?
A: You can increase the sensitivity by adjusting the onboard potentiometer. However, note that higher sensitivity may also increase noise interference.
Q: Is this sensor suitable for outdoor use?
A: The sensor is not weatherproof. For outdoor applications, ensure it is housed in a protective enclosure.