Go Down

Topic: SPEAKER PROJECT (Read 792 times) previous topic - next topic

gshubham96

Hi all,
I want guidance to do a project in arduino. I want that when i press a switch pre-recorded human voice should be heard. I dont wanna use a shield.
THankx in advance
Regards
Shubham Garg

CrossRoads

Reading a button press is easy.
Use the arduino to read data from an external EEPROM and write out to a Digital to Analog Converter chip.  Both can be easily accessed via SPI commands.
Then a 1-transistor driver after the DAC and out to a speaker
Use the arduino to receive the data and load the EEPROM, do you sampling, etc, on the PC.
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.

gshubham96

What will be the coding and how to interface arduino with SD card to store music files
Regards
Shubham Garg

Magician

Depends on how long your sound track would be, may be you don't need SD card?
And DAC could be built on 2R-R ladder or fast PWM.
Check on, there is a good "minimum hardware" solution:

http://elm-chan.org/works/sd8p/report.html

CrossRoads

#4
Jun 06, 2011, 06:54 am Last Edit: Jun 06, 2011, 07:04 am by CrossRoads Reason: 1
You didn't mention an SD card. [edit - or Music files! Caution - Requirements Growth!]

To do that, you will need an SD card, and a 3.3V regulator, and a 5v to 3.3V level converion - might as well get the adafruit data logger at that point, and get an RTC source thrown in to boot.
http://www.ladyada.net/make/logshield/
Then use the prototyping area for the DAC and speaker amplifier.
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.

CrossRoads

KE7GKP,
That seems like decent board for low level audio - what does it take to get up to 256 Dual Stereo Audio, from any hardware device (in particular: USB thumb drive, or a USB hard drive - big one, 500GB, so probably not battery powered)
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.

CrossRoads

I was looking into those when Neuros Audio came out with theirs! Ended up with several of them instead; my 20GB players are not being used, too little capacity and the USB1 a killer on download speed, but I have 3 of the 80GB USB2 that I use all the time.
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.

gshubham96

#7
Jun 06, 2011, 12:13 pm Last Edit: Jun 06, 2011, 12:55 pm by gshubham96 Reason: 1
thx every1, i am using http://elm-chan.org/works/sd8p/report.html . most simple to work with.
but i wanted to know that how can i play diff voices. i will have a total of 5 switches, each for diff voice.
and can i use arduino uno instead of ATtinyX5 series (25/45/85) 8-pin AVR microcontroller
Regards
Shubham Garg

Go Up