Voice recorder/playback

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello,

I've been making a simple voice record/playback project the past few weeks and I cannot decided on what memory to use.
The recorder basically consists of a microphone and amplifier fed into an atmega328 ADC and the playback consists of a 74hc595 (SPI) into an 8 bit r/2r DAC + amp.

I have everything set up except of the memory.

Which memory is suitable for this task for the use with an AVR micro?

I considered using EEPROM at first but decided on using an SD card. After a week of hair-pulling failure to interface the SD card with the avr I want to reconsider my choice.

This is the first time i'm making something like this so i'm not shooting for high performance. A 4kS/s sampling rate should be fine I think. That's 4000 x 8 bits = 4k bytes of data per second that I need to write to the memory in real time.

The size of the memory isn't much of an issue. I'll be satisfied if I can get at least 3 seconds with a 4kS/s sampling rate.

Will something like this work?

Anyone have any suggestions?
SPI is preferable.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

SD/MMC is the best idea. Use FatFs which makes it extraordinarily simple to use.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Shagas wrote:
Which memory is suitable for this task for the use with an AVR micro?
The following is somewhat dated and DataFlash IP now resides with Adesto:
AVR335: Digital Sound Recorder with tinyAVR or megaAVR and DataFlash
http://www.atmel.com/devices/ATMEGA328P.aspx?tab=documents
http://www.adestotech.com/products/dataflash
Shagas wrote:
Anyone have any suggestions?
May want to consider Everspin Technologies MRAM though it's more expensive and may have less value; its advantage is endurance.
http://www.everspin.com/products.php?hjk=SERIAL&a1f3=0
fyi, MRAM and AVR mega88 into Earth polar orbit:
MRAM Technology Status by Jason Heidecker (USA NASA JPL, 2013)

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks for the advice and links.
The MRAM and dataflash is interesting but are not chips that I'll be able to get my hands on first thing monday morning so i'll have to order some for later.

I think I'll try out that parallel ram that I linked just to get it working and then I'm going to try to get and SD card with fatFs running.