Active vs passive buzzer comes down to one part inside. An active buzzer has its own little driver circuit, so it beeps as soon as you give it steady power. It plays one fixed tone. A passive buzzer has no driver. It needs a signal that switches on and off very fast, and it plays whatever note that signal sets. That is why a passive buzzer can play a tune and an active one cannot.
The quickest way to tell them apart is the battery test. Touch the buzzer's legs to a small battery of the right voltage, plus to plus. If it beeps, it is active. If it only clicks once, it is passive.
The two types often look the same, so the test matters. Buzzers are one kind of output device; our guide to actuators, motors, relays, buzzers and displays shows where they fit among the others.
Active vs passive buzzer at a glance
The buzzer maker Same Sky (formerly CUI Devices) uses its own names in its guide to buzzer technologies and drive circuits (opens in a new tab). It calls active buzzers "indicators": they have the drive circuit built in and sound at one fixed frequency. It calls passive buzzers "transducers": they have no driver, so you must send them a signal such as a square wave. Most hobby shops and tutorials use the words active and passive instead. They mean the same thing.
| Active buzzer (indicator) | Passive buzzer (transducer) | |
|---|---|---|
| What is inside | The sound part plus a small driver circuit | Only the sound part |
| What you give it | Steady DC power | A signal that switches on and off, such as a square wave |
| Sound | One fixed tone | Any note you send, within its range |
| Battery test | Beeps for as long as it is connected | One click when you connect it, then silence |
| Code on a microcontroller | Switch a pin on and off, like an LED | Send a frequency, for example with tone() |
| Polarity | Marked + and −; it only works one way round | Often marked + and − as well |
| Best for | Alarms, timers, "done" beeps | Melodies, sirens, sound effects, different alert pitches |
- What is inside
- Active buzzer (indicator)
- The sound part plus a small driver circuit
- Passive buzzer (transducer)
- Only the sound part
- What you give it
- Active buzzer (indicator)
- Steady DC power
- Passive buzzer (transducer)
- A signal that switches on and off, such as a square wave
- Sound
- Active buzzer (indicator)
- One fixed tone
- Passive buzzer (transducer)
- Any note you send, within its range
- Battery test
- Active buzzer (indicator)
- Beeps for as long as it is connected
- Passive buzzer (transducer)
- One click when you connect it, then silence
- Code on a microcontroller
- Active buzzer (indicator)
- Switch a pin on and off, like an LED
- Passive buzzer (transducer)
- Send a frequency, for example with
tone()
- Polarity
- Active buzzer (indicator)
- Marked + and −; it only works one way round
- Passive buzzer (transducer)
- Often marked + and − as well
- Best for
- Active buzzer (indicator)
- Alarms, timers, "done" beeps
- Passive buzzer (transducer)
- Melodies, sirens, sound effects, different alert pitches
Table note: the inside, input and sound rows follow Same Sky's guide linked above. The polarity row follows Circuit Basics' guide on active and passive buzzers (opens in a new tab), and the CEM-1206S drawing (opens in a new tab), which marks + and − on a passive transducer.
For makers, the code row matters most. An active buzzer is on or off. A passive buzzer gives you pitch, but your code must keep the signal going for the whole note.

