CariDotMy

 Forgot password?
 Register

ADVERTISEMENT

View: 2641|Reply: 17

heip!!!how to use chip??

[Copy link]
meera83 This user has been deleted
Post time 10-12-2006 02:41 PM | Show all posts |Read mode
recently, i have buy a chip ISD2532, this is a kind of record and playback chip.

i now facing with a problem that i don't know how to make a recording into chip..

is it i need install any program or use interface to make it done??
Reply

Use magic Report


ADVERTISEMENT


Post time 10-12-2006 05:44 PM | Show all posts
rule of thumb is, whenever you encounter a chip you are not familiar with, always look for the datasheet. here it is
http://www.ortodoxism.ro/datashe ... Devices/mXrwzqs.pdf
study it. that's the way to go, unless you can find someone who's familiar with that specific chip.

what's your major by the way?

Rate

1

View Rating Log

Reply

Use magic Report

meera83 This user has been deleted
 Author| Post time 10-12-2006 11:54 PM | Show all posts
Originally posted by BeanDiesel at 10-12-2006 05:44 PM
rule of thumb is, whenever you encounter a chip you are not familiar with, always look for the datasheet. here it is
http://www.ortodoxism.ro/datashe ... Devices/mXrwzqs.pdf
stud ...



yap, i already look through the data sheet before that.
but i still confusing with the equipment needed to do the recording.
What's i mean is for example, for cassette recorder,  i need to buy radio first. but how about the chip??:geram:

my major subject is communication and computer engineering.:pmuka:
Reply

Use magic Report

Post time 12-12-2006 06:30 AM | Show all posts
Originally posted by meera83 at 12/10/06 07:54 AM



yap, i already look through the data sheet before that.
but i still confusing with the equipment needed to do the recording.
What's i mean is for example, for cassette recorder,  i need t ...


I don't think you need to have a cassette recorder. it seems like that chip can store like 30-60 sec of audio. check out pg 18 of that datasheet for sample application. make sure you've read carefully and understand the function of each pin. also, check the timing diagram and see how it works. that's probably the only way to go.

what do u need the chip for? what is it that you're designing?
Reply

Use magic Report

Post time 12-12-2006 01:08 PM | Show all posts
Kalau ada 60sec audio storage why we need a recorder. A simple mic with correct interface to the chip.
Reply

Use magic Report

Post time 12-12-2006 01:08 PM | Show all posts
Kalau ada 60sec audio storage why we need a recorder. A simple mic with correct interface to the chip.
Reply

Use magic Report

Follow Us
meera83 This user has been deleted
 Author| Post time 12-12-2006 01:36 PM | Show all posts
Originally posted by BeanDiesel at 12-12-2006 06:30 AM


I don't think you need to have a cassette recorder. it seems like that chip can store like 30-60 sec of audio. check out pg 18 of that datasheet for sample application. make sure you've read ca ...



thanks:tq:

i m asking to design an interface, whenever a button is  pressed,
it can read out what had been shown at LED 7segment.

so i need to record and keep the sound word "ONE, TWO, THREE,...ZERO" in different address inside the chip...:pmuka:

aiya..ya...sakit kepala lo...:geram:
Reply

Use magic Report

Post time 12-12-2006 03:17 PM | Show all posts
Originally posted by meera83 at 12/11/06 09:36 PM



thanks:tq:

i m asking to design an interface, whenever a button is  pressed,
it can read out what had been shown at LED 7segment.

so i need to record and keep the sound word "ONE ...


