I'm almost done with my current project which utilizes two motors to control a toy. Unfortunately I've learned the hard way about the limitations of a single processor system like arduino. I've also read about how you can run processes at the same time by essentially sequencing them together. The trouble I have is that I can't effectively do that with a sound effect, as it would of course be all chopped up.
Specifically I'm having trouble finding my "home" switch when a sound effect is playing. I'd like to search for it and cut off the sound when it arrives, or at the very least just stop the motor when it finds its home switch.
As is, it will never find it so long as it is busy playing the sound effect. The only hope of finding home is during a pause (it is a looped effect).
The shield for arduino I'm using now is the Freaduino listed here:http://www.elecfreaks.com/wiki/index.php?title=Freaduino_MP3_Music_Shield The module that I feel like I maybe should be using is discussed on this forum here: http://forum.arduino.cc/index.php?PHPSESSID=2rs699oe8j7oj1l5l6ddm03bj4&topic=117009.0
I feel like the 2nd may be a better choice as it appears that it can operate as an independent unit/processor for simple sound files. I imagine that would allow it to play sound effects regardless of what the arduino processor is busy doing, and that would be good.
Although, I have yet to find a compatible memory card with it, I'm hopeful I can get it to work (as I have recently received this module and been experimenting with this silly AD4 format).
Anyway, thanks for any help! Long time lurker, 1st time poster! -k