📄 isd4002-120 recording circuit.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0048)http://hem.passagen.se/communication/speach.html -->
<HTML><HEAD><TITLE>ISD4002-120 Recording Circuit</TITLE>
<SCRIPT language=JavaScript src="ISD4002-120 Recording Circuit_files/frameit.js"
type=text/javascript></SCRIPT>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2900.5726" name=GENERATOR>
<META
content="isd4002, coil, toroid, rf, ham, ham radio, circuit, ir, RX, TX, RF, IF, PCB, PSU, GDO, QRP, home brew, home-brew, amateur radio, amat鰎adio, construction, transmitter, receiver, key, keys, fm, fet, hams, transistor, power supply, printed circuit boards, amplifier, homebrew, ir detector, detector, keyer, printed circuit board, FET, rfamp, rf-amp, ift, pcb, transmitter, psu, gdo, gdos, tubes, pcbs, gdo, cw, g4vvj, SA602, SA612, mc13135, mc13136, datasheet, zn414, zn416, zn414z, pdf, zn416e, qrp, notepad, tda7000, calc, parallel, series, frequency, a, A, heatsink, software, download"
name=keywords>
<META content="C:\Program\Microsoft Office\Mallar\Webbsidor\Webbsideguiden.wiz"
name=Template></HEAD>
<BODY vLink=#800080 link=#0000ff bgColor=#ffffff
background="ISD4002-120 Recording Circuit_files/background4.gif"><IMG height=120
src="ISD4002-120 Recording Circuit_files/d_mic2.gif" width=179 align=right
border=1> <FONT face=Arial color=#0000ff size=5><B>ISD4002-120 Recording
Circuit</B></FONT><BR><FONT face=Arial color=#0000ff size=2>This project is
about an IC called ISD4002-120. It is a circuit that can store 120second of
audio.<BR>This page will explain how it works and how you can controll the
circuit.<BR></FONT></FONT><FONT face=Arial color=#ff0000 size=1>All contribution
to this page are most welcome!</FONT> <BR><BR><BR><FONT face=Arial color=#0080ff
size=3><B>Background</B><BR></FONT><FONT face=Arial color=#000000 size=2>The
humans has several senses, I belive we have 5. Some of us has a 6:th.<BR>The
most often used senses with electronic equipment are the eyes. We use all kind
of displays and LEDs. We read texts, and numbers. The disadvantage with the eyes
is that when we look at a display, we lose the concentration and focus from
something else. I will not mention what the TV does to our senses or girls
bicycling in short skirts!<BR><BR>This project is to increase information flow
and still keep our focus on something more important (like the bicycling girls).
The ISD4002-120 circuit is a recorder witch can store 120 second of sound
information. The shortest message can be 20ms. You can predefine where in the
memory you want to store your information. With this unit you can playback
information to a user witch will hear it. A good example is the car. Instead of
having lamps that blink when something is wrong you can use ISD4002-120 and play
a pre-recorded warning message. This technology is often use in commercial air
plains and combat-plains. The cool-factor of a homebrewed speaking equipment is
very high, I would give it a strong eight! *smiling*<BR>There are lot of circuit
that can store audio-info and I have got this ISD4002-120. I will explain how it
works and how you can store info.<BR><BR>I will also give you a windows program
where you can control the recording/playback and you can also program a WAV file
from your computer into the circuit. This window program is very handy if you
want to record many shorter messages. You could program all the speaking sounds
(letters) and then you can easy combine them into frases and you will have a
machine witch can speak from text.<BR><BR><FONT face=Arial color=#0080ff
size=3><B>Memory</B><BR></FONT><IMG height=191
src="ISD4002-120 Recording Circuit_files/mem.gif" width=229 align=bottom
border=1><BR><BR>The ISD4002-120 circuit contains 960k EEPROM cells for audio
storage. (see fig above) The cells are configured in a block with 600 row. Each
row can be addressed for playback or recording. Each row is 200ms long and
contains 8 EOM. A Recording is started with a specific record-command and a
address. After that command the circuit will record the audio until a stop
command is sent to the circuit or it reaches the end of memory. A stop command
will activate the next EOM. At playback, the circuit will continue to playback
until it reaches the EOM witch is at the end of the message. <BR><BR><FONT
face=Arial color=#0080ff size=3><B>Interface</B><BR></FONT><IMG height=176
src="ISD4002-120 Recording Circuit_files/mosimiso.gif" width=599 align=bottom
border=1><BR><BR>The interface to the ISD4002-120 circuit is serial. It starts
with the SS (Chip Enable) go low.<BR>The <B>MOSI</B> input is the info into the
circuit and the <B>MISO</B> is the outcoming info from the circuit.<BR><BR>A0 to
A9 set the address and CO to C4 is the command. The serial bitstream starts with
A0 and the last bit to send is the C4. When you clock info into the circuit you
also get information out from the circuit. P0 to P9 will give the address for
the last command. The output bitstream starts with OVF,EOM, P0...P9.
<BR><BR><FONT face=Arial color=#0080ff size=3><B>Hardware</B><BR></FONT><A
href="http://hem.passagen.se/communication/pic/isd4000.gif" target=ce2><IMG
height=316 alt="Klick on the pic to see a larger schematic."
src="ISD4002-120 Recording Circuit_files/isd4000l.jpg" width=620 align=bottom
border=1></A> <BR><BR>Lets have a look at the schematic. To the left you will
see a RS232 converter connected to a PIC16F84 processor. The processor convert
the the info from the computer to seriell data. The PIC also read the data from
the ISD4002-120 circuit and send it back to the processor. The protocol between
the computer and the circuit can be found a bit down on this page. The output
from the PIC are connected to the ISD4002-120 circuit via some resistors. The
ANA in+ at pin 17 is the analogue input, and the level shouldn't be higher than
32mV. The ANA UT at pin 13 is the analogue output, and the level is about 500mV.
The ISD4002-120 circuit also needs powers supply at 3V. The analogue and digital
part in the circuit has different supply connection. You can connect the
analogue and digital supply together, but it is very important to keep the pin
connected with short wires. The best is if you have a PCB with short wires. I
did some experiment on a experiment board and I had wires connecting the pins
together and the sound quality was disturbed by other signals, so I really
advice you to use PCB.<BR><BR><IMG height=414
src="ISD4002-120 Recording Circuit_files/isdsp.gif" width=571 align=bottom
border=1><BR><BR>In this schematic I have added a audio amplifier to the circuit
and I have also added a connector witch should be connected to the audio output
of your computer. The reason of this configuration is that you should be able to
program a WAV-file from your computer into the circuit. If you want you can
connect a microphone here instead or some other audio source. Make sure you have
a 32mVpp signal. <BR><BR><FONT face=Arial color=#0080ff
size=3><B>Protocol</B><BR></FONT><IMG height=188
src="ISD4002-120 Recording Circuit_files/prot.gif" width=512 align=bottom
border=1><BR><BR>The RS232 protocol is 19200 baud,Even parity,1 start and one
stop bit.<BR>The computer need two byte to send all the information to the PIC.
The first byte (yellow) contain C4 to A8, the second byte contains A7 to A0.
After the computer has send these two byte a replay will come from the PIC and
the first byte (blue) contain OVF to P5 and the second bye contains P6 to P9 and
the "X" is nothing. <BR><BR><FONT face=Arial color=#0080ff
size=3><B>Software</B><BR></FONT>Now when you know the protocol to the PIC16F84,
you can make controlling software yourself. If you want you can use the windows
program I have made for the ISD4002-120. This program will help you to program
the circuit with sounds. The software has six main control buttons. According to
the datasheets , there are 10 command one can send to the circuit and I have
connected six of the most used to buttons. I will explain them one by
one.<BR>Here you can find <A href="http://www.quadravox.com/vocapp.htm#top"
target=p1>Professionally recorded Vocabulary Library</A>.<BR><BR>
<TABLE cellSpacing=0 cellPadding=10 width="100%"
background="ISD4002-120 Recording Circuit_files/bgkbl.jpg" border=1>
<TBODY>
<TR>
<TD width="50%">
<CENTER><IMG height=268 src="ISD4002-120 Recording Circuit_files/isdg.gif"
width=327 align=bottom border=1> </CENTER></TD>
<TD width="50%"
background="ISD4002-120 Recording Circuit_files/bgkbl.jpg"><I>Recording
Example: </I><BR>If you send a record command to the circuit it will start
record until you send the end command. At the same time you send the end
command you will clock out the end address (P0 - P9). The internal address
counter in the circuit will be pointing at the next address.<BR>Let's say
you set the address to 000h and start recording for 7.9sec. When you send
the end command, you will receive 027 from the P0-P9. This means that the
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -