help about SIM900A module GSM \ GPRS \ SMS

General discussion on Package Manager Software.
Post Reply
Author
Message
zakariaKAH
Posts: 27
Joined: 05 Dec 2015 15:39

help about SIM900A module GSM \ GPRS \ SMS

#1 Post by zakariaKAH » 24 Sep 2016 13:57

hi everyone,
can you help me if you want
i make a program to send sms via SIM900A module GSM with 16F877A but i cant receive the sms
can you tell me what wrong

Code: Select all

void main() {

UART1_init(9615);
delay_ms(5000);
while(1){

delay_ms(3000);

UART1_Write_Text("AT+CMGS=");
delay_ms(1000);
UART1_Write(0x22);
delay_ms(2000);
UART1_Write_Text("+212617026509");
delay_ms(2000);
UART1_Write(0x22);
UART1_Write(0x0D);
delay_ms(2000);
UART1_Write_Text("ATTENTION Il y a quelqu un dans la zone interdite");
UART1_Write(0x0D);
delay_ms(2000);
UART1_Write(26);
delay_ms(2000);
UART1_Write(0x0D);
delay_ms(2000);  }
}

User avatar
Aleksandar.Mitrovic
mikroElektronika team
Posts: 1697
Joined: 11 Mar 2015 12:48

Re: help about SIM900A module GSM \ GPRS \ SMS

#2 Post by Aleksandar.Mitrovic » 26 Sep 2016 16:30

Hi,

Have you tried to connect your module over UART to some terminal and see if you are receiving something on the module?

Here is some user manual:
https://docs.google.com/file/d/0B5YBIZc ... ef=2&pli=1

Kind regards,
Aleksandar

Post Reply

Return to “Package Manager General”