My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
CupAudioResearch  
Updated Oct 27, 2013 by rijadsul...@gmail.com

Research

Features using the ISD1932

  • Direct mode can save up to 8 different messages
  • Has a microphone to record messages
  • The R_osc of 53.3 kΩ will achieve a sampling rate of 12 kHz
  • Works with 8Ω speakers
  • Can use this for both the fount and the cup
  • Many examples to reference from
  • Max current at 30 mA
  • Operates at 2.4 to 5.5V
  • Price per unit: $6.32 from digikey.com

Circuit Diagram

Table representing message count

Table for R_osc and amount of allowed time

The duration's the messages can be at 12 kHz sampling rate in seconds

Therefore with a sampling rate at 12 kHz we get 2 messages that can be 10.65 seconds for the fount.

Block Diagram

Alternatives

The WTV020-SD

  • This would be a backup driver if the ISD1932 is not a good option
  • You can use an SD card as memory and it can hold an SD card that has up to 1GB of memory
  • Sampling rate from 6 kHz to 36 kHz
  • Voltage rating of 2.7-3.5 volts
  • $19.95 from sparkfun.com

Speakers for the fount

Speaker EMB-3008A

Description

  • Small speaker that could be used for the cup
  • Impedance of 8 Ω so it will work with the driver 3
  • Frequency range from 0 to 100 kHz3
  • Sound level at 80 dB so you can hear it well 3
  • Maximum power is 2W 3
  • Price: $1.95 from sparkfun.com

Pseudocode for the Cup

The cup’s audio will be triggered when a cup is taken, when the cup’s deadly IR packets are sent, when a cup is pouring into the fount, and when the game has been won. Example pseudo code is written below:

Void playAudio(int audiotype)
{
  //Turn of all sound
  M1 = 0;
  M2 = 0;
  M3 = 0;
  Switch(audiotype){
  Case cupisnthomesound: M1 = 1;
  Case irdeadlysound: M2 = 1;
  Case cupPour: M3 = 1;
  
  }
}

Main()


while(1)
{
    ...
    if (cupIsntHome and cupisnthome audio hasn’t begun)
        playAudio(cupisnthomesound);

    else if (irpacketmode and irpacketmode audio hasn’t begun)
        playAudio(irdeadlysound);

    else if (cupPourMode and cupPourMode audio hasn’t begun)
        playAudio(cupPour);
        
    
}

Flowchart

References

  • 1. Nuvoton, “Single-chip, Multi-message Voice Record/Playback Device,” ISD1900 datasheet, Jan. 2009
  • 2. WT, “Audio-Sound Breakout - WTV020SD,” WTV020-SD datasheet
  • 3. Sanco Electronics Co., “Speaker, PCB mount,” EMB-3008A
  • 4. Covor Industrial Co., “Thin speaker,” COM-10722
  • 5. Sparkfun, “Speaker – 0.5 W (8 Ohms),” BA01282, Online. Available: www.sparkfun.com. on Sept. 25, 2013
Powered by Google Project Hosting