ok, so basically you want to prerecord the audio for each number (i'm assuming from 0-9 only). and then the user push a button, and the device will playback the corresponding sound and display the number, correct?

the way I see it, you'll need some kind of keypad, connected to a microcontroller, and the microcontroller connected to both 7-seg display and the audio chip that is connected to a speaker. The microcontroller is used to interpret the signal from the switch (keypad), and then output appropriate command to the display and audio chip. I find it easier to do it that way since I'm a mechanical engineer and i've had experience programming a microcontroller. You may do it in a different way that you feel more comfortable with.


now, let's assume you've passed the microcontroller stage or whatever means of sending appropriate single to the chip you're using. let's see how to use the chip itself, that is, what signals the chip needs to be provided. or you can manually control the chip just for the sake of learning it. from here I'll call the controlling circuitry, MC.

now, look at pg 14. there are two timing diagrams. you'll need to understand both. since when you're developing it, you'll need to record it. after that, your device will just playback. to do this, you must have the timing diagram and the pin description side by side.

first, i assume you know how to connect the power supply, GND, mic and speakers. if not, see pg 20 for an example.

let's see how to record something.
here's what i think. you want to be able to record 10 sounds, and store it in unique addresses. so that when you want, you can prompt the chip to output whichever sound you want. so, you'll need to figure out how to record something and store it somewhere you know how to access.

so, from what I read on page 5, pins A7 and A8 can be used to activate pins A0-A6 for addressing purposes. If either or both A7 and A8 are low, A0-A6 can be used for the MC to tell the chip what address an audio segment should be stored in, and from which address you want to playback. So, from my understanding, just keep A7 and A8 low. if you keep them high, that means you'll use pins A0-A6 as M0-M6 in operational modes.

so, let's say you want to record the sound for number '0'.
first, you'll want to keep A0-A6 low, which means the address is 0.
and then take P/R low, signifying that you want to Record.
and then, (pg7), turn PD low, i guess this one is like waking up the chip. whatever, you'll need to do this anyway.
and then, you take CE low and the recording starts. keep it low while recording. If you connect an LED to EOM, it'll be turned on to indicate that there's an operation going on (i suggest you do this, so that you can monitor the progress).
when you're done recording for that number, take PD high.

do that again for sound for number 1.
only this time, A0 is taken high, while keeping A1-A6 low.

now, let's see how to access the sound for a specific number.
now you want to tell the chip which sound to playback. let's say you want to play the sound for number 4. your MC should make the pins A0-A1 and A3-A6 low, and A2 high = 4 in binary form.
now, (pg7), take PR high, indicating that you want to playback.
take PD low.
take CE high to start playing the sound.
i think the chip will stop playback as soon as the audio for that specific address is fully played back. if not, you can manually interrupt and reset the device using your MC.


so, that's how I think it works. Of course, I may be a little wrong, or totally wrong. I just skimmed through the datasheet real quick, and use my experience of how chips generally work to figure it out. my advise is again, you'll have to read every single sentence you find in the datasheet and try to understand each one of them. it's very challenging, especially if you have no prior background in this kind of thing like me. but it's really really fun. it became my hobby after finishing my successful design.

by the way, how much experience do you have in using any kind of microchips? and have you any experience in designing any type of digital circuit? just wondering. maybe if I understand your background better I may be able to suggest in better way. also, is this like a group project? is everyone assigned the same problem, or you guys chose to design this?

[ Last edited by  BeanDiesel at 11-12-2006 11:24 PM ]
Reply

Use magic Report


ADVERTISEMENT


meera83 This user has been deleted
 Author| Post time 13-12-2006 10:28 AM | Show all posts
Originally posted by BeanDiesel at 12-12-2006 03:17 PM


ok, so basically you want to prerecord the audio for each number (i'm assuming from 0-9 only). and then the user push a button, and the device will playback the corresponding sound and display  ...



:tq:thanks:tq:thanks:tq:thanks:tq:

i'll try first..

emm...if i choose to use microcontroller,that's mean i have to write programming,
therefore, i'll sakit kepala again..as a result, i have to take Panadol:pray:

i already try my hard best to escape from programming, programming is a wonderful subject that he know me,
but i didn't understand him lo...too bad
i plan to use Demultiplexing as a chip for pointing to certain address, hope it can work
la..
if can't, i think i will jump "longkang" first before change back to use microcontroller...:geram::geram:

actually, i m undergraduate student, this is my final year project..not in group...
experience???:hmm:ZERO
most of the chip that i use before is the common one..

anyway, thank you very very much much...:pmuka:

may you always be well and happy:nyorok:
Reply

Use magic Report

Post time 13-12-2006 10:42 AM | Show all posts
Originally posted by meera83 at 12/12/06 06:28 PM
emm...if i choose to use microcontroller,that's mean i have to write programming,
therefore, i'll sakit kepala again..as a result, i have to take Panado


yes, if you use a microcontroller, you'll have to learn how to program on that platform, usually in Assembly language. but once you know it, trust me you'll feel like there's nothing you can't design. it's like you have a blank chip, and you decide how it would work.

i don't know how much time you have. but let me tell you, it's not easy (maybe easier for you since you may have better background in computer programming or electronics). when i did my project, I learnt how to program the chip in 1.5 months, day and night.

if you don't want to do that, you can use preprogrammed chips that's available out there. but remember, timing may be critical. look at the timing diagram of this chip, and see how much time you need between signals. with a microcontroller, when you program it you can decide how many microseconds our output signals will be apart. otherwise, there may be a way but i'm just not familiar with it.

[ Last edited by  BeanDiesel at 12-12-2006 06:54 PM ]
Reply

Use magic Report

Post time 13-12-2006 10:53 AM | Show all posts
Originally posted by meera83 at 12/12/06 06:28 PM

i plan to use Demultiplexing as a chip for pointing to certain address, hope it can work
la..  


demultiplexing. :hmm: i have no idea how it works. well I'm a mechanical engineer. maybe that will work.

I would say that at this point, since this recorder chip is the most critical component, you might want to learn how it works first. because without it, nothing else matters. so, create a test circuit, learn as much as you can about how it works. then you can figure out how to control it using other components. also, always use an oscilloscope as much as you can to monitor stuff.

this can be done, even without experience. all you need is dedication. you've got to spend as much time as you can at the lab. when you go home you've got to continue whatever you can. that's how i did it. in fact, i remember when i slept, i sometimes dreamt of my program and stuff and woke up right away to do more programming and circuit design and testing. and i finally received an award for my design. so, if you give it your all, you can do well too. have the will.
Reply

Use magic Report

Post time 13-12-2006 11:05 AM | Show all posts
after thinking about it a little bit, i don't think you really need a microcontroller. probably, you can connect your switch direactly to this chip.
you just have to wire the switch such that for every button pressed, there will be some signals sent to the chip to make it playback, instead of only sending the index for the memory.

and you can also connect the switch directly to your display, or to a display controller, which should be relatively easy to learn.

one question. i assume you're in malaysia. where did you buy all these chips and whatever components you need? here in the US i just buy them from digi-key.com or mouser.com since they have pretty much everything. i always wondered how i can get those stuff in Malaysia.
Reply

Use magic Report

meera83 This user has been deleted
 Author| Post time 13-12-2006 12:08 PM | Show all posts
Originally posted by BeanDiesel at 13-12-2006 11:05 AM
after thinking about it a little bit, i don't think you really need a microcontroller. probably, you can connect your switch direactly to this chip.
you just have to wire the switch such that for ...



i m purely from Malaysia..
u from US?? then do you know Malay Language??sakit kepala??:jeling:

usually my lecturer will buy the component part from Farnell company, it's a big company for supplying E&E component..

yeah:pmuka:yeah:pmuka:,i already success to recording "Zero.....Nine"

but now got another problem with playback..
when i record:
0000 zero; 0001 one; 0010 two; 0011 three;....0101 Nine..

when play it back:
0000 == zero,one,two,three...nine.   (playback continuous)
0011 == seven,eight,nine  
0001==five, six,seven...nine

the sequential already kelam-kabut..

i think i have to think another way liao...:geram:
Reply

Use magic Report

Post time 13-12-2006 12:34 PM | Show all posts
Originally posted by meera83 at 12/12/06 08:08 PM



i m purely from Malaysia..
u from US?? then do you know Malay Language??sakit kepala??:jeling:

usually my lecturer will buy the component part from Farnell company, it's a big company for ...


ok great start. at least you get to record something and play it back.
i'm not sure exactly what went wrong, but i'll try to read it a bit more tonight. in the mean time why don't you figure out how to delete the recording.

oh yeah i do speak malay.
Reply

Use magic Report

Post time 13-12-2006 07:47 PM | Show all posts
hmm, i looked at it a bit again and i have no new suggestion about the recording procedure.

first, connect an LED to EOM. thn, when you playback, between the sounds of different numbers, do you see any change in that LED? I mean, supposedly, there will be a pulse between different audio files. if you don't see it, try to connect the pin to an oscilloscope, since the pulse may be too short for you to see with naked eyes.

if you see a pulse between sounds, it's a good sign i think.

now, about playback, let's try using Operational Modes. to activate Operational Modes, set pins A7 & A8 high.
now, take a look at page 11. I think M0 is the right one for your purpose.
now, try this.
1) take PR high
2) take PD low.
3) Let's say you want the sound for number 3. try giving CE 4 pulses. (because the first pulse starts it and the next pulses fast forward to the next ones).

