Discussion in "Embedded GSM Development" started by    Izzal    Nov 21, 2008.
Fri Nov 21 2008, 05:09 pm
Hello I have been trying to interface PIC16F877 with Sony Ericsson T610 but i cant. For a start up Iam just sending AT to the phone but i dont receive "OK" Iam using the serial data cable for the phone directly connected to the serial of the PIC
Sun Nov 23 2008, 12:33 am
Hi Izzal, Please provide the code will be easy to help..
Sun Nov 23 2008, 06:59 am
According to Wikipedia and others,the 610 has Bluetooth ,Infrared and USB.
None of which are practical to connect to a PIC16F877.

I have seen no mention of a serial connection able to connect to a PC's serial port.

[ Edited Sun Nov 23 2008, 07:08 am ]
Mon Nov 24 2008, 02:22 am
ExperimenterUK, PC has got all that where as a tiny 8051 has just got a serial port so thats the only available option
Mon Nov 24 2008, 02:36 am
Hello Ajay thanks for your reply

I have attached the code
Mon Nov 24 2008, 02:36 am
Sorry the code is as follows

#include <16F877.h>
#device *=16 // This allows auto variables over location 0xFF and set
#use delay(clock=4000000)
#fuses XT,NoWDT
#use rs232 (baud = 9600, BITS = 8, parity = N, rcv = PIN_c6, xmit = PIN_c7)
#opt 9
#include "lcd_driver.c"
main (){

char str[3], okay[10];
char c[2];
int i;

 lcd_init();  // Initialise the LCD
 lcd_putc('\f');  // clear the screen

  lcd_putc("WELCOME"); // to test for LCD


for (i=0 ; i<4 ; i++)
{   c[i] = getc();



 for(i=0; i < 4 ; i++)
     lcd_putc(c[i]);     // Show what the phone sends on LCD

[ Edited Mon Nov 24 2008, 12:47 pm ]
Mon Nov 24 2008, 02:39 am

ExperimenterUK, PC has got all that where as a tiny 8051 has just got a serial port so thats the only available option


I meant was that as far as I can see this phone has no serial port meant for AT command
type communication.
It may have a serial link for flashing and special purposes, but that is not clear from what I have seen.

Of course Izzal's method may be fine, but it is worth checking before going further.

[ Edited Mon Nov 24 2008, 02:53 am ]
Mon Nov 24 2008, 12:45 pm
Pinouts says it has serial output, and my friends have used that phone in a project. Also people on forum like Abbas has used it too. So probably it has serial output
Mon Nov 24 2008, 04:07 pm
The Phone has serial output. I have already tested the AT-Commands using PC (Tera Term software) and it works fine. So after that I tried it with PIC16F877 but i could not communicate. I used MAX232 between the phone and PIC communication when it didnt work I used Transistor circuit but both methods failed.
Tue Nov 25 2008, 02:58 am
OK I'm convinced

A couple of points to consider, (actually three).
The 610 interface is 3 volts so may need a low voltage MAX232.
The data bits may need to be inverted.
I have seen the baud rate for the 610 given as 9600 and 115200.
An XP "9600" baud modem actually defaults to a com port speed of 115200.

Get Social


Powered by e107 Forum System



Tue May 21 2024, 02:06 am
Sun May 19 2024, 05:39 pm
Sun May 19 2024, 03:06 pm
Sun May 19 2024, 07:39 am
Sat May 18 2024, 07:28 am
Fri May 17 2024, 06:14 pm
Fri May 17 2024, 10:28 am
Fri May 17 2024, 10:19 am