MT8880 DTMF Transceiver
![Mike Cook](https://forums.parallax.com/uploads/userpics/760/nOXTNQ7SE5KSC.jpg)
I was doing some work with the MT8880 DTMF chip, that Parallax sells, today and did some updates to the sample programs. I though I would post them here for future reference.·
I'm building a car alarm/door unlocker for my truck using the BS2p24, EMIC module, MT8880 DTMF chip, and a GSM Cell Modem. Probably way over kill, but didn't want to have to add the car alarm transmitter to my key ring, and decided to use my cell phone as the input device for the truck alarm/controller.
Any way here's some links:
MT8880 chip on the Parallax web site:· http://www.parallax.com/detail.asp?product_id=604-00003
I'm building a car alarm/door unlocker for my truck using the BS2p24, EMIC module, MT8880 DTMF chip, and a GSM Cell Modem. Probably way over kill, but didn't want to have to add the car alarm transmitter to my key ring, and decided to use my cell phone as the input device for the truck alarm/controller.
Any way here's some links:
MT8880 chip on the Parallax web site:· http://www.parallax.com/detail.asp?product_id=604-00003
Comments
·· I just received two of these chips in my most recent order from Parallax...I bought them for HAM Radio Tone Decoding using a Scanner.· I downloaded your code to peruse later, but I wanted to ask, the screen shot of DEBUG, when it detects 10 & 12, are these like the * and # keys?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
·
The output from the MT8880 is:
DTMF KEY:······· MT8880 to Stamp Value:
· 1······················· 1
· 2······················· 2
· 3······················· 3
· 4······················· 4
· 5······················· 5
· 6························6
· 7······················· 7
· 8······················· 8
· 9······················· 9
· 0······················· 10
· *························11
· #······················· 12
I haven't connected to my·2m yet but I would assume that:
· A······················· 13
· B······················· 14
··C······················· 15
· D························· 0 ???
I'm having a little trouble ALWAYS decoding * (11) over the GSM Cell phone, so I've probably got some work to do on an audio filter.
Just checked the Nuts'n'Volts article, the chart above is correct. Here's a link to the article:
http://www.parallax.com/dl/docs/cols/nv/vol1/col/nv7.pdf
Mike
Post Edited (Mike Cook) : 8/21/2004 8:24:29 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
·
Chris,
I work for a company that manufactures GSM/GPRS Modems, I'm using one of our SA-G's (www.enfora.com) cell modems, besides being able to do data and SMS it will work like a standard cell phone. I'll probably use a pre-paid SIM in the truck modem (SA-G) and then use my standard cell phone to call it and do stuff, like lock/unlock doors, honk horn, flash head lights, ect., using DTMF from my cell phone to the truck's cell modem. The stamp connected to the cell modem (truck) will decode the DTMF and provide audio prompts using the EMIC module.
I still haven't done Jon Williams "Plan the work, work the plan" suggestion, so I'm building modules, testing and designing "on the fly". I've attached a picture of the MT8880 decoder board that I built, still have more work to do!
Mike
Post Edited (Mike Cook) : 8/21/2004 9:03:32 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
·
Mike >>
I use the Enfora modems *** well. Great product to a sensible price. beside that your company gives a great support.
//akj
Mike
A procedure that worked for me: When you get around to building your MT8880, run the 8880_DTMF_RCV.BS2 first. You will need to amplify the output signal from pin 8 of the chip. I first connected pin 8 to an 8ohm speaker and could just barley make out the transmitted DTMF from the MT8880, then used a·pair of amplified computer speakers (I bet you have a lot of these!
Mike
·· Thanks for the information.· I'm sure it will help when I get to using this chip (One I've never used before).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Post Edited (Chris Savage (Parallax)) : 1/15/2008 3:12:17 PM GMT
I used the schematic and code from Mike Cook to test the function of MT8880. I used a microchip PIC16F876A is used to control MT8880CE.
I can send out DTMF by MT8880 but can not detect input DTMF signal.
Could you both give some hint to resolve it?
Thanks for your attention.
Frank Huang
604-590-8396
I've never use the MT8880, with any other processor besides the Parallax Basic Stamp (BS2 or BS2px24)·or the MicroMint Z8 (1983' version). So I might not be much help.
When I tested the MT8880, as detailed in the previous posts, I was able to get·MT8880 to work with the above posted micro's.
Please detail out what is 'not working' and I'll try to help.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike
Have you used the bypass capacitors on the power input (Vdd) as Mike's schematic shows? If not you need to add them, regardless of how stable you feel your power supply is. These capacitors are NOT OPTIONAL, they are REQUIRED.
The very symptom of NOT having them is that you can send but not receive DTMF tones!
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Veni, Vidi, Velcro! - I came, I saw, I stuck around!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support