Encomendado em dias úteis antes das 14:00 = enviado no mesmo dia e, em 98% dos casos, entregue no dia seguinte. Devolução gratuita 30 dias para refletir 1 ano de garantia

Esquema de ligação e exemplo de código

Como ligar o Módulo Buzzer Ativo a um Arduino UNO ou ESP32, com um sketch de exemplo que podes carregar já.

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.

Esquema de ligação: Módulo Buzzer Ativo num Arduino UNO
Esquema de ligação · Clique para ampliar
Tabela de ligação: Módulo Buzzer Ativo num Arduino UNO
Tabela de ligação · Clique para ampliar
Active_Buzzer_Beep_Demo.ino · compilado e testado
/*
 * ==================================================================
 *  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.

Esquema de ligação: Módulo Buzzer Ativo num ESP32 DevKit V1
Esquema de ligação · Clique para ampliar
Tabela de ligação: Módulo Buzzer Ativo num ESP32 DevKit V1
Tabela de ligação · Clique para ampliar
Active_Buzzer_Beep_Demo_with_ESP32.ino · compilado e testado
/*
 * ==================================================================
 *  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

Módulo Buzzer Ativo

Um módulo buzzer ativo para o seu projeto Arduino.

Dimensões
Comprimento: 1,9cm
Largura: 1,5cm
Altura: 1,2cm

  • Compact formaat
  • Arduino project

Por que escolher este produto?

  • Voor Arduino – Geschikt voor je Arduino project.
  • Compact formaat – Slechts 1,9 x 1,5 x 1,2 cm.
  • Handige module – Compacte module voor eenvoudige toepassing.
Especificações
Largura1,5 cm
Adequado paraArduino
Comprimento1,9 cm
Altura1,2 cm

Frequentemente comprados juntos

Total: € 9,55

Avaliações

Ainda sem avaliações.

Escrever uma avaliação
A tua avaliação

Envio & devoluções

Envio

  • Pacote com Track & Trace€ 6,20Alemanha 1-3, França 2-3, Espanha/Itália 2-4, outros países 3-5 dias úteis
  • Pacote com Track & Trace€ 7,35Alemanha 1-3, França 2-3, Espanha/Itália 2-4, outros países 3-5 dias úteis
  • Pacote com Track & Trace€ 8,50Alemanha 1-3, França 2-3, Espanha/Itália 2-4, outros países 3-5 dias úteis
  • Pacote com Track & Trace€ 9,15Alemanha 1-3, França 2-3, Espanha/Itália 2-4, outros países 3-5 dias úteis
Tudo sobre envios

Devoluções

Não ficas satisfeito? Tens 30 dias após a receção para devolver o produto.

Tudo sobre devoluções

Vistos recentemente

Placa breakout Micro USB

Placa breakout Micro USB

€ 0,90
Módulo ESP-01 ESP8266

Módulo ESP-01 ESP8266

€ 3,75
Placa de programação ATtiny

Placa de programação ATtiny

€ 2,35