View previous topic :: View next topic |
Author |
Message |
vortexe9000
Joined: 07 Jun 2010 Posts: 50 Location: Banned - spammer
|
ffgt |
Posted: Thu Jan 26, 2012 2:15 pm |
|
|
xd _________________ Banned for spamming his own posts
Last edited by vortexe9000 on Sun Feb 19, 2012 7:43 am; edited 2 times in total |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Jan 26, 2012 3:27 pm |
|
|
Vortex,
Again, please use the tools available to you, such as the forum's search
page. Do not use us as a search engine for simple questions.
Here is the forum's search page:
http://www.ccsinfo.com/forum/search.php
Search for this:
Set it for: Search for all terms
This should give you many posts about Nokia AT commands. |
|
|
vortexe9000
Joined: 07 Jun 2010 Posts: 50 Location: Banned - spammer
|
|
Posted: Thu Jan 26, 2012 4:21 pm |
|
|
hhg _________________ Banned for spamming his own posts
Last edited by vortexe9000 on Sun Feb 19, 2012 7:13 am; edited 1 time in total |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Jan 26, 2012 5:42 pm |
|
|
Post a short test program that tests the AT command with your Nokia.
Make sure to post the #include, #fuses, #use delay(), and main(), and
the short code (10 lines) in main(). |
|
|
vortexe9000
Joined: 07 Jun 2010 Posts: 50 Location: Banned - spammer
|
|
Posted: Fri Jan 27, 2012 5:20 am |
|
|
gg _________________ Banned for spamming his own posts
Last edited by vortexe9000 on Sun Feb 19, 2012 7:09 am; edited 1 time in total |
|
|
ezflyr
Joined: 25 Oct 2010 Posts: 1019 Location: Tewksbury, MA
|
|
Posted: Fri Jan 27, 2012 7:38 am |
|
|
Hi,
Quote: | I make my own RS232 communication interface with 3.3 volt VCC |
I suspect you've got a circuit problem! Can you post a schematic of your circuit?
What is the supply voltage of your PIC? The easiest hardware implementation is to run the PIC and the phone (or GSM modem) at the same voltage. In this way there is no need for "level shifting", and the PIC Tx pin goes directly to the phone Rx pin, and the phone Tx pin goes directly to the PIC Rx pin.
I just wrapped up a project that uses the ADH8066 GSM modem for remote control and telemetry. Getting basic communication with the modem was very easy with the modem and the PIC (18LF2550) both running at 3.8V.
John |
|
|
vortexe9000
Joined: 07 Jun 2010 Posts: 50 Location: Banned - spammer
|
|
Posted: Sun Jan 29, 2012 4:36 am |
|
|
fd _________________ Banned for spamming his own posts
Last edited by vortexe9000 on Sun Feb 19, 2012 7:12 am; edited 1 time in total |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1934 Location: Norman, OK
|
|
Posted: Sun Jan 29, 2012 7:27 am |
|
|
yes, you should follow with 0x0d. This tells the command interpreter
you are finished with the command and to process the command. _________________ Google and Forum Search are some of your best tools!!!! |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9229 Location: Greensville,Ontario
|
|
Posted: Sun Jan 29, 2012 10:42 am |
|
|
also you should add 'errors' to the use rs232(...) options if you want to receive anything back from the phone.... |
|
|
ezflyr
Joined: 25 Oct 2010 Posts: 1019 Location: Tewksbury, MA
|
|
Posted: Mon Jan 30, 2012 7:58 am |
|
|
Hi,
vortexe9000 wrote: | Should I send the command "AT" followed by the character "13" which means the key presses ENTER CR |
Do yourself a huge favor, and connect the phone to your PC via a MAX232 IC (or equivalent), and "exercise" the phone using Hyperterminal. In this way, you can determine what commands the phone will respond to, and the exact syntax of the reply. Once you know all this, you can write your 'C' code to do the same thing. This may take you a little while to set-up, but it will be a huge time saver in the end!
John |
|
|
|