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/.../
Yes,Andy I got results with Hyper-Terminal ,my code is correct.I did this test at very first Andy.
My doubt is the dongle in the cable gets power from RTS,DTR signal from RS-232 line.That's what I find at this time by searching nokia n all over net.
Would you suggest me some better idea regarding these lines and how they tapping power from this negative voltage line.
I studied JDM pic programmer which uses the same negative voltage power,still its not very clear I try to work on now.. If it gone through then I will let u soon.
Adv Thanx Andy.
"My doubt is the dongle in the cable gets power from RTS,DTR signal from RS-232 line."
Are you saying that you doubt whether the "dongle" gets its power from RTS,DTS?
Or are you certain that the "dongle" does get its power from RTS & DTS, but don't know how to provide that?
You could test the former by using just a 3-wire cable between the "dongle" and the PC's COM port - if it requires more than just TxD, RxD, and GND, then it won't work...
If the latter, then all you have to do is provide the appropriate RS232 levels on RTS and DTS from your 8051 system. The simplest way to do this is probably to use an RS232 transceiver that has 2 extra transmitters, and just wire them to permanently give the required RS232 Output level(s) to RTS and DTS.
"Would you suggest me some better idea..."
I've already given my suggestion: Don't use a Phone