bahaahathout
Newbie level 4
- Joined
- Jan 26, 2013
- Messages
- 7
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,327
hello i need helpin my project that have AT commands
in fact my project is a little to wide but first of all iam learning is how to make a phone call by sending AT commands from my 16f877a pic to the GSM module then i will move on to send data i get from the pic to a specific URL to be analyzed anws iam using GSM340Z and Smart SIM340 from mikroE as a GSM BOARD and the 16f877a pic first of all i want you to help me establish a call from that module and i may continue the rest by my self this is the first code i wrote the blinking ports is just a notifier that the program is moving on nothin more
Code:
nothing is happening when i turn on the pic
plz i really need your help thanks in advanced.
in fact my project is a little to wide but first of all iam learning is how to make a phone call by sending AT commands from my 16f877a pic to the GSM module then i will move on to send data i get from the pic to a specific URL to be analyzed anws iam using GSM340Z and Smart SIM340 from mikroE as a GSM BOARD and the 16f877a pic first of all i want you to help me establish a call from that module and i may continue the rest by my self this is the first code i wrote the blinking ports is just a notifier that the program is moving on nothin more
Code:
Code:
void main() {
trisB=0b00000000;
portB=0b00000000;
USART_Init(9600);
delay_ms(1000);
portB=~portB;
delay_ms(3000);
portB=~portB;
USART_Write("AT");
portB=~portB;
delay_ms(2000);
USART_Write("AT+GSN");
portB=~portB;
delay_ms(2000);
USART_Write("ATD71353153;");
portB=~portB;
delay_ms(2000);
while(1){
portB=~portB;
delay_ms(500);
}
}
plz i really need your help thanks in advanced.