Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use KY-054: Examples, Pinouts, and Specs

Image of KY-054
Cirkit Designer LogoDesign with KY-054 in Cirkit Designer

Introduction

The KY-054 is a sound sensor module manufactured by Joy-it. It is designed to detect sound levels and convert them into an electrical signal, making it ideal for sound-activated projects. The module features a microphone and an onboard amplifier circuit to process sound signals. It is commonly used in applications such as voice-activated systems, sound-activated lights, and noise monitoring systems.

Explore Projects Built with KY-054

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
ESP32-Based Security System with RFID and Laser Intrusion Detection
Image of CPE doorlock system upgrade: A project utilizing KY-054 in a practical application
This circuit is a security and access control system featuring motion detection, laser beam-break sensing, and RFID scanning, interfaced with a keypad and visual/audible indicators, powered by a solar-charged battery, and capable of controlling an electric lock via a relay.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Security System with RFID and Laser Tripwire
Image of CPE doorlock system: A project utilizing KY-054 in a practical application
This circuit is designed for a comprehensive security and access control system with motion detection, access via RFID, and a break-beam sensor. It includes a solenoid lock controlled by a relay, visual and audible alerts, and a robust power management system with solar and battery backup to ensure uninterrupted operation.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Nano-Based Wireless Joystick and Motion Controller
Image of hand gesture: A project utilizing KY-054 in a practical application
This circuit features an Arduino Nano microcontroller interfaced with an HC-05 Bluetooth module, an MPU-6050 accelerometer/gyroscope, and a KY-023 Dual Axis Joystick Module. The Arduino Nano is powered by a 9V battery through a rocker switch and communicates with the HC-05 for Bluetooth connectivity, reads joystick positions from the KY-023 module via analog inputs, and communicates with the MPU-6050 over I2C to capture motion data. The circuit is likely designed for wireless control and motion sensing applications, such as a remote-controlled robot or a game controller.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Nano Joystick-Controlled Bluetooth Module with Battery Power
Image of padelpro transmitter: A project utilizing KY-054 in a practical application
This circuit is a wireless joystick controller that uses an Arduino Nano to read analog signals from a KY-023 Dual Axis Joystick Module and transmits the data via an HC-05 Bluetooth Module. The system is powered by a 18650 Li-Ion battery with a rocker switch for power control.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with KY-054

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of CPE doorlock system upgrade: A project utilizing KY-054 in a practical application
ESP32-Based Security System with RFID and Laser Intrusion Detection
This circuit is a security and access control system featuring motion detection, laser beam-break sensing, and RFID scanning, interfaced with a keypad and visual/audible indicators, powered by a solar-charged battery, and capable of controlling an electric lock via a relay.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of CPE doorlock system: A project utilizing KY-054 in a practical application
ESP32-Based Security System with RFID and Laser Tripwire
This circuit is designed for a comprehensive security and access control system with motion detection, access via RFID, and a break-beam sensor. It includes a solenoid lock controlled by a relay, visual and audible alerts, and a robust power management system with solar and battery backup to ensure uninterrupted operation.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of hand gesture: A project utilizing KY-054 in a practical application
Arduino Nano-Based Wireless Joystick and Motion Controller
This circuit features an Arduino Nano microcontroller interfaced with an HC-05 Bluetooth module, an MPU-6050 accelerometer/gyroscope, and a KY-023 Dual Axis Joystick Module. The Arduino Nano is powered by a 9V battery through a rocker switch and communicates with the HC-05 for Bluetooth connectivity, reads joystick positions from the KY-023 module via analog inputs, and communicates with the MPU-6050 over I2C to capture motion data. The circuit is likely designed for wireless control and motion sensing applications, such as a remote-controlled robot or a game controller.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of padelpro transmitter: A project utilizing KY-054 in a practical application
Arduino Nano Joystick-Controlled Bluetooth Module with Battery Power
This circuit is a wireless joystick controller that uses an Arduino Nano to read analog signals from a KY-023 Dual Axis Joystick Module and transmits the data via an HC-05 Bluetooth Module. The system is powered by a 18650 Li-Ion battery with a rocker switch for power control.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications:

  • Voice-activated devices
  • Sound-activated lighting systems
  • Noise level monitoring
  • Audio-based security systems
  • DIY electronics and Arduino projects

