Hi to all,
Just starting on Arduino, old dev on ASM (68k, PPC...), I have a dev to do, needed audio.
The goal is to build an AED Trainer. An AED is the device you put on someone in cardiac arrest and which give an electric shock.
The "trainer" version of an AED don't give shock but simulate all the process.
Form hardware point of view: a push button, 2 leds blinking and a litle speaker. Maybe a DIP to select the program (shock needed or not, etc...)
The main problem is that info are given with a voice and that the lenght of all messages, linked together, is of about 30 seconds.
At 8khz 8bit, this mean 240.000 bytes.
First choice was an Arduino Uno, but we need more memory, or need to add a shiled to read SD Card.
I'm also afraid of the speed of data transfert and think reading byte after byte from SD and sending each time to the PIN of the Arduino Uno will not work (Am I wrong?)
Also, if we need to "buffer" the sound, the Uno has too little amount of memory.
So I've had a look at the Mega, and at the Due.
The sound library of the Due seems to work with a SD Card, coping sound to RAM and then play. Which is not my goal. If the Due as 512K, it's enought to store our sounds.
So my question is: even if here, we are in the Due part of the forum, what is your opinion?
- Uno with SD reader?
- Mega with sound in RAM?
- Due with sound in RAM?
Thanks very much for your answer
Pierre-Louis