Stamp use with cell phone and SMS
stamptrol
Posts: 1,731
·I have a data gathering/alarming application where the stamp will be at a remote location watching over some equipment. I have commercial power there but not always a land-line phone line.
· Has anyone had direct experience with getting the stamp to use a cell phone to send text messages? The idea would be for the stamp to initiate one or more short messages to the phone of the tech on call when a serious alarm occurs.
· The problem can be solved technically in several ways (wireless to someplace where there is a landline, getting Internet into the remote site, satellite Internet, etc) but cost is a real constraint and the cell providers have lots of promos going on where I can get cell phones and message service at a very low cost.
· Thanks for thinking this over.
· Tom Sisk
··
· Has anyone had direct experience with getting the stamp to use a cell phone to send text messages? The idea would be for the stamp to initiate one or more short messages to the phone of the tech on call when a serious alarm occurs.
· The problem can be solved technically in several ways (wireless to someplace where there is a landline, getting Internet into the remote site, satellite Internet, etc) but cost is a real constraint and the cell providers have lots of promos going on where I can get cell phones and message service at a very low cost.
· Thanks for thinking this over.
· Tom Sisk
··
Comments
·· I have thought of this myself in the past.· It's kind of like with digital cameras...Early on it seemed to be easy to communicate and control them from a BASIC Stamp and there were published protocols...Now it seems everyone has their own proprietary way to do this.· I guess you would need to use a phone that had a serial interface that the Stamp could talk to, so I guess the real starting question is does anyone know of such a phone that can still be used on current networks?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Thanks for info. I've been pulling in information and have found a couple of possibilities that are dealing with the proprietary issues you mentioned.
I've got a Samsung camera phone which I will "draft into service" to try some of these things. Will keep you informed.
Tom
·· Definately let us know what you find...If time permits soon I will be doing a Google search to try and narrow down such things myself.· It happens that I have a Motorola phone with service that doesn't get used at all.· It would be perfect for such a project if I knew how to communicate with it.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
and several eval boards for the modules: http://www.sparkfun.com/commerce/categories.php?cPath=66_69
nice thing is they are designed to be interfaced in the manner desired, so the info should be easier to aquire.
Just be sure to get a phone from the provider which has a SIM card in it, or perhaps you can just get a SIM card in lieu of the free phone deal.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
1+1=10
·· I wasn't aware of these...At least not that they could be set up on standard Cel-Service.· I had heard of GSM Modems and was looking into those.· I will do a little more research.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
1+1=10
We use Campbell's equipment across the country and in many place we have to use cell and sat comms.
Anyhow, check'em out here!
http://www.campbellsci.com/telephone
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
Steve
"Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
So far, I think the attached site is getting close to what will work.
www.riccibitti.com/tinyplanet/tiny_article.htm
I'm pretty sure the micro shown can be "upgraded" to a stamp!
Cheers
But it looks like that might be a good candidate for the job
Rafael
Here's my GPS tracker using SMS:
s95417013.onlinehome.us/ktekx/3.htm
The controller would· easily·be replaced by a stamp... I don't have the schematics, not the closest relationship this him so that I persuade him to upload the schematics...
At least, it's possible...
Provas, Greece
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-Rule your Destiny-
--Be Good. Be Bad. Be Provas--
We did some work with a Siemens Industrial Cellphone unit about a year ago.
1. The cellphone unit used the standard Modem AT commands
2. The text input from a Stamp BS2p works fine
3.·The SMS text out from the cellphone is not buffered and flow control and RTS/CTS doesn't work
We played round with the SX28 UART buffer but ended up using a PC
in addition, the pins on the cellphone were wired incorrectly. A truly frustrating project!
The unit we used isn't on the market any more but, as security (protection against murder, rape·and robbery) is such big business in South Africa, there are dozens of other similar units here being linked to PICs PCs and even PLCs.
Just make sure the unit has that buffer on the ASCII output.
Good luck from Kwa Dukuza
John Bond
·
Keep all those tips and reports coming! I've ordered some cables, etc for my Samsung phone and will be descending into the belly of the beast shortly. Will report if I survive!
Tom Sisk
I got the cable for my Samsung cell phone and tested it with Hyperterminal on a PC. With the included USB drivers, I was able use the phone as a modem and dial out, etc. It appears that I may not be able to access the messaging registers with this particular phone.
However, for my remote monitoring project, just having a wireless dialup modem may give a suitable and secure system.
The Samsung cable is, of course, USB on the computer end so I need to convert it back to RS-232 for the Stamp to use. I have a Parallax USB - RS232 converter module, which is normally powered from the PC's USB port. Its USB connector is male and won't mate directly with the cell phone's USB plug.
Has anyone seen/used an adaptor that has external power and has the USB end as female (that is, the same as would be found on a PC or laptop)? I checked with the cable plugged in the phone and the USB power leads are dead.
Thanks
·· If the phone is USB you may not have any connection options for a BASIC Stamp.· The USB to Serial adapters only work one-way in terms of conversion.· They will give you a serial port from a USB Port, but not the other way around.· Is there any chance of accessing the phone internally where there is most likely some TTL level serial interface?· I don't know anything about this phone, but maybe someone has hacked it on the internet somewhere?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Just been looking at the USB specs.
What I need is to make a USB socket connection from an existing RS-232 port. Sort of like having a laptop with an existing serial port but no USB port. As usual, I'm looking for pretty much the oposite of what is commonly available!
I haven't ruled out cutting into the boss's phone, but was hoping to be able to go with off-the-shelf solution as much as possible.
Cheers,
Tom Sisk
·· It will be interesting to see what you come up with.· Please post what you find.· Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
1. find a serial cable and connect the pins (remember that some serial cables require a power source to switch the internal circuits, you'll be basically switching from TTL-> RS232 ->TTL)
2. find the pinouts for that particular cell phone, hack your USB cable up and solder the pins directly to your Stamp
For my cellular GPS tracker project, I did #2 because it was the easier thing to do since buying a serial cable and interfacing it as RS232 voltage and back to TTL is a bit redundant.
Hope that helps any, good luck!
I am also interested in what you come up with.
Please post what you find
There may be a Project that i thinking about doing some time soon
When i have the time
Thanks for your time
Sam
··· It looks like there are a couple of ways to proceed.
··· The original idea of using SMS will be fine if the phone supports access though the cable to the SMS registers in the phone. I now know that all do not, even when the phone itself does SMS quite nicely.
·· But, I did find out that many of even the basic phones out there will work very nicely as modems which would be fine for my data logging/alarm reporting. But, many newer phones only offer USB connection cables which are designed to plug into a PC or laptop.
·· There is no easy way at present to convert a serial connection into a host-style USB port. However, as one poster pointed out, some phones have both TTL serial and USB at their connectors. Mine, of course, has only USB at the connector. Will chase that avenue down as well.
··· I also want to see what I can come up with using the phone's voice activation system. I picture the Stamp using a voice generator to say "Call Fred" then having it tell Fred whats going on at the remote site.
··· Post on!
· Tom Sisk