Poll
Question: How i receive sms and read from arduino?
a - 1 (100%)
b - 0 (0%)
Total Voters: 1

Pages: [1]   Go Down
Author Topic: Serial communication Arduino with Sony Ericsson K700I  (Read 956 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 2
Posts: 175
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I connect arduino with sony ericsson k700 and I make the sketch.....
Code:
char incomingByte;
void setup(){
  delay(10000);
  Serial.begin(9600);
  delay(3000);
  Serial.println("AT+CPMS=\"ME\",\"SM\"");//select phone memory
  delay(6000);
  //Serial.println("AT+CMGF=1");//text mode
  delay(6000);
  Serial.println("AT+CMGR=1");//read sms
  //Serial.println("AT+CMGD=1");//delete sms
  delay(6000);
}
void loop(){
  delay(3000);
  if (Serial.available()>0){
    incomingByte=Serial.read(),BYTE;
    Serial.println(incomingByte);
    
  }
}
I have problem no display the insert text message only phone number of sender and time,date...is pdu format.
Logged

Web / sms / bluetooth / arduino / android remote control. Home Automation projects.
http://www.power7.net

Pages: [1]   Go Up
Jump to: