Pages: [1]   Go Down
Author Topic: Interface Arduino with Nokia phone  (Read 776 times)
0 Members and 1 Guest are viewing this topic.
Terni/Roma
Offline Offline
Jr. Member
**
Karma: 0
Posts: 89
Dedalo project member
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,
i'm getting crazy trying to interface a Nokia 6630 with Arduino, this is the story:

1)i bought a DKU5 cable and i hacked it to find the TX, the RX and the GND cable smiley-wink;

2)i connected the cables to Arduino including GND. Thanks to NewSoftSerial i created a fake serial port in pin 3 and 4 (digital);

3)i wrote the program using the library SSerial2mobile, typing 19200 as Baud Rate (read in the Nokia website) and using AT commands for Nokia phones: i want to send sms, so i specified the phone number and typed the text;

4)when the program started, the phone died, so i reduced the voltage of TX and RX from 5V to 2.8V with a voltage partitor using 2 resistors 8-);

5)now the phone doesn't die and it shows the little icon of headphones connected when the program starts, but it doesn't do anything.. :-/....

I don't know what to do now, help!!!! Any idea?? :-[
« Last Edit: November 06, 2010, 04:22:37 pm by zeroG » Logged

Terni/Roma
Offline Offline
Jr. Member
**
Karma: 0
Posts: 89
Dedalo project member
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Without using SSerial2mobile i also tried with this code:

Code:
#include <NewSoftSerial.h>
#include <String.h>

char incoming_char=0;
NewSoftSerial tel(3,4);
int timesToSend = 1;
int count = 0;

void setup(){
  Serial.begin(9600);
  tel.begin(19200);
  delay(3000);
  tel.println("AT");
  delay(500);
  tel.println("ATE0");
  delay(500);
  Serial.println("Ready");
  
}

void loop(){
   while (count < timesToSend){
       tel.println("AT+CMGF=1");
       delay(1500);
       tel.println("AT+CMGS=****number****");  
       delay(1500);
       tel.print("message");  
       delay(500);
       tel.print(0x1A,BYTE);
       delay(5000);
       count++;
      
   }
}


But it doesn't do anything.........
« Last Edit: November 06, 2010, 04:42:38 pm by zeroG » Logged

Pages: [1]   Go Up
Jump to: