Shop OBEX P1 Docs P2 Docs Learn Events
Programmable Audio circuit using an I2C interface — Parallax Forums

Programmable Audio circuit using an I2C interface

Jerry RoachJerry Roach Posts: 13
edited 2013-04-22 14:56 in General Discussion
I am looking for an engineer to develop a circuit that will play one of seven tones once the bit is set from the byte of data below? The interface is I2C.

OUTPUT Data ICD
==================================

AuxOutput[0] = bit 0 = None
AuxOutput[0] = bit 1 = play sound file 1
AuxOutput[0] = bit 2 = play sound file 2
AuxOutput[0] = bit 3 = play sound file 3
AuxOutput[0] = bit 4 = play sound file 4
AuxOutput[0] = bit 5 = play sound file 5
AuxOutput[0] = bit 6 = play sound file 6
AuxOutput[0] = bit 7 = play sound file 7

I have WAV files for all the tones (sounds) that will have to be programmed into the circuit. The length of the tones are from several seconds to 45 seconds. This project is for replicating sounds in response to user interaction within a simulation.

Power requirement is 5v, with an audio output of 1W.

I will pay for the development of this project. Please contact me via jerryr01@aol.com

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2013-04-17 19:34
    Why not use something ready-made. EFX-TEK's AP-16+ will play .WAV files using contact closures. It will also play in response to asynchronous serial commands. It has an output of up to 20W which could be turned down to 1W using the volume control. You might check with EFX-TEK. I suspect it could be operated from +5V if you didn't use the built-in amplifier and just used the line outputs to feed your 1W amplifier.

    SInce the firmware is available, you could also modify it to work with any of several Propeller boards with built-in audio outputs and a micro-SD card socket like the Propeller Board of Education or the Propeller Activity Board. There is code either in the Propeller Object Exchange or posted in these forums for a simple I2C client which could be combined with existing .WAV file playing software to do what you want.
  • Ron CzapalaRon Czapala Posts: 2,418
    edited 2013-04-18 05:25
    Sparkfun sells a MP3 Trigger module that might meet your needs but it is not I2C - https://www.sparkfun.com/products/11029
  • Jerry RoachJerry Roach Posts: 13
    edited 2013-04-22 14:56
    Excellent source -thank you very much!
Sign In or Register to comment.