You are on page 1of 21

3/4/2016

Tutorial:SendSMSfromyourArduinousinganoldMotorolacellphone|ArduinoProjects

ArduinoProjects

SubscribeviaRSS

byJeffMurchison

HOME

ABOUT

OPENSOURCE/CODE

PRODUCTDOCUMENTATION

TUTORIALS

STORE

Tutorial:SendSMSfromyourArduinousingan
oldMotorolacellphone

CONTACT

Search

PostedbyJeffMurchisononSeptember17,2012
Categories

SelectCategory
RecentPosts
IntroducingtheTinyLoadrAVR
Programmer
Docs:HowtousetheTinyLoadrAVR
Programmer
ArduinoPoweredFoosballScoreboard
(Part2)
ArduinoPoweredFoosballScoreboard
(Part1)
nRF24l01+2.4GHzWirelessArduino
TransceiverCode
PopularPosts

SendingtextmessagesfromyourArduinocanbeabitofahassle.Inthistutorial,Illshowyoua
simplewaytosendtextmessageswithyourArduinoforaround$20.
IfyouwanttosendatextmessagefromyourArduino,youvegotbasicallythreeoptions:
UseaGSMshield
UseanethernetshieldtosendemailstoawirelesscarriersemailtoSMSgateway
http://murchlabs.com/sendsmsfromyourarduino/

Tutorial:SendSMSfromyourArduino
usinganoldMotorolacellphone
Docs:HowtousetheTinyLoadrShield
MondayExperiment:Bootloadingan

1/21

3/4/2016

Tutorial:SendSMSfromyourArduinousinganoldMotorolacellphone|ArduinoProjects

PlugyourArduinointoacomputerviaUSBandhaveascriptrunningonyourcomputerthat

ATmega32u4withArduino

usestheaforementionedemailtoSMSgatewaymethod.

TinyLoadrShieldUpdated!

Unfortunately,thesemethodsareeitherexpensive,requiresomewhatcomplicatedcode

ArduinoISPDeluxeShield

(dependingonyourcodingabilities),orboth.Thelasttwooptionsalsorequireyoutobewithin
rangeofaninternetconnectionoracomputer,whichisntalwayspossible.

Archives

Fortunately,thereisanotheroptionthatischeap,requiresonlybasiccode,andallowsyoutouse
itanywhereyouvegotpowerandcellservice:useyourArduinotointerfacewithacellphone

October2014

overaserialconnection.InthistutorialwellbeusingtheMotorolac168i,whichcanbefoundon
CraigslistoreBayforlessthan$20.YoumayalsobeabletouseMotorolasC257,C261,V175,

August2013

V176,V177,C168,W220,andW375,astheysharethesameserialconnector.Youmightbeable
touseanotherkindofphoneprovidedithasaserialconnection(veryuncommoninnewer

July2013
June2013

phones),butitwilllikelyhavedifferentserialpinoutsand/oradifferentsetofsupported
commands.

December2012
November2012
October2012
September2012
July2012

Whatyoullneed
AnArduino(obviously)
MotorolaC168iwithworkingSIMcard
Smallbreadboard+jumperwires
3/32headsetplug(TRS)
http://murchlabs.com/sendsmsfromyourarduino/

2/21

3/4/2016

Tutorial:SendSMSfromyourArduinousinganoldMotorolacellphone|ArduinoProjects

10Kohmresistor
Pushbutton

Steps
1.SetupyourC168i.
YoullneedtomakesurethatyourMotorolaC168iisworkingproperlyandthatyoucan
sendtextmessagesfromit.Ifyoubrowsethephonessettings,youcanchoosetodoa
masterresetaswellasinitialphonesetup.
SetupyourC168iaccordingtoyourcarrierssettings,andensureyoucansendatext
messagefromthephoneitselfbeforecontinuing.
2.Solderwirestoyourconnector.
Youllwanttosolderonewiretoeachofthethreeconnectorsonyour3/32headset
plug.ThetipconnectorwillbeourserialTXconnection,theringconnectorwillbeour
serialRXconnection,andthesleeveconnectorisourgroundconnection.Inthisphoto,
mybluewireisTX,whitebluewireisRX,andgreenisground.Useamultimetertofigure
outwhichpinconnectstowhichpartoftheconnectorifyourenotsure.

