Pages: [1]   Go Down
Author Topic: Detect DTMF Tones without DTMF  (Read 1294 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 48
Arduino is awesome
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
I am building a project in which I am interfacing an old touch-tone telephone with my arduino. I have successfully hooked up my ardiuno to a telephone which hooked up to another telephone that the user will use. I have basically made an intercom system. I am able to generate DTMF tones with the Tone library (https://code.google.com/p/rogue-code/wiki/ToneLibraryDocumentation). I am using the schematics (input and output) in another post: http://forum.arduino.cc/index.php?topic=177166.0

I am looking for a library that I can use the input circuit with. I don't want to have to use a DTMF decoder unless it is the only option. I saw this post (http://forum.arduino.cc/index.php?topic=121540.0) but the library doesn't work. I want it so that when someone presses a key on the telephone the arduino can detect which tone is pressed. Basically using the telephone as a keypad.

My first idea for this is to make a basic simon game where a random tone is played and then more and you have to keep up by memorizing it and playing it back. Another is to get the Ethernet shield and have it check my email or some other things. Lastly, I am going to make it sound like you are listening in to someone else's call.

Thanks in advance

Arduino Mega 2560 R3
Windows 8 32-bit
Logged

An Arduino is not a toy; it's a professional utilitarian tool.

Offline Offline
Faraday Member
**
Karma: 68
Posts: 2805
The last thing you did is where you should start looking.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I don't want to have to use a DTMF decoder
I believe this is your only choice.
Quote
I am able to generate DTMF tones with the Tone library
DTMF are 2 tones not one.
Logged

The way you have it in your schematic isn't the same as how you have it wired up! That goes for me too.

Offline Offline
Newbie
*
Karma: 0
Posts: 48
Arduino is awesome
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Did you look at the Tone library link? It has a DTMF example.

If a DTMF Decoder is my only choice, where should I get one, what are my choices, what is the price, and what libraries should I use. Is a shield necessary? If so is it compatible with the Ethernet shield? I will use the Ethernet shield for other things.

Does the decoder generate as well as decode the tones? What voltage does my "virtual" phone line need to be? I am currently using a 9 volt battery to power both phones. The main one has a REN of 1.4B and the other a REN of 7.8.
Logged

An Arduino is not a toy; it's a professional utilitarian tool.

Offline Offline
Faraday Member
**
Karma: 68
Posts: 2805
The last thing you did is where you should start looking.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have used these in the past:

MK5089 Generator    2.5-10 Volts
http://f4avi.homelinux.net/realisations/clavier_DTMF/mv5089.pdf

HT9170 Decoder        5 volts
http://www.ece.usu.edu/ece_store/spec/HT9170.pdf   
Logged

The way you have it in your schematic isn't the same as how you have it wired up! That goes for me too.

Offline Offline
Newbie
*
Karma: 0
Posts: 48
Arduino is awesome
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks! Do you know of any libraries that are made for these? Where could I get them? Do they use Serial, SPI, I2C, etc.? Would they require any additional components?
Logged

An Arduino is not a toy; it's a professional utilitarian tool.

Offline Offline
Faraday Member
**
Karma: 68
Posts: 2805
The last thing you did is where you should start looking.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You would probably use "port manipulation" techniques (search the forums).

You can by them on eBay, they do require separate crystals.


* 7-20-2013 9-39-36 PM.jpg (92.29 KB, 800x521 - viewed 55 times.)
Logged

The way you have it in your schematic isn't the same as how you have it wired up! That goes for me too.

Pages: [1]   Go Up
Jump to: