|
|
View previous topic :: View next topic |
Author |
Message |
viewgsm Guest
|
AT-commands with 16F877 |
Posted: Sat Nov 10, 2001 8:45 pm |
|
|
I try to send AT commands by PIC16F877 to my GSM C35 phone
I use PIC BASIC PRO compiler
useing Hserout command on 19200 baud !
but not working here is the code
Note : I use 8 Mhz Xtal to get 19200 baud
-------------------------------------
DEFINE HSER_RCSTA 90h
DEFINE HSER_TXSTA 24h
DEFINE HSER_BAUD 9600
DEFINE HSER_SPBRG 25
p:
Pause 1000
HSerout ["ATDT0101803180;"]
Pause 1000
GoTo p
-------------------------------------
any HELP !?
___________________________
This message was ported from CCS's old forum
Original Post ID: 1049 |
|
|
Tomi Guest
|
Re: AT-commands with 16F877 |
Posted: Sun Nov 11, 2001 10:28 am |
|
|
This is a dedicated CCS C forum and not for PIC BASIC PRO.
However, because the C35 default baud rate is 19200 you must either modify your line:
"DEFINE HSER_BAUD 9600" to "DEFINE HSER_BAUD 19200"
or enter the "AT+IPR=9600" command into your C35 using a terminal emulator program.
:=I try to send AT commands by PIC16F877 to my GSM C35 phone
:=I use PIC BASIC PRO compiler
:=useing Hserout command on 19200 baud !
:=but not working here is the code
:=Note : I use 8 Mhz Xtal to get 19200 baud
:=-------------------------------------
:=DEFINE HSER_RCSTA 90h
:=DEFINE HSER_TXSTA 24h
:=DEFINE HSER_BAUD 9600
:=DEFINE HSER_SPBRG 25
:=p:
:=Pause 1000
:=HSerout ["ATDT0101803180;"]
:=Pause 1000
:=GoTo p
:=-------------------------------------
:=
:=any HELP !?
___________________________
This message was ported from CCS's old forum
Original Post ID: 1055 |
|
|
viewgsm Guest
|
for Tomi Re: AT-commands with 16F877 |
Posted: Sun Nov 11, 2001 12:17 pm |
|
|
Thanks v. much dear ,
I'm sorry I'm not good at C , but I need to make program
for dail and hang up with 16f877 ,, If you don't mind to
help me make it by C , I pay you ,,, like work deal ,, Please
Thanks v. much
:=This is a dedicated CCS C forum and not for PIC BASIC PRO.
:=However, because the C35 default baud rate is 19200 you must either modify your line:
:="DEFINE HSER_BAUD 9600" to "DEFINE HSER_BAUD 19200"
:=or enter the "AT+IPR=9600" command into your C35 using a terminal emulator program.
:=
:=
:=:=I try to send AT commands by PIC16F877 to my GSM C35 phone
:=:=I use PIC BASIC PRO compiler
:=:=useing Hserout command on 19200 baud !
:=:=but not working here is the code
:=:=Note : I use 8 Mhz Xtal to get 19200 baud
:=:=-------------------------------------
:=:=DEFINE HSER_RCSTA 90h
:=:=DEFINE HSER_TXSTA 24h
:=:=DEFINE HSER_BAUD 9600
:=:=DEFINE HSER_SPBRG 25
:=:=p:
:=:=Pause 1000
:=:=HSerout ["ATDT0101803180;"]
:=:=Pause 1000
:=:=GoTo p
:=:=-------------------------------------
:=:=
:=:=any HELP !?
___________________________
This message was ported from CCS's old forum
Original Post ID: 1057 |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|