3.Maketheconnections.
ConnecttheTXtopin2ofyourArduino,connecttheRXtopin3,andconnecttheground
connectiontoGND.Connectyourpushbuttontopin8.Makesuretousethepulldown
resistor,oryoumaygetfalsereadings.Seetheimagebelowforawiringdiagram.

http://murchlabs.com/sendsmsfromyourarduino/

3/21

3/4/2016

Tutorial:SendSMSfromyourArduinousinganoldMotorolacellphone|ArduinoProjects

4.Modify&uploadthecode.
Substitutethephonenumberforyourownintheexamplecode(foundatthebottomof
thispost)anduploadittoyourArduino.
5.Plugitinandtestitout.
Plugthe3/32headsetplugintotheheadphonejackonthetopofthephoneandpush
yourbutton.TheonboardLED(13)shouldblinkwhenthemessagehasbeensent.You
canverifythisbygoingintothephonesoutbox.Ifthemessagedoesntsend,orthe
messagedoesntappearinthephonesoutbox,doublecheckyourwiringandensurethere
arenobrokenorshortedoutconnections,especiallyinyourheadsetplug.Youcanalsotry
unpluggingandrepluggingtheheadsetplug.

Demonstration

http://murchlabs.com/sendsmsfromyourarduino/

4/21

3/4/2016

Tutorial:SendSMSfromyourArduinousinganoldMotorolacellphone|ArduinoProjects

Send SMS from Arduino using Motorola C168i

ExampleCode
Theexamplecodeisfairlybasic.ItusestheSoftSeriallibrary(includedwiththeArduinoIDE)to
setupasoftwareserialconnectiononanypinsthatwewant.Onceweestablishtheserial
connection,weuseATcommandstowakethephoneup,entertextmode(asopposedtodata
mode),createanewtextmessage,andthensendittotheappropriatephonenumber.Wethen
wait10seconds,givingthephoneenoughtimetosendthemessage,andthendeletethe
messagefromthephonesoutbox.
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22

/*
?
ApplicationName:ArduinoSendSMS
Description:SendSMSmessagesusingaMotorolaC168i
Author:JeffMurchison
Contact:http://murchlabs.com/contact/
Date:September17,2012
Version:1.0
License:

ThisworkislicensedunderaCreativeCommonsAttributionNonCommercialShareAlike3.0UnportedLicense.

http://creativecommons.org/licenses/byncsa/3.0/

Attributions/SpecialThanks:

MatthewSheffield.Thiscodebasedonhisexample,butupdatedtouseArduinoIDE1.0.1
andSoftwareSerial.

http://sheffiel.blogspot.ca/2011/02/remotecarstartercontrollingmotorola.html

*/

23

#include<SoftwareSerial.h>

http://murchlabs.com/sendsmsfromyourarduino/

5/21

3/4/2016

Tutorial:SendSMSfromyourArduinousinganoldMotorolacellphone|ArduinoProjects

23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59

#include<SoftwareSerial.h>

SoftwareSerialmySerial(3,2);//RX,TXpins