What is inside a buzzer: piezo and magnetic types
Active and passive tell you whether there is a driver inside. There is a second question: what makes the sound. Same Sky's guide describes two ways.
A magnetic buzzer works like a tiny loudspeaker. A coil of wire becomes a magnet when current flows, and pulls on a thin metal disc. Switch the current on and off quickly and the disc vibrates, which pushes the air and makes sound. The guide says magnetic buzzers are current-driven and that their sound drops off quickly when the drive signal gets weaker.
A piezo buzzer uses a disc of piezoelectric material stuck to a metal plate. A voltage makes the disc bend. Change the voltage back and forth and it vibrates. Same Sky describes it as voltage-driven and says it behaves electrically like a capacitor. It notes that piezo buzzers can reach a louder maximum sound, but need a larger footprint.
Both kinds come as active and as passive parts. So "piezo buzzer" does not mean passive, and "magnetic" does not mean active. Same Sky sells, for example, magnetic indicators with the driver built in and magnetic transducers without one, in the same round case.
Loudness is given as sound pressure level, in decibels, at a set distance. The same guide says it falls by 6 dB each time you double your distance, so a buzzer rated at 10 cm sounds much quieter across a room.
Two buzzers that look the same: a datasheet comparison
Here are two real parts from Same Sky's range. Both are 5 V, both are 12 mm across and 9.5 mm tall, and both are listed at 85 dB or more at 10 cm. One is active and one is passive. The figures come from the CMI-1295IC-0585T datasheet (opens in a new tab) and the CEM-1206S datasheet (opens in a new tab).
| From the datasheet | CMI-1295IC-0585T | CEM-1206S |
|---|---|---|
| Type | Magnetic indicator, internally driven (active) | Magnetic transducer, externally driven (passive) |
| Rated voltage | 5 V DC | 5 V peak, as a square wave |
| Operating voltage | 4 to 7 V DC | 3 to 8 V peak |
| Current | 30 mA at 5 V | 45 mA at 5 V, 2,400 Hz square wave, half duty |
| Frequency | 2,300 to 2,500 Hz, typical 2,400 Hz | Rated at 2,400 Hz |
| Tone | Single | Set by your signal |
| Coil resistance | Not given, it has a circuit inside | 40 to 54 Ω, typical 47 Ω |
| Size | 12 × 9.5 mm | 12 × 9.5 mm |
- From the datasheet
- Type
- CMI-1295IC-0585T
- Magnetic indicator, internally driven (active)
- CEM-1206S
- Magnetic transducer, externally driven (passive)
- From the datasheet
- Rated voltage
- CMI-1295IC-0585T
- 5 V DC
- CEM-1206S
- 5 V peak, as a square wave
- From the datasheet
- Operating voltage
- CMI-1295IC-0585T
- 4 to 7 V DC
- CEM-1206S
- 3 to 8 V peak
- From the datasheet
- Current
- CMI-1295IC-0585T
- 30 mA at 5 V
- CEM-1206S
- 45 mA at 5 V, 2,400 Hz square wave, half duty
- From the datasheet
- Frequency
- CMI-1295IC-0585T
- 2,300 to 2,500 Hz, typical 2,400 Hz
- CEM-1206S
- Rated at 2,400 Hz
- From the datasheet
- Tone
- CMI-1295IC-0585T
- Single
- CEM-1206S
- Set by your signal
- From the datasheet
- Coil resistance
- CMI-1295IC-0585T
- Not given, it has a circuit inside
- CEM-1206S
- 40 to 54 Ω, typical 47 Ω
- From the datasheet
- Size
- CMI-1295IC-0585T
- 12 × 9.5 mm
- CEM-1206S
- 12 × 9.5 mm
Table note: all figures from the two Same Sky datasheets linked above, dated September 2024 and February 2025.
Notice that the passive part's current and loudness are given "at 2,400 Hz square wave". It has no tone of its own, so the datasheet must say which signal it was tested with. It also draws more current than the active part, which matters when you choose how to drive it.
The battery test: tell them apart in 10 seconds
- 1
Read the voltage.
Look for a number printed on the buzzer or in the shop listing, such as 5 V or 12 V. Pick a battery pack close to it. Three AA cells in a holder give about 4.5 V, which suits a 5 V buzzer. Both datasheet parts above run from 4.5 V: the active one is rated 4 to 7 V and the passive one 3 to 8 V.
- 2
Find the plus leg.
It is often the longer leg, or the one next to a + mark on the top. Circuit Basics' guide on active and passive buzzers (opens in a new tab) notes that active buzzers are polarised and the longer pin goes to positive, like an LED.
- 3
Touch, do not solder.
Hold the plus leg on the battery's plus wire and the other leg on the minus wire for one second.
- 4
Listen.
| What you hear | What it means |
|---|---|
| A steady beep for as long as you hold it | Active buzzer |
| One click as you connect, maybe another as you let go, and silence in between | Passive magnetic buzzer: the coil pulls the disc in once and holds it |
| Almost nothing, perhaps a faint tick | Passive piezo buzzer: a steady voltage bends the disc once and it stays bent |
| Nothing at all, both ways round | Try the other way round once. Then check the voltage: a 12 V buzzer may stay silent at 4.5 V |
- What you hear
- A steady beep for as long as you hold it
- What it means
- Active buzzer
- What you hear
- One click as you connect, maybe another as you let go, and silence in between
- What it means
- Passive magnetic buzzer: the coil pulls the disc in once and holds it
- What you hear
- Almost nothing, perhaps a faint tick
- What it means
- Passive piezo buzzer: a steady voltage bends the disc once and it stays bent
- What you hear
- Nothing at all, both ways round
- What it means
- Try the other way round once. Then check the voltage: a 12 V buzzer may stay silent at 4.5 V
Why does it work? Steady power is the "on" signal an active buzzer's driver waits for. A passive buzzer has no driver, so steady power moves its disc once: a click, not a tone.

