CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug Reports on this forum. Send them to support@ccsinfo.com

AT-commands with 16F877

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
viewgsm
Guest







AT-commands with 16F877
PostPosted: Sat Nov 10, 2001 8:45 pm     Reply with quote

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
PostPosted: Sun Nov 11, 2001 10:28 am     Reply with quote

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
PostPosted: Sun Nov 11, 2001 12:17 pm     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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