voidsetup(){

pinMode(13,OUTPUT);//Initializepin13asdigitalout(LED)
pinMode(8,INPUT);//Ourbuttonpin
mySerial.begin(4800);//Openserialconnectionatbaudrateof4800

voidloop(){

if(digitalRead(8)==HIGH){//Onbuttonpress
digitalWrite(13,HIGH);//TurnLEDon.
mySerial.println("AT");//SendsATcommandtowakeupcellphone
delay(500);
mySerial.println("AT+CMGF=1");//PutsphoneintoSMSmode
delay(1000);//Waitasecond
mySerial.println("AT+CMGW=\"+14165551234\"");//YOURNUMBERHERE;Createsnewmessagetonumber
delay(1000);
mySerial.print("SentfrommyArduino.");//Messagecontents
delay(1000);
mySerial.write(byte(26));//(signalsendofmessage)
delay(1000);
mySerial.println("AT+CMSS=1");//Sendsmessageatindexof1
digitalWrite(13,LOW);//TurnLEDoff
delay(250);
digitalWrite(13,HIGH);//TurnLEDon.
delay(10000);//GivethephonetimetosendtheSMS
mySerial.println("AT+CMGD=1");//Deletesmessageatindexof1
digitalWrite(13,LOW);//TurnLEDoff.
delay(250);
}

Links
http://sheffiel.blogspot.ca/2011/02/remotecarstartercontrollingmotorola.html
http://code.google.com/p/sserial2mobile/
Note:IhavedisabledcommentsforthispostbecausepeoplearemostlyaskingquestionsthatI
havealreadyansweredinthepostitself,inthecomments,orthatIcantansweratallmainly
aboutwhatphoneswillandwillnotworkforthisproject(theonlyonesIknowthatwillworkare
listedabove).Ifyouvereadthroughthepostandallthecommentsandstillhaveanissuethen
feelfreetosendmeanemail.
Categories:Arduino,Tutorials.Tags:Arduino,C168i,featured,Message,Motorola,Send,SMS,Text.

http://murchlabs.com/sendsmsfromyourarduino/

6/21

3/4/2016

Tutorial:SendSMSfromyourArduinousinganoldMotorolacellphone|ArduinoProjects

76ResponsestoTutorial:SendSMSfromyourArduinousinganoldMotorolacell
phone
Seattleandrew

September19,2012at10:17pm

Thisisprettyawesome.DoyouknowifthephonecansendSMSbacktotheArduinoover
Serial?ThatwayyoucouldinteractwiththeArduinooverSMS?

JeffMurchison

September19,2012at10:29pm

Ibelieveitspossible,butIhaventlookedintoityet.Itappears,accordingtopage370of
thisdocumentthatthereisanATcommandthatllletyoureadmessages.IknowthatMatt
Sheffieldwasworkingonthatfunctionality,somaybegivehimashout?Ifyoufigureitout,
Idlovetoseetheresults.

Mike

September21,2012at1:17am

So,inpracticalterms,youhaveanArduinowatchingsomethingmaybeasensoronagarage
doorsoyouknowwhenyourspousecomeshomesomething.Theeventhappensandthe
Arduinotextsyouthatithas.
ThatpartIget.ThephonepartIdonot.Warning!Stupidquestionsfollow!
AworkingSIMcard.ThereisoneinmyphonebutthatisthephoneIwanttoreceivethe
texton.DoIhavetohaveservicefortwolines?CanIduplicatetheSIMinmycurrentphone,
puttheduplicateintomyeBaycheapieandmoreorlesstextmyself?Imnotclearhowthe
phoneendofitworksinadaytodaysense.Additionalservicesortsofbustsyour$20.

JeffMurchison

September21,2012at9:54am

AsfarasIknow,youcantduplicateaSIMcard.ASIMcardcanonlyberegisteredona
networkonce,andthatstokeeppeoplefromduplicatingtheircardsandsharingthemwith
theirfriendssotheydonthavetogettheirownservice.
IfyoucantuseyourexistingSIMcard,thenyes,youllhavetogetanewone.Youroptions
entirelydependonyourcarrier.Personally,Iuseapayasyougoaccount,whichcostme
$10fortheSIMcard.Somecarriersgivethemawayforfree.Youmightalsoseeifyoucan
setitupasafamilyplanorsomething,wherethecheapnewphonedrawsfromyour
existingtextmessagepackage.The$20wasastartupmaterialscost.Itsimpossibleto
predicthowmuchitllactuallycosteveryone,therearetoomanyvariableslocation,
carriers,carrierrates,howmanymessagespeoplewillsend,howlongtheyllkeepitgoing,
etc.
http://murchlabs.com/sendsmsfromyourarduino/

7/21

3/4/2016

Tutorial:SendSMSfromyourArduinousinganoldMotorolacellphone|ArduinoProjects

john

March25,2013at7:50pm

bywayofexample,youcangetapayasyougophoneatW*lmartforabout$15.
Veriz*nhasapayasyougoplanthatruns$30/month,butyoucanprepay$100and
youaregoodforayear,oruntilyouuseupallyourcredit.Typically,accessingthe
networkcosts$2eachdayandcallsandtextmessagesaresomenominalamount
comparabletootherplans.So,forexample,ifyousetuptheArduinotosendatext
messageonlyevery3or4dayswiththetempreatureinyourcabin,orifitdropped
below40degreesF,youcouldmonitorthecabinforabouthalfayear,soabout
$16/month.IthinktherearestrictlySMSplansthatmightcheaper.

TaalouchFradj

March7,2013at4:00pm

isitpossibletouseinplaceofarduinopeak16F877

JeffMurchison

March7,2013at4:11pm

Ihavenoideawhatyoureaskingme.

Vela001

March13,2013at7:34pm

Veryinterestingwork,butiwouldliketoknowifsomeonecouldhelpmetoadjustthiscodefor
MotorolaV360V,becauseicantfindanyofthismodelsyoumentioned?

Hari

March15,2013at12:42am

Hi
Thanksforthiswonderfulpage.IambuildingaSMSbasedtemperaturealertsystembasedon
thispage.
Excusemypoorknowledgeinembeddedprogramming,butIhaveadoubt.
Thetemperaturesensorisananaloginputright?
Sohowdowereplacetheif(digitalRead(8)==HIGH)expressionsothatitwillservemy
purpose.
IwantanalertSMStobesentwhentemperaturecrosses25degreecelsiuswhichcorresponds
to250mVoutputfromthesensor.
Doweneedtoinitializethepinasanalog?
Thanksinadvance.
http://murchlabs.com/sendsmsfromyourarduino/

8/21

3/4/2016

Tutorial:SendSMSfromyourArduinousinganoldMotorolacellphone|ArduinoProjects

JeffMurchison

March15,2013at12:47am

UsetheAnalogRead(pin)command.
http://arduino.cc/en/Tutorial/AnalogInput

Hari

March15,2013at1:07am

ThanksJeff!
NowthatIcametoknowabouttheexamplespageofarduinowebsite,IthinkIcantackle
almostanyproblemIgetonmyway.Appreciatethehelp.

Hari

March15,2013at1:18am

Bytheway,thephoneIacquiredforthisprojectisMotorolaC168,notC168i.
Itwillstillwork,right?

JeffMurchison

March15,2013at1:20am

Accordingtogoogle,theyareidentical,soitshouldwork.

Hari

March15,2013at5:21am

Iusedthefollowingcode:
#include
SoftwareSerialmySerial(3,2)//RX,TXpins
voidsetup(){
pinMode(13,OUTPUT)//Initializepin13asdigitalout(LED)
pinMode(8,INPUT)//Ourbuttonpin
mySerial.begin(4800)//Openserialconnectionatbaudrateof4800
}
voidloop(){
if(digitalRead(8)==HIGH){//Onbuttonpress
digitalWrite(13,HIGH)//TurnLEDon.
http://murchlabs.com/sendsmsfromyourarduino/

9/21

3/4/2016

Tutorial:SendSMSfromyourArduinousinganoldMotorolacellphone|ArduinoProjects

mySerial.println(AT)//SendsATcommandtowakeupcellphone
delay(500)
mySerial.println(AT+CMGF=1)//PutsphoneintoSMSmode
delay(1000)//Waitasecond
mySerial.println(AT+CMGW=\+1919447786559\)//YOURNUMBERHERECreatesnew
messagetonumber
delay(1000)
mySerial.print(SentfromArduino.)//Messagecontents
delay(1000)
mySerial.write(byte(26))//(signalsendofmessage)
delay(1000)
mySerial.println(AT+CMSS=1)//Sendsmessageatindexof1
digitalWrite(13,LOW)//TurnLEDoff
delay(250)
digitalWrite(13,HIGH)//TurnLEDon.
delay(10000)//GivethephonetimetosendtheSMS
mySerial.println(AT+CMGD=1)//Deletesmessageatindexof1
digitalWrite(13,LOW)//TurnLEDoff.
delay(250)
}
}
AlthoughIcanseetheLEDblink,NoSMSwassent.Iampoweringtheboardusingusbfrom
computer.
Isthattheproblem?
TherewasalsoonemoredifferenceinwhatIdid.Ididnotusearesistor,Ijustconnectedpin8
to5Vofthearduinoforaseconddirectly.
Whatdoyouthinktheproblemis?

JeffMurchison

March15,2013at10:22am

Checkoutstep5above.
ItalsoappearsthattheIncludelineismissingtheSoftwareSerial.Itshouldbe:
#include<SoftwareSerial.h>(removethespacesbetweenthe<and>)

TaalouchFradj

March19,2013at8:03am

ifIwanttodoasimulation,whatsoftwarecanIuse?
http://murchlabs.com/sendsmsfromyourarduino/

10/21

3/4/2016

Tutorial:SendSMSfromyourArduinousinganoldMotorolacellphone|ArduinoProjects

thankyou

Karmel

March29,2013at4:05pm

Hy,youcanjustuseISIS,howeverconfigurationitselfisnotassimpleasthat

erhas

March31,2013at10:36am

iwanttoask..ifiusenokia3310icanusethesamecodeasabove?

JeffMurchison

March31,2013at11:58pm

DependsiftheNokiahasastraightserialconnectionavailable,andifitacceptsAT
commands.

Marc

April4,2013at6:36pm

HiJeff,
IcopiedyoursketchonmyarduinounoandconnectedaMotorolaC261asyoudescibed.
Besidessomebeepsitproducesnothing.
Ialsotriedtoreadoutanydatafromthesoftwareserial,withoutanysuccess.
AnyIdeas?

JeffMurchison

April24,2013at8:49am

Makesureyouhaveyoursettothecorrectbaudrate.Otherthanthat,Idontknowwhatto
tellyouotherthanmakesurealltheconnectionsarecorrect.

helmi

April24,2013at4:42am

caniuseanothorphone(samsung,nokia)toreplacemotorola168i?
thankyou.

JeffMurchison

April24,2013at8:48am

Somepeoplehavegottenotherphonestowork,yes,butyoullhavetodoabitofresearch.
http://murchlabs.com/sendsmsfromyourarduino/

11/21

3/4/2016

Tutorial:SendSMSfromyourArduinousinganoldMotorolacellphone|ArduinoProjects

ThistutorialisonlyforaselectfewphonesbyMotorola.

Ives

May2,2013at9:50pm

HeyJeff,
Thankssomuchforpostingthis!Itsgoingto(hopefully)savemyassasIvebeentryingtouse
SMSformythesis.Cantwaittotrythisout

arian

May18,2013at8:18am

isthisnotrequirers232tottlconverterllikeMAX232?

JeffMurchison

May21,2013at12:34pm

Nope.

Kolouch

July18,2013at5:09am

Imprettysurethatthereshouldbea3.3Vlevelsatdatalines.USBdatalinesoperatesat
3.3VasC24moduleinsidethephonedoes.
NicearticleBTW.
Thanksforthatidea.

Janni

May21,2013at8:19am

HelloJeff,
thanksforthisnicepost.Ijustcopiedyourexamplecodeandusedit.Themessageswiththe
correctcontentsappearintheoutbox,butitseemslikethephoneisntsendingthem.The
wiringiscorrectandthenumbertowhichthemessageshouldbesendiscorrecttoo.Ifigoto
theoutbox,clickononeofthesemessagesandhitresent,themessageissendandappears
atmyotherphoneafterafewseconds.Idontreallyknowwhatiamdoingwrong.Ifyouhave
anyideawhattheproblemcouldbe,wouldbeniceifyoucouldreplytomycomment.

JeffMurchison

May21,2013at12:33pm

Didyoutrythelastlineofpart5?(Youcanalsotryunpluggingandrepluggingthe
headsetplug.)
http://murchlabs.com/sendsmsfromyourarduino/

12/21

3/4/2016

Tutorial:SendSMSfromyourArduinousinganoldMotorolacellphone|ArduinoProjects

Iencounteredthisissueaswellandunpluggingtheheadsetandpluggingitbackinseemed
towork.

Janni

May21,2013at2:48pm

Yea,iwilltry.Shouldiunplugandreplugitwhilethephoneison?Orwhileitisoff?
Thanks.

JeffMurchison

May21,2013at2:49pm

Whenitson.

Janni

May21,2013at3:19pm

Andiforgottoask:whydoihavetousemySerial.write(byte(26));//
(signalsendofmessage)toendamessage?Isitimportanthowlongthe
messageis?

JeffMurchison

May21,2013at3:48pm

Itistheendoffilepartofthecommand.
http://en.wikipedia.org/wiki/Endoffile
AndIdontknowhowthephonewillactifyoutrytosendatextmessageover
140or160characters.Tryitoutandsee,itmightdependonyourcarriertoo.

Janni

May21,2013at3:45pm

Everythingworksnow,thanksforthegreathelp.Ihaveonelastquestion:Isitpossibletosend
themessagetomorethenonenumber?
Thanksagain.

JeffMurchison

May21,2013at3:50pm

Youcanputtheserialpartsinaforloop,storeyournumbersinanarray,anddoitthat
way,otherwiseIdontknow.
http://murchlabs.com/sendsmsfromyourarduino/

13/21

3/4/2016

Tutorial:SendSMSfromyourArduinousinganoldMotorolacellphone|ArduinoProjects

Janni

May22,2013at4:42am

Ok,thankyouverymuch.Iwilltryitlikethat

EnginKury

May26,2013at9:35pm

HelloIwishIcanaskyousomequestionsaboutyourcode.Couldyougiveanemailaddress
thatIcancontactyou?Thankyou

EnginKury

May26,2013at9:48pm

HereisacodethatIamtryingtoworkon:
#include
SoftwareSerialmySerial(3,2)//RX,TXpins
voidsetup(){
mySerial.begin(4800)//Openserialconnectionatbaudrateof4800
}
voidloop(){
mySerial.println(AT)//SendsATcommandtowakeupcellphone
delay(500)
mySerial.println(AT+CMGF=1)//PutsphoneintoSMSmode
delay(1000)//Waitasecond
mySerial.println(AT+CMGW=\+19097060544\)//YOURNUMBERHERECreatesnew
messagetonumber
delay(1000)
mySerial.print(SentfrommyArduino.)//Messagecontents
delay(1000)
mySerial.write(byte(26))//(signalsendofmessage)
delay(1000)
mySerial.println(AT+CMSS=1)//Sendsmessageatindexof1
delay(250)
delay(10000)//GivethephonetimetosendtheSMS
mySerial.println(AT+CMGD=1)//Deletesmessageatindexof1
delay(250)
}
http://murchlabs.com/sendsmsfromyourarduino/

14/21

3/4/2016

Tutorial:SendSMSfromyourArduinousinganoldMotorolacellphone|ArduinoProjects

However,itdoesnotgotomessaingscreen,butitgoestoCallsMadescreen.Couldwe
discusshowwecanfixthis?

JeffMurchison

May30,2013at10:06am

Sorry,IneverranintothatissuemyselfsoIcantreallysuggestanythingotherthanmaybe
factoryresetthephoneandmakesureitworksbysendingatesttextmessagefromit
manually.

JeffMurchison

September15,2013at10:17am

Itappearsyourincludelineiswrong.Usethisinstead:
#include<SoftwareSerial.h>
(removethespacesaroundthe<and>)

libellule

May30,2013at9:35am

Hithankyouforsuchagreatproject!!ijusthadmineworkingandboyamiexcitedlolIhave
aquestionthough(andexcusemypoorknowledge,imanewbie).
Isthereawayicouldmodifythiscircuitsothatidoesntuseapushbutton.Letssayiwantto
havetheentiresystemselfcontrolledandiwantthearduinotosendmeatextmessagewhen
andonlywhensomethinghappens(i.e.thephonerunsonlowbattery.)howcanidothat.do
ineedsensors,etc.
Thankyousomuchyouaremynewherolol.

JeffMurchison

May30,2013at10:11am

Absolutely.Thecodeisactuallyverybasic.Isuggestyoureadthroughthecodereference
materialonArduinoswebsite,andtryoutsomeoftheirtutorials.Theyreveryuseful.
http://arduino.cc/en/Reference/HomePage
http://arduino.cc/en/Tutorial/HomePage

libellule

May30,2013at9:21pm

Awesomeandthanksforyourquickreply.
Doyouknowwhatkindofsensorswouldbeappropriateforsuchwork?(arduino
http://murchlabs.com/sendsmsfromyourarduino/

15/21

3/4/2016

Tutorial:SendSMSfromyourArduinousinganoldMotorolacellphone|ArduinoProjects

sendingatextmessagetomyphonewhenthecellphonec168irunsoutofbattery).
thankyou

joseph

May31,2013at2:21am

nicejob.plzcanyouhelpmeonhowtoreceivesmsandpassittoarduinousingmotorola
c168sothatitcanperformtaskwhichIwantittodo

JeffMurchison

June3,2013at7:25am

UnfortunatelyIdontknowhowtoreadtextmessagesfromthephone,onlysendthem.But
ifyoufigureitout,letmeknow!

NickGarrod

June23,2013at7:11am

ThankyoufortheveryusefularticleJeffandsharingyourknowledge.Icanconfirmthatit
workswiththeMotorolaW375,whichisavailableusedforabout10orlessintheUK.

JeffMurchison

July19,2013at1:43pm

Thanksforconfirming!

Marco

July31,2013at3:15am

Hi,canIaskyouifyouhadtolowervoltageformotorolaW375?Minesometimescallsthe
numberIinsertedintothecodeifIpressthebuttonicopiedexactlytheconnections
shownintothearticlebutitdoesntworkwithmotorolaw375Pleasecanyouhelpme?
Thankyou

RIALAGA

July9,2013at12:42pm

Hi,IfromColombia,IhavenokiaX200,Ijustcopiedyourexamplecodeandusedit.The
messageswiththecorrectcontentsappearintheoutbox,butitseemslikethephoneisnt
sendingthem.Thewiringiscorrectandthenumbertowhichthemessageshouldbesendis
correcttoo.Ifigototheoutbox,clickononeofthesemessagesandhitresent,the
messageissendandappearsatmyotherphoneafterafewseconds.Idontreallyknowwhati
amdoingwrong.Ifyouhaveanyideawhattheproblemcouldbe,wouldbeniceifyoucould
http://murchlabs.com/sendsmsfromyourarduino/

16/21

3/4/2016

Tutorial:SendSMSfromyourArduinousinganoldMotorolacellphone|ArduinoProjects

replytomycomment.

JeffMurchison

July19,2013at1:43pm

Trystep5.Iencounteredthatintermittentlybutcouldntnaildowntheissue.

CrashSpaceBlogArchiveFound@CRASHSpace:TooManyPhones!!!

Daniel

August6,2013at5:19pm

HiJeff,
Justwonderingifitispossibletohavethecellphonesendingtwosmsatthesametime?
thanks

JeffMurchison

August6,2013at9:52pm

Imnotsuretobehonest.SomephoneshavetheabilitytosendSMStomorethanone
number,butIhaventtrieddoingthis.

mike

August14,2013at10:33am

Hisir..
ItispossibletoconnectanumerickeypadtoaudrinogsmandsetbySMSforex.Ipress
1234567890whenyoupress=equalsitwillbesendtomycellphone

JeffMurchison

August18,2013at11:22pm

Yes,itis.

SERGIO

August24,2013at2:52pm

Whydidyouuse,thepines2,3?myarduinohavethetx,rxinthe0,1pines.Thanks.

JeffMurchison

August24,2013at3:04pm

Imusingsoftwareserialonpins2and3.Thehardwareserialpinsare0and1.The
softwareserialisforcommunicatingbetweenthephoneandtheArduino,whilethe
http://murchlabs.com/sendsmsfromyourarduino/

17/21

3/4/2016

Tutorial:SendSMSfromyourArduinousinganoldMotorolacellphone|ArduinoProjects

hardwareserialissothatIcanmonitortheoutputfromtheArduino.

SERGIO

August27,2013at2:35pm

CanIusethishttp://www.cpkb.org/wiki/Nokia_6070_pinout
ormotorolaw175??

JeffMurchison

August27,2013at2:41pm

Idontknow.

SERGIO

August27,2013at6:56pm

Caniusethismodelw395SONYERICCSON?

JeffMurchison

August29,2013at8:11am

Ireallydontknow.

pracas

August29,2013at6:16am

isitpossiblefrommotorolaC123???

JeffMurchison

August29,2013at8:13am

Idontknow.Ilistedmodelsthatshouldworkinthepost,andotherthanthatIhaveno
idea.

Nayanajith

October19,2013at3:31am

Great.
Itwasreallyhelpful
Thanksforsharingtoall.

ChrisF
http://murchlabs.com/sendsmsfromyourarduino/

October22,2013at12:01am

18/21

3/4/2016

Tutorial:SendSMSfromyourArduinousinganoldMotorolacellphone|ArduinoProjects

Thisisprettyawesome.Ihaventtriedtheproject,butImcuriousaboutwhythisworks?I
supposethecommandsATetc.arespecificforthisMotorolaphone(andsomeothers)?Doall
phoneshavecommandslikethis?Asis,canthecodebemodifiedtodothisthroughthe
headphone/micjackofanyoldphone?Ihadnoideaphonescouldbeprogrammedthrough
theheadsetjack.Iguessyouneedinsiderknowledgeabouthowthephoneworks?

JeffMurchison

October23,2013at10:33am

ATCommandsareactuallyfairlystandardized.Youcancontrolmostmodemswiththem
(evenmodern3GorGSMmodems).
ThereasonIusedtheheadphonejackinthisphonewasbecausethatswheretheserial
connectiontothephoneis.Theonlyotherjackonthephonewasforpower.Modern
phonestypicallywonthaveaserialconnection,letaloneusetheheadphonejackfor
anythingotherthanmic/headphones.
Ifyoufindaphonethathasaserialconnection,thenyoucanprobablymodifythisproject
forthatphone.

Marcelo

November7,2013at12:34pm

hijeff,itsalreadypossibletoreadsmswitharduino?

JeffMurchison

November8,2013at10:21am

Itmaybepossible,butImnotsurehowtodoit.

Marcelo

November7,2013at2:22pm

imtryingtosendsmswithw375anditsnotworking.
ihaveamega2560,andichangedthetxrxportsto1011andnothing.

Marcelo

November11,2013at9:48am

FlorianS

http://murchlabs.com/sendsmsfromyourarduino/

November25,2013at11:55am

19/21

3/4/2016

Tutorial:SendSMSfromyourArduinousinganoldMotorolacellphone|ArduinoProjects

Hello!ThankYouverymuch.IorderedaMotorolaW375for1BuckateBayand2,50
shipping.Itswithoutbattery,butItestout:
The5voltsfromtheArduinopowersacellphone.Ihopethatthephonewillwork
withexternalpower.Implanningtouse
thisastemperaturemonitor,givingstatements
viaSMS.

Waleed

November27,2013at3:38am

Hi,nicework..
IwannaaskyouifIcanusethiscodeforNokiamobiles?ifnot,douknowthecodeforNokia
mobilephones?
Thankyouinadvance..

Ahmad

November28,2013at3:54pm

hey,ihavebeentryingtosetupthisonmynokiaN70,unfortunatelynothingtillnowworking
.anysuggestions!

JeffMurchison

November28,2013at3:55pm

ThisguideisnotforNokiaphones.

Ahmad

November29,2013at12:52pm

okay,itsnotfornokia,becauseihavetofigureouttheFbusconnection.right!?

NokiaPhoneSerialCommands|werbasteltmit?

PreviousPost

PoweredbyWordPressandCuttlefish.

http://murchlabs.com/sendsmsfromyourarduino/

NextPost

Top

20/21

3/4/2016

http://murchlabs.com/sendsmsfromyourarduino/

Tutorial:SendSMSfromyourArduinousinganoldMotorolacellphone|ArduinoProjects

21/21