it may work, it may not. i have no idea. i wish i have the chip with me and of course, time. I'd say give yourself a week to figure out how to use this chip. if you can't figure it out, maybe you should time yourself when you record each sound, and do something in your MC to force the device to stop playing the sound when necessary. alternatively, if the EOM thing i mentioned above work, then you're sure that at the end of each sound, there'll be a pulse output by EOM. use the pulse to do something to stop the playback, for example, connecting it directly (or inversed) to PD or CE something.

good luck.
Reply

Use magic Report

meera83 This user has been deleted
 Author| Post time 13-12-2006 08:54 PM | Show all posts
Originally posted by BeanDiesel at 13-12-2006 07:47 PM
hmm, i looked at it a bit again and i have no new suggestion about the recording procedure.

first, connect an LED to EOM. thn, when you playback, between the sounds of different numbers, do you  ...



thanks:tq::tq::tq:

you already help me a lot...:hatdown:

thanks..


May you always be well and happy:pmuka:
Reply

Use magic Report


ADVERTISEMENT


Post time 28-1-2007 07:43 AM | Show all posts

oobi pernah buat similar project in my senior year. just design a simple circuit, with a mic and a speaker, you dah boleh create a recorder. no programming, no need to use micro controller. dalam popular electronics magazine banyak contoh. not sure if it's available online though.

