Pages: [1]   Go Down
Author Topic: Buzzer Sound For Game Show Buttons?  (Read 2845 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 27
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi I'm building game show buzzers and i want to have a buzzer noise. How can I do this? I will be attaching a small speaker to my arduino through one of the digital pins. Will the ffunction tone work?
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 211
Posts: 13478
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Will the ffunction tone work?
have you tried it?

be aware that 8 ohm speakers can result in more current in a pin than an Arduino can handle!

Have you considered a wave-shield, with mp3 files, you can make as many sounds as you like: - per player - per round - depending on the score etc.
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Offline Offline
Newbie
*
Karma: 0
Posts: 27
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I really don't want to buy a shield because I want to keep this project cheap. Is there a speaker that you rrecommend me using?
Logged

0
Offline Offline
God Member
*****
Karma: 39
Posts: 988
Get Bitlash: http://bitlash.net
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

A piezo beeper or buzzer driven near its resonant frequency is (1) quite loud, (2) inexpensive,  (3) suitable for being driven from an arduino output pin with a small resistor, and (4) works well with tone() and notone().

Available everywhere, for example: https://www.sparkfun.com/products/7950?

-br
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 27
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

would this work? http://www.creatroninc.com/index.php/speakers-and-buzzers/lilyp-398463.html
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 211
Posts: 13478
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

no experience with that one. You might take a look at shieldlist.org
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Offline Offline
Newbie
*
Karma: 0
Posts: 27
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

oh will the piezo buzzer work? ive seen people talking about the PIEZO buzzer http://www.a1parts.ca/buzzers/buzzers.htm
Logged

0
Offline Offline
God Member
*****
Karma: 39
Posts: 988
Get Bitlash: http://bitlash.net
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You need to keep the current drawn from the arduino IO pin under 20ma.  A couple of the items on that page require higher current and therefore would not be good candidates for a direct connection.  There is a piezo buzzer there that should work, but you can't really tell how loud that 75dB is going to sound until you try it. 

-br
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 27
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks, will check out the piezo buzzer
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 27
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Oh also, can I connect the piezo to any pin or does it have to be digital? Analog?
Logged

UK
Offline Offline
Newbie
*
Karma: 2
Posts: 30
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Oh also, can I connect the piezo to any pin or does it have to be digital? Analog?

It believe from reading tone.cpp that any pin will work as it seems to use frequency modulation - but a more informed expert may correct me if I'm wrong :-)

Note that use of the tone() function will interfere with PWM output on pins 3 and 11 (on boards other than the Mega) (according to this).
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 5
My robots solder for me!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There are different kinds of piezo beepers/buzzers. Some don't have an internal driver circuit, and must be given pulsed DC or AC, like a normal speaker. These use very little current, and should have a series resister with it. These can be powered by an arduino I/O pin. However, many piezos have a driver circuit built-in, so they run on DC. These probably use more current than an arduino can give through an I/O pin.

In general, it is a good idea to look at the datasheet to see what kind of piezo it is. Hope this helped. smiley
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 27
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The specs of the Piezo buzzer are this:
Current:          2mA
Sound output:  75db @ 10cm
Frequency:      4KHz
Do i need a resistor? or can i just hook it up directly?
Logged

Indiana, US
Offline Offline
Full Member
***
Karma: 12
Posts: 204
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Evil^3,

Recently, I built a similar game show buzzer and spent a considerable amount of time finding the right "sound" and loudness for my bell and buzzer (I use both).

I'd like to tell you what to use, but it really comes down to your specific application. I didn't like any of the piezos I bought - they sounded wrong, so I decided to use a real buzzer.  I tried a few different ones from Radio Shack before I settled on the one I did.

Other criteria to consider include whether the buzzer is inside the chassis (probably), and how loud is loud enough in a muffled and confined space, and how loud is too loud and obnoxious.

I used a teacher's desk bell for my bell, and "dinged" it with a solenoid.

On the software side, what does your logic look like?  I allow other players to buzz-in if the 1st player gets the answer wrong.  The selections are queued up in the order they come in and the "next" player's light indicates who's up next if the host presses the NO button.  It took me quite a while to converge on the "business logic" for the software.  Also... What are you planning to use for the chassis?  I looked everywhere before finding the right look.

Good luck - I'm really interested in seeing what you end up doing on this!

Pat.
Logged

There are 10 types of people in the world, those that understand binary, and those that don't.

Pages: [1]   Go Up
Jump to: