EmbeddedRelated.com
Forums
Memfault Beyond the Launch

BASIC STAMP 2 AND DTMF.....

Started by Martial October 12, 2003
I'm tryind to decode DTMF signal generated by a BS2 with a
CD22202...and I don't succeed.Has somedody the solution to my problem?
jean



From: Martial <>

> I'm tryind to decode DTMF signal generated by a
> BS2 with a CD22202...and I don't succeed. Has
> somedody the solution to my problem?

You might try doing an FFT on the waveform. The maximum DTMF
frequency is 1633 Hz, and a BX-24 or BX-35 can sample up to 6 kHz,
which should be plenty fast enough. I haven't tried DTMF decoding
myself, but I'd guess it shouldn't be too difficult.

-- Frank Manning
-- NetMedia, Inc.



tHANK YOU FOR YOUR MAIL BUT....WHEN I CONNECT BASIC STAMP 2 WITH DTMF
GENERATION IN ORDER TO DECODE THE SIGNAL WITH A CD22202....NOTHING HAPPENS; WHERE IS
THE PROBLEM? HAVE YOU AN IDEA?
JEAN



I have used the 8870 to do this which is very easy and works very well,
but there are many many chiips which do the same thing. Just do google
search and you will get sveral thousand replies.

Frank Manning wrote:

> From: Martial <>
>
> > I'm tryind to decode DTMF signal generated by a
> > BS2 with a CD22202...and I don't succeed. Has
> > somedody the solution to my problem?
>
> You might try doing an FFT on the waveform. The maximum DTMF
> frequency is 1633 Hz, and a BX-24 or BX-35 can sample up to 6 kHz,
> which should be plenty fast enough. I haven't tried DTMF decoding
> myself, but I'd guess it shouldn't be too difficult.
>
> -- Frank Manning
> -- NetMedia, Inc. >
> <http://ashnin.com/clk/muryutaitakenattogyo?YH707890&yhad95054" target="_blank" rel="nofollow">http://rd.yahoo.com/M$4522.3707890.4968055.1261774/D=egroupweb/S06554205:HM/A95054/R=0/SIG4ukap9t/*http://ashnin.com/clk/muryutaitakenattogyo?YH707890&yhad95054 >
> ">http://docs.yahoo.com/info/terms/>.


Jean
You are asking a pretty open ended question. Is the BS2
running? Can you flash a led for example. Is there any output on the
DTMF pin...can you look at it with a scope, or can you hearc it with a
xtal earpiece?
This group is dedicated to the BX24 which is a different device ( and
more powerful than the BS2). The BS2 discussion group can be found at
parallaxinc.com
regards
neil wrote:

> tHANK YOU FOR YOUR MAIL BUT....WHEN I CONNECT BASIC STAMP 2 WITH DTMF
> GENERATION IN ORDER TO DECODE THE SIGNAL WITH A CD22202....NOTHING
> HAPPENS; WHERE IS
> THE PROBLEM? HAVE YOU AN IDEA?
> JEAN >
> <http://ashnin.com/clk/muryutaitakenattogyo?YH707890&yhad95055" target="_blank" rel="nofollow">http://rd.yahoo.com/M$4522.3707890.4968055.1261774/D=egroupweb/S06554205:HM/A95055/R=0/SIG4j83ehr/*http://ashnin.com/clk/muryutaitakenattogyo?YH707890&yhad95055 >
> ">http://docs.yahoo.com/info/terms/>.


At 08:16 AM 10/14/2003 +1300, you wrote:
>>>>
I have used the 8870 to do this which is very easy and works very well,
but there are many many chiips which do the same thing. Just do google
search and you will get sveral thousand replies.

<---I agree. An 8870 is a couple of bucks and only takes 5 I/0 lines to
interface. Unless you're trying to experiment, just use an 8870 and be done
with it...

Ken
------ http://www.ah6le.net
The RC-210 Repeater Controller is now shipping!
For more information, please visit:
http://www.ah6le.net/arcom/index.html
AH6LE/R - IRLP Node 3000
http://www.irlp.net




Memfault Beyond the Launch