tapi kalau nak display what you stored in the chip to led, then ikut ajelah apa yang bean cakap tu.




[ Last edited by  oobi at 28-1-2007 07:45 AM ]
Reply

Use magic Report

Post time 29-1-2007 10:13 PM | Show all posts
i believe you might find the solution to your problem here:
http://www.winbond-usa.com/products/isd_products/chipcorder/applicationbriefs/apbr11.pdf

its an application brief for the isd1400, but may apply to the isd2532 as well, since they're functionally similar.

As it is, i believe you might be operating in default mode, in which case, the 10 recorded messages will playback consecutively  through the M5 active low CE -level activated mode.  When you enable the chip, the messages will playback from start, when the chip is disabled, playback will reset to start and begin again with next chip enable. With M4 consecutive addressing mode selected simultaneously with M5, the playback will not reset when chip is disabled, but will instead pause at where it left off, to resume again with the next chip enable. However, this might probably be what you have at the moment, as indicated by your posted observations.

You could get the chip to jump to your  desired message using the M0 message-queueing mode together with M4.

[quote]M0
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

 

ADVERTISEMENT



 

ADVERTISEMENT


 


ADVERTISEMENT
Follow Us

ADVERTISEMENT


Mobile|Archiver|Mobile*default|About Us|CariDotMy

28-11-2024 10:07 AM GMT+8 , Processed in 0.202925 second(s), 36 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

Quick Reply To Top Return to the list