Está en la página 1de 5

Email: info@sunrom.com or sunrom@gmail.com Visit us at http://www.sunrom.

com

Document: Datasheet

Date: 27-May-11

Model #: 1132

Products Page: www.sunrom.com/p-558.html

60 Second Audio Record & Playback


Offers true solid state storage capability and requires no software or microcontroller support. It provides high quality recording and playback with 30 to 60 seconds audio at 4-8 Khz Sampling rate. Using Mode DIP switch, total duration can be divided in individual triggers of 1,2,4 & 8 segments which can be triggered by onboard switches or external low trigger like microcontroller pins.

Board Details
Sampling rate select between 4 to 8 Khz. Default keep it at middle (6 Khz). With 8 Khz sampling, audio quality is good but total duration is 30 seconds only. LED ON = Record Mode LED OFF = Play Mode

Stereo Socket for External audio input. If no stereo pin connected, on board MIC is used for recording. Message Mode Selection switch

On board MIC for recording.

Speaker Volume Control

RECORD or PLAY mode select switch.

Supply input +5V GND

Record/Play Indicator LED Speaker Out Reset switch only used in TAPE mode

S1 to SW8 used to record or playback message segments.

All eight trigger input are brought out at this terminal along with power supply pins, so you can use a external trigger like microcontroller at this pin to provide low trigger. Also you can power this board from +5V/GND marked pins

Features
Single chip, high quality voice recording and playback solution User friendly, easy to use operation Non - Volatile - flash memory technology, no battery backup required 4-8 Khz adjustable sampling rate Audio output to drive a speaker or audio out for public address system Can record voice with the help of on-board microphone or via any audio input like PC

Board Schematic
CN1 SIP2 VCC 2 1 SAMPLING RATE 4-8 Khz VCC PR1 50K PRESET CN2 STEREO-5PIN GND L C1 100n R 20 21 R7 4K7 M1 MIC C2 100n C3 100n R10 4K7 + C6 10uF R9 220K 17 18 19 U1 APR9600 ANA IN ANA OUT MIC IN MIC REF AGC VCCD VCCA R2 100K R3 22K

+5V

RESET
SW1 SW

REC MODE
SW2 SW ON/OFF D1 1 2 LED R1 470R VCC

FLASHING REC/PLAY INDICATOR


D2 LED R4 470R R5 100K STROBE BUSY BE MSEL1 MSEL2 SPSP+ 22 10 11 24 25 15 14 C5 10uF + SW3 SW DIP-2 3 4 R6 100K VCC ON 1 2 VCC ON 1 2

23

27

CE

OSCR

RE

8-MSG

VSSA VSSA EXTCLK

M1 M2 M3 M4 M5 M6 M7 M8

28 16

13 12 26

1 2 3 4 5 6 8 9

S1

S2

S3

S4

S5

S6

S7

S8

PR2 50K PRESET

Sunrom Technologies
Title 60 Seconds Audio Record and Play back Code 1132 Date: Friday , September 05, 2008

http://www.sunrom.com
Sheet 1 Rev of 1 1

R12 10R C10 10n LS1 SPK

Sunrom Technologies

Your Source for Embedded Systems

Visit us at www.sunrom.com

+
R8 1K VCC

2 1

4-MSG
ON 1 2

2-MSG
R11 100K VCC VCC VCC C7 100n C8 100n 3 U2 5 C9 220uF ON 1 2

+ C4 10uF

VCC

TAPE MODE

+ 2 LM386 -

Getting Started
To start using the board, you will need to provide regulated +5V DC to the board and connect a speaker to board. Before power on the board select a message mode through mode select switch. There four types of message modes.
ON 1 2

8-MSG
ON 1 2

Total duration of 60 second of chip is divided into 8 messages of 7.5 second each. Total duration of 60 second of chip is divided into 4 messages of 15 second each. Total duration of 60 second of chip is divided into 8 messages of 7.5 second each.

4-MSG
ON 1 2

2-MSG
ON 1 2

TAPE MODE

Tape mode can record many messages with different durations

If no external audio is connected to stereo pin, onboard MIC will automatically be used for recording. Select sampling rate, The preset can adjust between 4 Khz to 8 Khz. The higher sampling rate the lower total duration. The lower sampling rate the higher is duration. For 8 Khz sampling total chip duration is 60 seconds. For 4 Khz sampling rate total chip duration is 30 seconds. You can leave the preset at middle position for 6 Khz sampling rate which is the default setting. In this mode you will get total duration of around 45 seconds. Power on the board now. Let us assume message mode 8 was selected above. Which will give us 8 messages of approximately 5 seconds each message at 6 Khz sampling rate. Put the SW2 (REC mode switch) to Record Mode. The record mode is indicated by a LED D1 above the switch. If D1 LED is off means the board is in Play mode. Push it once to toggle between PLAY and RECORD mode. While in record mode LED D1 will glow indicating its in record mode. Record mode here does not mean recording has started. It just decides what happens if you press SW1 to SW8. While in record mode press SW1 to SW8 to select a message segment to record the message. Let us assume we want to record message1, so we will press SW1 and will keep it press. Now whatever we speak will be captured by MIC and recorded. The LED D2 next to the IC will blink in record mode indicating that chip is currently recording. Once duration in full the LED will stop blinking means that segment is full. The SW1 switch can now be released. If before the duration is full this switch is released, then that many seconds are recorded and rest duration is kept empty. Now let us check what we recorded. Put SW2(REC mode switch) to Play Mode. D1 LED above the switch will go off indicating play mode. Press SW1 once to play back the recorded message in message segment 1. Same method for recording in Mode 2 & Mode 4. For Tape mode please see below pages.

Sunrom Technologies

Your Source for Embedded Systems

Visit us at www.sunrom.com

Fixed Message Mode


If message mode 2 is selected only switches SW1 and SW2 are used for recording or playback. If message mode 4 is selected only switches SW1 to SW4 are used for recording or playback. If message mode 8 is selected only switches SW1 to SW8 are used for recording or playback.

Tape Mode Record and Play Back


Tape mode manages messages sequentially much like traditional cassette tape recorders. In tape mode messages must be recorded or played back sequentially, much like a traditional cassette tape recorder. You cannot play first message first then last message last. You have to record or play first message, then clicking on next switch for record/play of next message as such. On power-up, the board is ready to record or playback, starting at the first address in the memory array. Put board in record mode with SW2 by glowing D1 LED. Press SW1 and keep it pressed and the board will beep once and initiate recording. As long as SW1 is pressed it will keep recording. As soon as SW1 is released it will stop recording and insert a single beep. If the SW1 key pin is held low beyond the end of the available memory, recording stops automatically, and two beeps are inserted; regardless of the state of the SW1 key. A subsequent pressing of SW1 starts a new record operation in the memory array immediately following the last recorded message, thus preserving the last recorded message. To record over all previous messages you must RESET switch once to reset the device to the beginning of the first message. You can then initiate a record sequence, as described above, to record a new message. The most recently recorded message will become the last recorded message and all previously recorded messages following this message will become inaccessible. To preserve current messages you must fast forward past the messages you want to keep before you can record a new message. To fast forward you must switch to play mode and listen to messages sequentially until you arrive at the beginning of the message you wish to overwrite. At this stage you should switch back to record mode and overwrite the desired message. The most recently recorded message will become the last recorded message and all previously recorded messages following this message will become inaccessible. To playback recorded messages, Press SW1 once, it will play current message and stop. Press SW1 once again to play next message.

Sunrom Technologies

Your Source for Embedded Systems

Visit us at www.sunrom.com

Board Dimensions

Sunrom Technologies

Your Source for Embedded Systems

Visit us at www.sunrom.com