Can a Propeller talk to a cell phone?
iQuit
Posts: 78
I've got a project in the concept stage, and was wondering if it might be better to use a Propeller instead
of a BS2.
I want to connect a uC to a cell phone, call in commands to the cell phone that are interpreted by
the uC, which in turn executes the command. Also, the uC will call out using the attached cell phone during
an alarm condition. Using the BS2 requires an external IC (DTMF decoder MT8880).
Can the Propeller interpret the incoming DTMF tones without the external IC? Is there a better way of doing this?
I want to use the DTMF tones because I wish to be able to use any phone to send commands to the
cell phone/uC set up.
Thanks in advance for any help.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"She may not be very pretty now, but she was somebody's baby once." Bugs Bunny
of a BS2.
I want to connect a uC to a cell phone, call in commands to the cell phone that are interpreted by
the uC, which in turn executes the command. Also, the uC will call out using the attached cell phone during
an alarm condition. Using the BS2 requires an external IC (DTMF decoder MT8880).
Can the Propeller interpret the incoming DTMF tones without the external IC? Is there a better way of doing this?
I want to use the DTMF tones because I wish to be able to use any phone to send commands to the
cell phone/uC set up.
Thanks in advance for any help.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"She may not be very pretty now, but she was somebody's baby once." Bugs Bunny
Comments
There have been a couple of threads ...· don't have them· in front of me.··I'm sure the guys will chime in with direct links....·a couple of guys have hacked certain available cell phones for exactly this purpose.· Generally, this requires the ability to hack into an existing serial port and use it to send AT commands.· This approach is by far the·cheapest and if you can get the right cell phone, it·would be the bananas and I would go in that direction.· I could never seem to find the right cell phone at the moment I was looking. So, I followed a different path.
I have posted example code which allows the Prop to control a telit module... available from Sparkfun.... again, only a direct serial connection is required.· When you do this, you are building a PropPhone.· You use your prop to send AT commands.··My demo code includes using text messaging·(or email)·to send commands and to post data from your bot.· The Prop can hand this without breaking a sweat.· I'm slowly building a robot around it.· For me this is part of a serious·hobby application,· but even I don't have the link.· If you decide on the Prop and are interested in the code, let me know and I will post the code again here.· If you need help, I'd be happy to help you out but I'm in and out of the forum .... so you might have to wait. This is a fairly pricey approach... but it is pretty simple and gets you going on a path that is certain to be successful if you just stick with it.
Up until I got the TSL1401, mating a telit module to the Prop was as much fun as I've had working on a project.· The TSL gives us the ability to do ranging and all kinds of interesting imaging... under very remote control, using a "PropPhone."
I have not found anything that the Prop cannot do... I have found a few things that you would have to be nuts to do with a Prop... because there would be better and cheaper ways to do it.· But if you ask a question.... "could I do 'this' with one or more Props?"· The answer is nearly always "yes."·· That is a fairly compelling reason to jump in.· I think you have chosen exactly the right project to get your feet wet.
Rich·
·
http://forums.parallax.com/showthread.php?p=744931
http://forums.parallax.com/showthread.php?p=756456
good luck,
be able to send simple commands using any phone i.e. pay phone, another cell phone etc. The project you linked to
mostly goes the other direction.
Would the Say It module found here
http://www.parallax.com/StoreSearchResults/tabid/768/List/0/SortField/4/ProductID/589/Default.aspx?txtSearch=voice+recognition
recognize a DTMF tone as a "spoken" word? Seems to me that once you teach it that a DTMF tone was a word, that it
should recognize it as such. Only draw back is its price.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"She may not be very pretty now, but she was somebody's baby once." Bugs Bunny
I agree about using the dedicated IC, but since this is a one-off device, I can live with it. If using a Prop would be quicker,
I would go that route. I would even take the time to learn Spin.
If someone does have knowledge about Spin code that could decode the DTMF tones, then I would probably go the Prop
route just to keep the project neat and expandable.
Thanks for the input
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"She may not be very pretty now, but she was somebody's baby once." Bugs Bunny
I do know Basic as it applies to the Stamp uC.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"She may not be very pretty now, but she was somebody's baby once." Bugs Bunny
I think he means Phil Pilgrim (PhiPi). He's one of the gurus here and he's the brains behind some of the cool new sensors, etc. that Parallax is offering these days:
http://forums.parallax.com/showthread.php?p=789451
And yeah, that probably means you could do your project with a Stamp. Don't get me wrong, I love Stamps, used 'em for years, but I'll probably never touch another one now that I'm Propellered. It's not just that the Prop is more powerful, unless what you're doing can be handled by a BS1 it's also probably cheaper as well as way more powerful.
to Spin my next project. However, I refuse to assemble ever again. [noparse];)[/noparse]
D
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"She may not be very pretty now, but she was somebody's baby once." Bugs Bunny
Here's a link to my Goertzel object. It includes the skeleton of a DTMF decoder:
http://forums.parallax.com/showthread.php?p=838268
(I really should finish this and post it to the OBEX.)
-Phil
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"She may not be very pretty now, but she was somebody's baby once." Bugs Bunny