Arduino Sine Wave: Piezo Buzzer Possible?

Click For Summary

Discussion Overview

The discussion revolves around the feasibility of generating a sine wave signal using an Arduino to drive a piezoelectric buzzer. Participants explore various methods and considerations related to the specifications and capabilities of piezo buzzers, as well as the technical approaches to achieve this signal generation.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants question whether an Arduino can produce a sine wave for a piezo buzzer, noting that some buzzers may only require a DC input.
  • There is a suggestion to use an R-2R ladder DAC arrangement connected to the microcontroller's I/O lines, with a look-up table to generate the sine wave.
  • Concerns are raised about the need to buffer the DAC output with an op-amp to meet the current requirements of the buzzer.
  • One participant expresses uncertainty about the specifications of the buzzer, asking if the frequency rating indicates capability rather than actual output.
  • Another participant speculates that applying a DC voltage to the buzzer would produce a tone at the specified frequency, potentially with harmonics.
  • A link to an Arduino tutorial on generating tones is provided, suggesting a resource for further exploration.

Areas of Agreement / Disagreement

Participants express varying views on the capabilities of piezo buzzers and the methods to generate sine waves, indicating that multiple competing perspectives exist without a clear consensus.

Contextual Notes

There are limitations regarding the specifications of the piezo buzzer in question, as well as the assumptions about the output characteristics and requirements for driving the buzzer.

elevfan7072
Messages
4
Reaction score
0
Is it possible for an Arduino to produce a sine wave to a piezoelectric buzzer?
 
Engineering news on Phys.org
elevfan7072 said:
Is it possible for an Arduino to produce a sine wave to a piezoelectric buzzer?

Some piezo buzzers only need a DC input. What are the specs of your piezo buzzer?

You could use an R-2R ladder DAC arrangement, connected to some of the uC's IO lines. Then use a look-up table in the uC to drive a sine wave out the DAC. You may need to buffer that DAC output with an opamp to drive the buzzer, depending on the current required.
 
berkeman said:
Some piezo buzzers only need a DC input. What are the specs of your piezo buzzer?

You could use an R-2R ladder DAC arrangement, connected to some of the uC's IO lines. Then use a look-up table in the uC to drive a sine wave out the DAC. You may need to buffer that DAC output with an opamp to drive the buzzer, depending on the current required.

I don't have one yet. When it says (?? hz), does that mean what it's capable of, and not what it actually produces?
 
elevfan7072 said:
I don't have one yet. When it says (?? hz), does that mean what it's capable of, and not what it actually produces?

Can you post a datasheet that you are looking at?

I'm guessing that you put a DC voltage across it, and it produces a tone of that specified frequency (probably with some harmonics too...).
 
A little late but are you you looking for something like this?
http://arduino.cc/en/Tutorial/tone
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
Replies
16
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 15 ·
Replies
15
Views
6K
Replies
3
Views
3K
Replies
15
Views
3K
Replies
38
Views
6K
  • · Replies 32 ·
2
Replies
32
Views
4K
  • · Replies 10 ·
Replies
10
Views
2K