Go Down

Topic: possibility for 8 Piezo speakers (Read 3091 times) previous topic - next topic

frankyfranky

Can arduino control tones on 8 different Piezo speakers?

found 3 tones tutorial

any solution for 8 tones on 8 speakers?

boguz

you could take a look at this page:
http://arduino.cc/en/Tutorial/Tone4

It tells how to use tone() to play different notes on multiple outputs!

frankyfranky


you could take a look at this page:
http://arduino.cc/en/Tutorial/Tone4

It tells how to use tone() to play different notes on multiple outputs!



what is the max number of piezo speaker can be used to play music?

boguz

are you planning on having them playing SIMULTANEOUSLY?

CrossRoads

#4
Jul 27, 2013, 03:26 am Last Edit: Jul 29, 2013, 04:58 pm by CrossRoads Reason: 1
I had this idea for playing 13 notes simultaneously, don't know if it will work.
May have to shorten a bit for a '328 board, mostly because there are fewer pins.

Heavy Edit - Got rid of all the stuff that didn't work.

See this link for working code, schematic, and protoboard layout to play 13 notes simultaneaously.
(only wired up 8, all I had switches for)

http://forum.arduino.cc/index.php?topic=179761.msg1333089#msg1333089
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

frankyfranky


are you planning on having them playing SIMULTANEOUSLY?


yes

1 speaker per channel

AmbiLobe

#6
Jul 28, 2013, 12:58 am Last Edit: Jul 28, 2013, 01:07 am by AmbiLobe Reason: 1
"what is the max number of piezo speaker can be used to play music?"

The Arduino Due has 54 digital outputs. You can play all of them if you have piezo speakers that draw a small current, like 1mA each.


i = c dv/dt

c of piezo speaker is...

c = 1mA x .001 second / (3 volts) = .33uF Maximum

jack wp

Do you have the arduino board now working?
How many piezo speaker have you hooked up, and heard sound from?

Go Up