Arduino sms remote control with old cellphone.
I create an Arduino project with old cellphone to work as GSM modem for remote control my A/C.That let you control your arduino and connected device from your cellphone with simple sms.Connect your arduino board with your old cellphone to work as GSM modem.I used an old Sony Ericsson K700 , support AT commands and serial connection with cable.For all models cellphones pins output look at pinouts.ru. When we send sms to modem cellphone , arduino read sms from serial port if we send from arduino AT+CMGR=1 to cellphone.Look into my test sketch the AT commands.With this sketch you can control the default arduino LED pin 13 with sms (on).Inside sms you could find the sender number in PDU format.Only administrator sender numbers control the arduino if we want ( admin number ).For sms with pdu format look links into my Recouces page or find infos from Google.For AT commands you could find infos from Google and into http://developer.sonymobile.com.I think is a cheap and easy way for remote control devices (with IR pulses signal or relays) from anywhere in the world!!!
Download the sketch and load it with arduino 0022 software.
Better erase all old sms from memory before use the cell phone as GSM modem.
Also i wrote a sketch for control my A/C Toyotomi.
If you want the library PulsesIR A/C Toyotomi ( you can disable it for test it with led ) is inside download page.
Alarm system with arduino , pir sensor and cellphone for gsm modem.
If you add a pir sensor in digital pin of arduino,you could create very easy a simple alarm system.IF arduino digital pin 3 = high THEN send sms to admin "ALARM PIR SENSOR 1" or make an outgoing call to admin.For fire alarm you can use the temp sensor.IF temperature > 60 celcius THEN send sms to admin "Temperature > 60!!!MAYBE FIRE".I suggest to use power supply for arduino and cellphone (9V,1-2A).When the power supply is off, the system use the battery from cellphone.
You can connect cellphone with arduino via cable (look my photo) with serial port or via bluetooth with bluetooth shield after pair devices.
PC + PuTTY terminal test
I connect PC and SONY ERICSSON K700 with bluetooth open PuTTY terminal and test it with AT commands.I think can work and with arduino bluetooth shield.
I start for test the connection between cellphone and terminal with AT + ENTER and reply OK.
After use AT+CPMS="ME","SM" + ENTER to select the sms storage memory area in the SIM card.
After use AT+CMGR=1+ENTER for read sms at possition 1.
For make cellphone remote control your arduino must read the incoming sms repeatedly every x secs from cellphone into loop.
For doing this you must delete all old sms before use it.After send the first sms and store it in first position.
Arduino send AT+CMGR=1 for read sms , read the inside PDU message , PDU sender number and decide for arduino command for example digital pin high or low.
After that the sms must deleted with AT+CMGD=1+ENTER and wait for new sms...
You can use outgoing call inside your code with this AT command ATDXXXXXXXXX;+ENTER xxxxxxxx=number for outgoing call...
For terminate your call use ATH+ENTER .
If the cellphone no have sms is normally detect ERROR after AT+CMGR=1.
Another important AT command for use cellphone clock,calendar is AT+CCLK?
Displays the current date and time setting.Reply string: "year/month/day,hour:min:sec + - time zone".
I start and a new project with old cellphone ( not android ) with java2me code for use as modem for arduino with bluetooth connection....or for control your arduino from cellphone over bluetooth...
Stay online for the new project!!!Very soon i will present it!!! For any questions you can send me E-MAIL : email@example.com