Technical Specifications

The KY-054 sound sensor module has the following technical specifications:

Parameter Value
Operating Voltage 3.3V to 5V
Output Type Analog and Digital
Sensitivity Adjustment Potentiometer
Microphone Type Electret Condenser Microphone
Dimensions 32mm x 15mm x 8mm
Mounting Holes 2 x M3 holes

Pin Configuration and Descriptions

The KY-054 module has 4 pins, as described in the table below:

Pin Name Description
1 AO Analog Output: Outputs an analog signal proportional to the detected sound level.
2 DO Digital Output: Outputs a HIGH or LOW signal based on the sound threshold set by the potentiometer.
3 GND Ground: Connect to the ground of the power supply.
4 VCC Power Supply: Connect to a 3.3V or 5V power source.

Usage Instructions

How to Use the KY-054 in a Circuit

  1. Power the Module: Connect the VCC pin to a 3.3V or 5V power source and the GND pin to the ground.
  2. Choose an Output:
    • Use the AO pin for analog sound level readings.
    • Use the DO pin for digital sound detection based on the threshold set by the onboard potentiometer.
  3. Adjust Sensitivity: Use the potentiometer on the module to adjust the sensitivity of the digital output. Turning it clockwise increases sensitivity, while turning it counterclockwise decreases sensitivity.
  4. Connect to a Microcontroller: Connect the output pins (AO or DO) to the corresponding input pins on your microcontroller (e.g., Arduino).

Example: Connecting KY-054 to Arduino UNO

Below is an example of how to use the KY-054 with an Arduino UNO to read both analog and digital outputs:

Circuit Connections:

  • VCC → 5V on Arduino
  • GND → GND on Arduino
  • AO → A0 on Arduino
  • DO → D2 on Arduino

Arduino Code:

// KY-054 Sound Sensor Example with Arduino UNO
// Reads analog and digital outputs from the KY-054 module and prints them to the Serial Monitor.

const int analogPin = A0;  // Pin connected to AO (Analog Output)
const int digitalPin = 2;  // Pin connected to DO (Digital Output)

void setup() {
  pinMode(digitalPin, INPUT);  // Set digital pin as input
  Serial.begin(9600);         // Initialize serial communication at 9600 baud
}

void loop() {
  int analogValue = analogRead(analogPin);  // Read analog value from AO
  int digitalValue = digitalRead(digitalPin);  // Read digital value from DO

  // 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
}

Important Considerations and Best Practices:

  • Power Supply: Ensure the module is powered within its operating voltage range (3.3V to 5V).
  • Noise Interference: Avoid placing the module near high-frequency noise sources, as this may affect its performance.
  • Sensitivity Adjustment: Fine-tune the potentiometer to achieve the desired sensitivity for your application.
  • Output Stability: The digital output may fluctuate in noisy environments. Use software debouncing if necessary.

Troubleshooting and FAQs

Common Issues and Solutions:

  1. No Output from the Module:

    • Ensure the module is powered correctly (check VCC and GND connections).
    • Verify that the microphone is not physically damaged.
    • Check the sensitivity setting on the potentiometer.
  2. Digital Output Always HIGH or LOW:

    • Adjust the potentiometer to set an appropriate sound threshold.
    • Ensure the sound source is within the module's detection range.
  3. Analog Output Not Changing:

    • Verify the connection to the AO pin.
    • Ensure the sound source is producing a detectable sound level.
  4. Interference or False Triggers:

    • Place the module away from high-frequency noise sources.
    • Use a decoupling capacitor across the power supply pins to reduce noise.

FAQs:

Q: Can the KY-054 detect specific frequencies?
A: No, the KY-054 is designed to detect general sound levels and does not differentiate between specific frequencies.

Q: How far can the KY-054 detect sound?
A: The detection range depends on the sound intensity and the sensitivity setting. It is most effective for sounds within a few meters.

Q: Can I use the KY-054 with a 3.3V microcontroller?
A: Yes, the KY-054 is compatible with both 3.3V and 5V systems.

Q: Is the KY-054 suitable for outdoor use?
A: The KY-054 is not weatherproof and should be used in indoor environments or protected from moisture and extreme temperatures.