Ordered on weekdays before 14:00 = shipped the same day and delivered the next day in 98% of cases. Free returns 30-day reflection period 1-year warranty

Wiring diagram and code example

How to connect the Active Buzzer Module to an Arduino UNO or ESP32, with an example sketch you can upload straight away.

Active Buzzer Beep Demo

This project demonstrates how to control an active buzzer module with an Arduino Uno. The active buzzer generates a fixed-frequency tone whenever the signal pin is driven HIGH. The code repeatedly turns the buzzer on and off to create a simple beeping alert pattern.

Wiring diagram: Active Buzzer Module on an Arduino UNO
Wiring diagram · Click to enlarge
Connection table: Active Buzzer Module on an Arduino UNO
Connection table · Click to enlarge
Active_Buzzer_Beep_Demo.ino · compiled and verified
/*
 * ==================================================================
 *  Generated by Codey.online  —  https://www.codey.online
 * ==================================================================
 *  Project   : Active Buzzer Beep Demo
 *  Board     : Arduino UNO (arduino:avr:uno)
 *  Parts     : Active Buzzer Module
 *  Libraries : none (built-in)
 *
 *  Codey Online is an AI-powered browser IDE for Arduino and ESP32.
 *  Describe your project and Codey writes the code, draws the wiring
 *  diagram and uploads it to your board, straight from the browser.
 *  This code is free to use, modify and share, without warranty.
 * ==================================================================
 */

const int BUZZER_PIN = 8;

void setup() {
  pinMode(BUZZER_PIN, OUTPUT);
  Serial.begin(115200);
  Serial.println(F("Active Buzzer Demo Ready"));
}

void loop() {
  // Turn the buzzer on
  Serial.println(F("Buzzer ON"));
  digitalWrite(BUZZER_PIN, HIGH);
  delay(200);

  // Turn the buzzer off
  Serial.println(F("Buzzer OFF"));
  digitalWrite(BUZZER_PIN, LOW);
  delay(800);
}

Wiring diagram and example code generated by Codey.online — https://www.codey.online

Active Buzzer Beep Demo with ESP32

This project demonstrates how to control an active buzzer module using an ESP32. The sketch turns the buzzer on and off in a repeating beep pattern while outputting the current state to the Serial Monitor.

Wiring diagram: Active Buzzer Module on an ESP32 DevKit V1
Wiring diagram · Click to enlarge
Connection table: Active Buzzer Module on an ESP32 DevKit V1
Connection table · Click to enlarge
Active_Buzzer_Beep_Demo_with_ESP32.ino · compiled and verified
/*
 * ==================================================================
 *  Generated by Codey.online  —  https://www.codey.online
 * ==================================================================
 *  Project   : Active Buzzer Beep Demo with ESP32
 *  Board     : ESP32 DEVKIT V1 (esp32:esp32:esp32doit-devkit-v1)
 *  Parts     : Active Buzzer Module
 *  Libraries : none (built-in)
 *
 *  Codey Online is an AI-powered browser IDE for Arduino and ESP32.
 *  Describe your project and Codey writes the code, draws the wiring
 *  diagram and uploads it to your board, straight from the browser.
 *  This code is free to use, modify and share, without warranty.
 * ==================================================================
 */

// Active Buzzer Demo for ESP32 DEVKIT V1
// Connect the buzzer signal pin to GPIO 4 (D4 on silkscreen)

const int BUZZER_PIN = 4;

void setup() {
  Serial.begin(115200);
  pinMode(BUZZER_PIN, OUTPUT);
  digitalWrite(BUZZER_PIN, LOW);
  Serial.println("Active Buzzer Demo Ready");
}

void loop() {
  // Turn the buzzer ON
  Serial.println("Buzzer ON");
  digitalWrite(BUZZER_PIN, HIGH);
  delay(200);

  // Turn the buzzer OFF
  Serial.println("Buzzer OFF");
  digitalWrite(BUZZER_PIN, LOW);
  delay(200);

  // Second beep
  Serial.println("Buzzer ON");
  digitalWrite(BUZZER_PIN, HIGH);
  delay(200);

  // Pause between beep sequences
  Serial.println("Buzzer OFF (Pause)");
  digitalWrite(BUZZER_PIN, LOW);
  delay(1000);
}

Wiring diagram and example code generated by Codey.online — https://www.codey.online

Active Buzzer Module

An active buzzer module for your Arduino project.

Dimensions
Length: 1.9cm
Width: 1.5cm
Height: 1.2cm

  • Compact size
  • Arduino project

Why choose this product?

  • For Arduino – Suitable for your Arduino project.
  • Compact size – Only 1.9 x 1.5 x 1.2 cm.
  • Convenient module – Compact module for easy use.
Specifications
Width1.5 cm
Suitable forArduino
Length1.9 cm
Height1,2 cm

Frequently bought together

Total: € 8,50

Reviews

No reviews yet.

Write a review
Your rating

Shipping & returns

Shipping

  • Parcel with track & trace€ 7,70Within 24 hours
  • Pick up at PostNL location€ 7,40Within 24 hours
  • Letterbox parcel€ 3,70Within 2 business days
  • Letterbox parcel 24 hours€ 4,55Within 24 hours
  • Pick up in storeFree
All about shipping

Returns

Not satisfied? You have 30 days after delivery to return the product.

All about returns