Other clues, and why they can fool you
Shops and videos list ways to spot an active buzzer by eye. None is as reliable as the battery test.
A sticker on top
A common tip says active buzzers have a paper label over the sound hole, which you peel off after soldering. But Same Sky's drawings show labels on both kinds. The CMI-1295IC-0585T drawing (opens in a new tab) shows a masking label on the active part, and the CMT-1209-390T drawing (opens in a new tab) shows a paper label on a passive transducer too.
A sealed or open underside
Another tip says an active buzzer has a sealed black bottom and a passive one shows a green circuit board. But the drawings for both the active CMI-1295IC-0585T and the passive CMT-1209-390T show epoxy filling the underside. A sealed bottom proves nothing; an open one is a hint, not proof.
The multimeter test
Set a multimeter to resistance and touch the two legs. A passive magnetic buzzer shows the resistance of its coil. The CEM-1206S datasheet gives 40 to 54 Ω for that part, and the CMT-1209-390T datasheet (opens in a new tab) gives 13 to 19 Ω for another part. A steady reading like that points to a passive magnetic buzzer.
A piezo disc behaves like a capacitor, as Same Sky's guide says, so the meter shows no steady resistance. An active buzzer has a circuit between its legs, so its datasheet lists no coil value. Use the meter to confirm the battery test, not to replace it. Our beginner's guide to using a multimeter shows how to set the resistance range.
How to drive each one from an ESP32 or Arduino
Driving an active buzzer
An active buzzer needs steady power at its rated voltage. In code, you switch it like an LED: digitalWrite(pin, HIGH) for on, LOW for off. The beep length is however long you leave it on.
The voltage is the catch. An ESP32 pin gives 3.3 V. The ESP32 datasheet (opens in a new tab) lists its DC characteristics at 3.3 V, with a typical source current of about 40 mA per pin at the highest drive strength, falling towards 29 mA when many pins source current at once. A 5 V active buzzer like the CMI-1295IC-0585T is rated from 4 V up, so a bare 3.3 V pin is below its range. It may sound weak or not at all. The fix is a small transistor switch: the pin turns on the transistor, and the transistor connects the buzzer to the 5 V supply. Our guide to how a transistor works as a switch explains the idea.
Driving a passive buzzer
A passive buzzer needs a square wave: the pin switching on and off many times a second. That frequency sets the note.
On an Arduino UNO, the Arduino `tone()` reference (opens in a new tab) says the function makes a square wave at the frequency you choose with a 50% duty cycle, and that a piezo buzzer or speaker on that pin will play the tone. It also lists three limits worth knowing:
- Only one tone can play at a time.
- It cannot make tones below 31 Hz.
- On boards other than the Mega, it interferes with PWM on pins 3 and 11.
On an ESP32 with the Arduino core version 3.x, Espressif's LEDC reference for Arduino-ESP32 (opens in a new tab) gives ledcAttach(pin, freq, resolution) to set a pin up, and ledcWriteTone(pin, freq) to play a 50% square wave at a frequency. A frequency of 0 sets the duty to 0, which is silence. If PWM is new to you, our guide to pulse width modulation with an LED explains duty cycle first.
The CEM-1206S datasheet shows the circuit its maker recommends: the signal goes through a 180 Ω resistor to the base of a small NPN transistor (it names the 2SC1741AS), with the buzzer between the supply and the transistor. Its example uses a 2.5 V drive signal. Same Sky's guide adds that a magnetic buzzer switched by a transistor needs a diode across it, to soak up the voltage spike the coil makes when the transistor turns off. A piezo buzzer does not need that diode.
| Active buzzer | Passive buzzer | |
|---|---|---|
| Arduino UNO code | digitalWrite(pin, HIGH) then LOW | tone(pin, frequency) then noTone(pin) |
| ESP32 (core 3.x) code | digitalWrite(pin, HIGH) then LOW | ledcAttach, then ledcWriteTone(pin, frequency) |
| Does your code keep running during a beep? | Yes, the buzzer beeps by itself | Yes, the wave keeps going until you stop it |
| Needs a transistor? | If its rated voltage is above the pin voltage | Usually, for current, as in the datasheet circuit |
| Needs a diode? | Check its datasheet | Yes for a magnetic type switched by a transistor; not for piezo |
- Arduino UNO code
- Active buzzer
digitalWrite(pin, HIGH)thenLOW- Passive buzzer
tone(pin, frequency)thennoTone(pin)
- ESP32 (core 3.x) code
- Active buzzer
digitalWrite(pin, HIGH)thenLOW- Passive buzzer
ledcAttach, thenledcWriteTone(pin, frequency)
- Does your code keep running during a beep?
- Active buzzer
- Yes, the buzzer beeps by itself
- Passive buzzer
- Yes, the wave keeps going until you stop it
- Needs a transistor?
- Active buzzer
- If its rated voltage is above the pin voltage
- Passive buzzer
- Usually, for current, as in the datasheet circuit
- Needs a diode?
- Active buzzer
- Check its datasheet
- Passive buzzer
- Yes for a magnetic type switched by a transistor; not for piezo
Worked example: a sketch that tells you which buzzer you have
This sketch runs the battery test in code, then plays an eight-note scale. An active buzzer beeps in Test 1. A passive buzzer stays quiet in Test 1 and plays clean notes in Test 2.
It is set up for the MakerBuddy board's buzzer on GPIO 4. For a loose buzzer on any other ESP32, wire it through a transistor as above and change BUZZER_PIN. In the Arduino IDE, choose "ESP32 Dev Module" with "esp32 by Espressif Systems" version 3.x. Our step-by-step guide to programming an ESP32 with the Arduino IDE covers the setup. We compiled this sketch with core 3.3.7.
// Buzzer type tester: is it active or passive?
// Board: "ESP32 Dev Module" with "esp32 by Espressif Systems" 3.x.
// On the MakerBuddy board this replaces the MakerBuddy firmware
// until you upload the firmware again.
const int BUZZER_PIN = 4; // the MakerBuddy buzzer; change it for your own wiring
// A C major scale, from middle C up one octave, in hertz.
const int NOTES[] = {262, 294, 330, 349, 392, 440, 494, 523};
const int NOTE_COUNT = 8;
void setup() {
Serial.begin(115200);
delay(500);
// Test 1: hold the pin HIGH, like touching a battery to the buzzer.
Serial.println("Test 1: steady HIGH for 1 second");
pinMode(BUZZER_PIN, OUTPUT);
digitalWrite(BUZZER_PIN, HIGH);
delay(1000);
digitalWrite(BUZZER_PIN, LOW);
delay(1000);
// Test 2: play a scale as square waves at 50% duty.
Serial.println("Test 2: a scale of eight notes");
ledcAttach(BUZZER_PIN, 2000, 8);
for (int i = 0; i < NOTE_COUNT; i++) {
ledcWriteTone(BUZZER_PIN, NOTES[i]);
delay(300);
}
ledcWriteTone(BUZZER_PIN, 0); // frequency 0 sets the duty to 0: silence
ledcDetach(BUZZER_PIN);
pinMode(BUZZER_PIN, OUTPUT);
digitalWrite(BUZZER_PIN, LOW); // leave the pin off
Serial.println("Beep in test 1: active. Clean notes in test 2: passive.");
}
void loop() {
// Nothing here. Press EN (reset) to run the test again.
}What each part does, and why:
- 1
Test 1 is the battery test in code.
digitalWrite(BUZZER_PIN, HIGH)puts a steady voltage on the pin, exactly like a battery. Only an active buzzer can turn that into a beep. - 2
ledcAttach(BUZZER_PIN, 2000, 8)hands the pin to the ESP32's hardware PWM. The next line changes the frequency anyway.
- 3
ledcWriteTone(BUZZER_PIN, NOTES[i])sets the frequency and a 50% duty cycle. Each note lasts 300 ms. The hardware keeps the wave going while
delaywaits. - 4
ledcWriteTone(BUZZER_PIN, 0)stops the sound. Espressif's reference says a frequency of 0 sets the duty to 0.
- 5
ledcDetach, thenpinModeandLOWgive the pin back to normal digital use and leave it off, so the buzzer does not keep sounding after the test.
On the MakerBuddy board, Test 1 gives a clear one-second beep. That is the same steady HIGH the dashboard uses for its 500 ms beep, and a passive buzzer would only click, so the beep alone shows the kit's buzzer is an active type. Test 2 should then sound rough rather than like a clean scale, because the buzzer's own oscillator still sets its pitch.
The MakerBuddy buzzer: active, digital, one tone
The MakerBuddy IoT Kit V1.0 has a buzzer built into the board, on GPIO 4. The firmware drives it as a plain digital output: it sets the pin HIGH for on and LOW for off, and never sends it a tone. So the board's buzzer works like an active buzzer. The documentation says it plainly: the buzzer is on or off, with one tone, and it cannot play different notes.
You do not need to write code to use it. There are three ways to make it sound.
- The dashboard button. It gives one 500 ms beep. The REST API table in the documentation lists the same 500 ms pulse for apps that call the board directly.
- A rule step. In the Rule Engine, a
Buzzer Onstep keeps the buzzer sounding until aBuzzer Offstep. Each step can wait from 0 to 1 hour before the next, so you set the beep length yourself. - Your own sketch. Use
digitalWrite(4, HIGH)andLOW, as in Test 1 above.
Because it is active, rhythm is your tool, not pitch. A fast beep-beep-beep sounds urgent; one long tone sounds like "finished".
Worked example: a doorbell rule, step by step
The project library's Doorbell idea makes the button play a short beep-beep. Here is the rule, built in the dashboard's Rule Engine. According to how rules run, the board stores up to 10 rules with up to 10 steps each, and a Condition rule runs while its sensor test is true.
- 1
Create a Condition rule
and name it "Doorbell".
- 2
Set the test.
Sensor: Push Button. Operator: Equal to (==). Value: 1. The button can only be tested as pressed (1) or not pressed (0).
- 3
Step 1
Action Buzzer On, Delay (ms) 200. A short beep.
- 4
Step 2
Action Buzzer Off, Delay (ms) 150. A short gap.
- 5
Step 3
Action Buzzer On, Delay (ms) 200. The second beep.
- 6
Step 4
Action Buzzer Off, Delay (ms) 1000. Silence before the rule can run again.
- 7
Save it
and press the board's button.
Why each choice? The last step is Buzzer Off on purpose. A rule that stops leaves its last step in place, so a rule ending on Buzzer On would leave the buzzer sounding. A Condition rule runs again while its test stays true, so the 1000 ms wait at the end turns a long press into beep-beep, pause, beep-beep rather than a non-stop buzz. And hold the button for about a second: the board reads its sensors once a second, and a condition must stay true for 0.3 seconds before the rule starts.

