Buzzer / Piezo
Controlling Active Buzzer Buzzer / Piezo with Arduino Uno
What is the Active Buzzer?
Active Buzzer practical reference
A buzzer with a built-in oscillator — just apply power to get a fixed-tone beep, no PWM signal generation required.
Key specifications
- Operating voltage: 3V - 5V DC (5V typical on breakout modules)
- Current draw: ~25-30 mA
- Tone: Fixed frequency, ~2-4kHz — set by the buzzer's internal oscillator, not by your code
- Control: Digital HIGH/LOW only — a plain digitalWrite() is enough, no tone() or PWM needed
Pinout and connection notes
Easy to tell apart from a passive buzzer without a multimeter: tap 5V straight to the pin briefly — an active buzzer beeps immediately, a passive one just clicks.
- VCC: Power, 3V-5V DC
- GND: Ground
- I/O: Signal input — HIGH turns the tone on, LOW turns it off
Integration checklist
- Confirm the exact part number and breakout-board revision.
- Verify supply voltage, current demand, logic levels, and signal direction against the datasheet.
- Check controller pin assignments and bus address or interface mode against the example code.
- Power up with external loads disconnected, then test signals before full integration.
- If readings or communication fail, check power and ground first, then pin mapping, interface settings, and library initialization.
Troubleshooting and reproducibility
Record the board used, wiring, library/version, supply arrangement, and measured behavior. Use the selected board-specific wiring example as the source of truth. Never assume visually similar modules share identical voltage tolerance or pin order.
Setting Up Active Buzzer with Arduino Uno
Wiring
| Component pin | Arduino Uno pin | Note |
|---|---|---|
| VCC | 5V | |
| GND | GND | |
| I/O | D8 | Any digital pin works — this is a plain HIGH/LOW signal, not PWM |
Swipe sideways to see every column →
This is an active buzzer (built-in oscillator) — do not use tone(), which is for passive buzzers that need a driven frequency. A plain digitalWrite HIGH/LOW is all it needs, and driving it with tone() will not change the pitch.
Related Components
BLDC ESC
High-speed brushless motor and electronic speed controller combo.
Continuous Servo
Modified servo that spins continuously like a geared motor.
DC Motor L298N
Classic brushed DC motor + dual H-bridge driver combo.
Passive Buzzer
Piezo buzzer that requires PWM — play melodies and variable-pitch tones, not just fixed beeps.
Related Guides & Projects
Arduino Uno R4 Minima Pinout: Every GPIO, ADC, DAC, and Op-Amp Pin Explained
A complete Arduino Uno R4 Minima pinout reference — digital I/O, ADC, DAC, op-amp, CAN, dual UART, and exactly what it leaves out compared to the WiFi variant.
Mastering PWM on Arduino: Dimming LEDs and Controlling Motors
Understand what PWM actually is on Arduino, dim an LED smoothly, and safely control a DC motor's speed with a driver chip -- plus the mistakes (like wiring a motor straight to a pin) that damage boards.
4-Digit 7-Segment Counter with TM1637 & Arduino
Drive a TM1637-based 4-digit 7-segment display with Arduino Uno to show a real-time up/down counter, elapsed timer, and scrolling text. Covers library setup, brightness control, and custom segment mapping.
Arduino Uno R4 Minima vs WiFi: Which One Should You Choose?
Same processor, same memory, different price. Here's what the WiFi variant's extra hardware actually gets you, and when the Minima is the smarter buy.