Propeller DTMF?
Microcontrolled
Posts: 2,461
Does anyone have an object that can produce DTMF tones for dialing a phone? Also, what is the suggested circuit for this? Thanks in advance.
Micro
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Computers are microcontrolled.
Robots are microcontrolled.
I am microcontrolled.
SX Spinning light display·
http://designedbymemicros.blogspot.com/
Micro
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Computers are microcontrolled.
Robots are microcontrolled.
I am microcontrolled.
SX Spinning light display·
http://designedbymemicros.blogspot.com/
Comments
http://forums.parallax.com/showthread.php?p=875553
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Computers are microcontrolled.
Robots are microcontrolled.
I am microcontrolled.
SX Spinning light display·
http://designedbymemicros.blogspot.com/
Good luck
-Phil
Post Edited (Phil Pilgrim (PhiPi)) : 1/28/2010 7:45:36 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Computers are microcontrolled.
Robots are microcontrolled.
I am microcontrolled.
SX Spinning light display·
http://designedbymemicros.blogspot.com/
I think you are still stuck though needing some 8870 for at least receiving DTMF, if not an 8880 for both sending and receiving.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
There is no problem that can't be solved with a suitable amount of explosives!
EOD Memorial
-Phil
Thanks Phil this should give me the boost I need. I've had a project on paper for some time that needed a DTMF decoder. The problem was all the decoder ICs I could find were obsolete, and hard to find. I figured the Prop could do it but didn't know where to start. Thanks again.
I'm looking for one too!
I tried doing this over the December break and I share what I learned, observed and make some suggestions on what not to do and how to achieve the result.
I was wanting to get one Propeller to generate DTMF and another to listen for it.·I found out about the DTMF generation frequencies in wikipedia http://en.wikipedia.org/wiki/Dtmf·
I thought I'd start with the generation first as that would probably be the easiest part! I tried using the frequency SYNTH object as it would output 2 frequencies per cog - which sounded great for DTMF (which is made from summing two frequencies).·What I found is that the frequency SYNTH object put out a neat squarewave at the right·frequency. I then summed these from two pins via 1K resistors.·Listening to it, it sounded sufficiently close to my human ear to be DTMF, and I seemed to be able to make which ever ones I wanted by mixing the frequencies. To prove that it worked I tried manually·detecting DTMF using the MC14536 DTMF detector chip ·http://www.jaycar.com.au/products_uploaded/MC145436.pdf·However no matter what frequency groups (for DTMF codes) I couldn't detect it. So the question was, is it a problem with the·DTMF generation or the DTMF detection?
To then prove the DTMF·detector was working I then·ratted the box of old phones in the shed until I found one that had a·DTMF generator·chip that I could·find·enough information on to get it to output DTMF when not connected·to the phone line. From there I found that the DTMF detector worked fine.·So the detector was working!
I then·looked at the DTMF from the phone·ong my CRO and it was a couple of very·beautifully formed overlapped sine waves, and not at all like my superimposed·square waves!
I then tried shaping the square waves with inductors and caps to try to round out the edges, but eventually·I gave up after frustration.
I suspect to get the Propeller to output DTMF then we we'll have to generate two nice overlapping sine waves. The start will be to get it to output a sine wave at a defined frequency. I'm guessing we would use a couple of resistors like the composite video DAC, but this will be more complex.
Does anyone out there have a decent sine wave generator?
Dave
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
JMH
I am working on this project every day so if any one wants to send me a PM I would be more than happy to share what I have learned so far. Its pretty neat.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Alex Burke
"It is not how smart you are rather, it is how you are smart." -Jon Campbell
While both of these would do the job they aren't widely available because I don't think they are in production anymore. Which speaks to my earlier point, honestly if there were newer versions of both DTMF in/out ICs I would be tempted to take the route you did.
Once I wrap up my current project I would love to attack the task of getting the prop to send and receive tones without use of many external chips. This is probably going to be a more difficult task than it appears to be. In fact I know it is. These circuits are pretty finicky and even with dedicated chips it can become very tedious, let me tell you. Generation of tones is the easy part, getting a prop to decode and isolate the tone is a whole nother' bag of worms. I will buy some one a drink if they can create a working DTMF tone encoder/decoder with only a prop and discrete components. It took me a month to get one working with dedicated chips.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Alex Burke
"It is not how smart you are rather, it is how you are smart." -Jon Campbell
Post Edited (IRobot2) : 1/29/2010 4:12:31 PM GMT
http://www.bgmicro.com/index.asp?PageAction=VIEWPROD&ProdID=10622