Hai, I want to work with Nokia 6610 interface with 8051 and programming in such way to send and get sms. While connect with HYPER-TERMINAL using DKU-5 cable with NOKIA 6610 it responds for 'AT' with 'OK'. The same while I try to get it ...mmm..No response.
I tested all combination no handsaking is required. Tell me correct way how to solve this one.
If you connect your 8051 to hypoterminal, do you see the "AT" that it transmits?
The "AT" command should be terminated with CR (0x0D) only.
Does your 8051 recognise "OK" sent from hypoterminal?
Have you tried running your code in the simulator, with the simulated serial IO directed to the COM port with the Nokia attached?
Yes,Andy I got clear result through Simulation.
As well as I got OK while connect with HYPER TERMINAL and Nokia 6610.
My doubt is The Dongle in the Data Cable pull-down the RX-TX lines(-8.45V into 0.80V).But it not so in hyper- terminal scenario.
I opened the Data cable(DKU-5) find an IC BJ8P153AN.I didnt find any data sheet over net.The Cable made in china,no proper link and data sheet or not even single information can find.
You didn't answer the first question: If you connect your 8051 to hypoterminal, do you see the "AT" that your 8051 transmits? Also, if you then send an OK response from Hypoterminal, does your 8051 recognise it?
"I got clear result through Simulation."
That surely suggests that there must be something wrong with your 8051 hardware! Are you sure that the baudrate, parity, number of data bits and number of stop bits are all identical to your hypoterminal settings?
It is possible that the PC's COM port is more tolerant of baud rate errors than the Nokia - are you sure that your 8051's baud rate is really correct?
Check your calculations here: http://www.keil.com/c51/baudrate.asp Have you also checked it on a scope?
"My doubt is The Dongle in the Data Cable pull-down the RX-TX lines(-8.45V into 0.80V).But it not so in hyper- terminal scenario."
Well, the PC's COM port requires RS232 signal levels; If your 8051 has a proper RS232 transceiver (eg MAX232), then it will be using the same levels. If your 8051 uses some bodge in place of a proper RS232 transceiver, then that could well be your problem.
"The Cable made in china,no proper link and data sheet or not even single information can find."
Yes, that is the trouble with trying to use a Phone - see: ") - which is specifically designed and documented for this purpose!
"will almost certainly find it easier to use a proper GSM module"
Having said that, there are plenty of examples on the web of using Nokia phones - have you searched?
eg, discussion.forum.nokia.com/.../
View all questions in Keil forum