Help me
I need code Call phone and SMS
use PIC16f877A X = 4MHz
and SIM900 use = http://www.micro4you.net/product-SIM...-138527-1.html
Thaks
Help me
I need code Call phone and SMS
use PIC16f877A X = 4MHz
and SIM900 use = http://www.micro4you.net/product-SIM...-138527-1.html
Thaks
It code don't work
it's wrong...
---------------------------------------------------------------
DEFINE OSC 4
DEFINE HSER_RCSTA 90h ' Enable serial port & continuous receive
DEFINE HSER_TXSTA 24h ' Enable transmit, BRGH = 1
DEFINE HSER_SPBRG 25 ' 9600 Baud @ 4MHz, 0.16%
DEFINE HSER_CLROERR 1 ' Clear overflow automatically
TRISC = %01000000 'set portc.6 TX
CALL_PHONE : pause 2000
HSEROUT ["atd[000000000];",13] '00000000 = number
pause 2000
goto CALL_PHONE
end
----------------------------------
thank for help
I think you have to make sure that there is communication with the module.
Did you check that the module is responding?
Ioannis
I can not check Module
I can use X = 4 MHz for buad rate 115200 bps ??
RX & TX is TTL level I can connect Module to PIC16F877A or module to max232 ??
thanks for help
sorry i bad eng
I am on a mobile phone and cannot check data sheet for you PIC but I thing you cannot use 115k with 4Mhz xtal.
As for the TTL level use it directly to Pic without max232.
Robert, I think you are a teaser, aren't you?
Ioannis
Bookmarks