The buzzer in the lessons
Lesson 8 uses the buzzer in its traffic light assessment. Lesson 28 builds a smoke and gas alarm model with the MQ-2 sensor. Its Danger rule turns the buzzer on and the colour light red, and a separate All Clear rule turns the buzzer off again. The challenge adds a three-stage alert, where every quieter stage must switch the buzzer off itself.
Other no-code ideas that use the buzzer include the Distance Warning and the Motion Alarm in the project ideas library. Our motion sensor alarm build walks through one in full, and the gas leakage detector project covers the safety limits of the MQ-2 in detail.
Which buzzer should you choose?
| Your project needs | Choose | Why |
|---|---|---|
| A simple alarm, timer or "done" beep | Active | One line of code or one rule step; nothing to tune |
| A beep while your code is busy with other work | Active | It keeps sounding without any signal from you |
| A tune, a doorbell melody or a siren that rises and falls | Passive | You set the note |
| Different pitches for different warnings | Passive | Low for "check", high for "danger" |
| A first project for a 10-year-old | Active | The battery test and on/off logic are easy to see |
- Your project needs
- A simple alarm, timer or "done" beep
- Choose
- Active
- Why
- One line of code or one rule step; nothing to tune
- Your project needs
- A beep while your code is busy with other work
- Choose
- Active
- Why
- It keeps sounding without any signal from you
- Your project needs
- A tune, a doorbell melody or a siren that rises and falls
- Choose
- Passive
- Why
- You set the note
- Your project needs
- Different pitches for different warnings
- Choose
- Passive
- Why
- Low for "check", high for "danger"
- Your project needs
- A first project for a 10-year-old
- Choose
- Active
- Why
- The battery test and on/off logic are easy to see
There is a fair case against passive buzzers for beginners. They need a transistor, often a diode, and a timer-driven signal, and a datasheet like the CEM-1206S's rates them at one frequency, where they are loudest. An active buzzer is simpler to wire and to code. Start with an active one, and move to passive when you want music.
The case against active buzzers is just as clear. You cannot change the note. If your project needs two alarms that sound different, you must use rhythm, as in the doorbell rule above, or add a second, passive buzzer.
Common buzzer mistakes, with causes and fixes
The buzzer only clicks
Symptom: You switch the pin on and hear one click, then nothing. Cause: It is a passive buzzer, and a steady HIGH only moves its disc once. Fix: Send it a square wave with tone() on an Arduino or ledcWriteTone() on an ESP32.
The tune sounds like one rough buzz
Symptom: You play a scale but hear the same harsh note each time. Cause: It is an active buzzer. Its own oscillator sets the pitch, and your square wave only chops it on and off. Fix: Swap in a passive buzzer, or use rhythm instead of pitch.
The buzzer is silent
Symptom: No sound at all, not even a click. Cause: It may be in the wrong way round, since active buzzers are polarised. Or it is rated at 12 V and you give it 3.3 V, below its operating range. Fix: Check the + mark, then check the voltage on the label. Use a transistor to switch the right supply voltage.
The buzzer is very quiet
Symptom: It works but you can barely hear it. Cause: The drive is weak. A magnetic buzzer gets quieter fast when its drive signal drops, as Same Sky's guide notes, and sound pressure falls 6 dB each time you double the distance. Fix: Drive it through a transistor from its rated voltage. Peel off the protective label over the sound hole once soldering is done.
The MakerBuddy buzzer will not stop
Symptom: A rule ran and the buzzer keeps sounding. Cause: The rule's last step was Buzzer On, or someone pressed Stop on the rule while the buzzer was on. Stop never switches outputs off, as how rules run explains. Fix: End every buzzer rule with a Buzzer Off step. For alarm rules, make the "all clear" rule switch the buzzer off, as Lesson 28 does.
FAQ
What is the difference between an active and a passive buzzer?
An active buzzer has a driver circuit inside, so it beeps at one fixed tone when you give it steady DC power. A passive buzzer has no driver. It needs a signal that switches on and off, such as a square wave, and it plays whatever note that signal sets. Active is simpler; passive can play tunes.
How can I tell if my buzzer is active or passive?
Do the battery test. Connect it to a battery near its rated voltage, plus leg to plus. A steady beep means active. A single click, or nothing but a faint tick, means passive. Stickers and sealed bottoms appear on both kinds, so do not rely on looks.
What are the two types of buzzers?
People usually mean active and passive, which is about whether the driver is inside. There is also a split by how the sound is made: magnetic buzzers use a coil pulling on a metal disc, and piezo buzzers use a disc that bends when a voltage is applied. Each kind comes in active and passive versions.
Is a piezo buzzer active or passive?
It can be either. "Piezo" only describes the sound-making disc. A piezo buzzer with a driver built in is active and beeps on DC. A bare piezo disc or transducer is passive and needs a square wave. Use the battery test to find out which you have.
What is a 5V active buzzer?
It is an active buzzer designed to run from about 5 V DC. One example, Same Sky's CMI-1295IC-0585T, is rated at 5 V, works from 4 to 7 V, draws 30 mA and sounds a single tone around 2,400 Hz. From a 3.3 V ESP32 pin it needs a transistor to switch the 5 V supply.
How do I activate a buzzer?
For an active buzzer, apply its rated DC voltage, plus to plus. From a microcontroller that means switching a pin HIGH, through a transistor if the buzzer needs more voltage or current than the pin gives. For a passive buzzer, send a square wave, with tone(pin, frequency) on an Arduino or ledcWriteTone(pin, frequency) on an ESP32. On MakerBuddy, press the dashboard's buzzer button or add a Buzzer On step to a rule.
Does a buzzer need a resistor?
An active buzzer usually does not, because its own circuit controls the current at its rated voltage. A passive magnetic buzzer is a low-resistance coil, so driving it straight from a pin can draw too much current. The safe way is a transistor, with a resistor on the transistor's base, as in the CEM-1206S datasheet circuit.
Is the MakerBuddy buzzer active or passive?
It works as an active buzzer. The firmware only switches GPIO 4 on and off, and the board's documentation says it plays one tone and cannot play different notes. The dashboard button gives a 500 ms beep, and rules can make any on-off rhythm. If you want to try a passive buzzer and real tunes, the board runs your own Arduino sketches too, though a sketch replaces the MakerBuddy firmware until you upload it again; the kit is available from the MakerBuddy buy page, and our blog has more guides to every output.
Sources
- Same Sky: Buzzer Basics, Technologies, Tones and Drive Circuits (opens in a new tab)
- Same Sky: CMI-1295IC-0585T magnetic buzzer indicator datasheet (opens in a new tab)
- Same Sky: CEM-1206S magnetic buzzer transducer datasheet (opens in a new tab)
- Same Sky: CMT-1209-390T magnetic buzzer transducer datasheet (opens in a new tab)
- Circuit Basics: Active Buzzers vs Passive Buzzers (opens in a new tab)
- Arduino language reference: tone() (opens in a new tab)
- Espressif: LEDC API for Arduino-ESP32 (opens in a new tab)
- Espressif: ESP32 Series Datasheet (opens in a new tab)




