kapuraje
Newbie level 3
i have checked both GSM module and MCU with PC through RS232 Cable both are working properly.
i am connecting two with Serial Port(GSM module and MCU),
GSM Module is of Quectel M95 !!!
i have connected 2---3
3---2
5---5 pins of two serial ports
and i wrote a program shown below to check the communication between the two
(i am showing only main function from my code)
But i didn't get any data(response) from GSM after "Ready" on LCD .
i am connecting two with Serial Port(GSM module and MCU),
GSM Module is of Quectel M95 !!!
i have connected 2---3
3---2
5---5 pins of two serial ports
and i wrote a program shown below to check the communication between the two
(i am showing only main function from my code)
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 void main() { int i; TMOD=0x20; TH1=0xFD; SCON=0X50; TR1=1; initialize(); display_lcd(0x80, " Serial Port "); display_lcd(0xC0, " Ready! "); transmit('A'); transmit('T'); transmit('\r'); for(i=0;i<16;i++) { store=mygetchar(); sprintf(buf,"%c",store); display_lcd(i,buf); } lcdcmd(0x01); while(1) { } }
But i didn't get any data(response) from GSM after "Ready" on LCD .
Last edited by a moderator: