Microcontroller › PIC › Problem in interfacing with pic16f877a and gsm (SIM900A) › the problem is with your
March 18, 2014 at 4:59 pm
#11326
Participant
the problem is with your program.
unsigned char str1[4]=”ATn”;
unsigned char str3[10]=”AT+CPIN?n”;
unsigned char str4[16]=”ATD7418211136;n”;
You need to use ‘r’ and not ‘n’ . so change that part to
unsigned char str1[4]=”ATr”;
unsigned char str3[10]=”AT+CPIN?r”;
unsigned char str4[16]=”ATD7418211136r”;