Sign In

Trouble In Sending An Sms To Notice Boarad

Khan Kafeel k.k977377@gmail.com India

Hardware: Atmel At89c51 Software: C Code Using Kiel As Compailer.

1st thing that I want to mentioned here whenever i am sending sms through mob it should display the msg but it no showing anything please tell me waht to do...many time i am geeting "ddddddddddd" on my lcd i have make the conection according to diagram.. as i have 2 terminal one hqve 3 pin rx tx gnd and another are rs232 so should i connect my max to Rx Tx Gnd terminal or dirctly to rs232 terminal?
Notice board using gsm..
For any more deatil you can reffer electronichub
http://www.electronicshub.org/wireless-electronic-notice-board-using-gsm/

from there only i made copy...

Images

trouble in sending an sms to notice boarad

Program

while (rx_data() ! = 0x0d);                     

while (rx_data() ! = 0x0a);                      

if (rx_data() == ‘+’)

{

if (rx_data() == ‘C’)

{

if (rx_data() == ‘M’)

{

if (rx_data() == ‘T’)

{

if(rx_data()==’I’)

{

while (rx_data() != ‘,’);

a = rx_data ();

delay_ms (10);

tx_string (“at”);

tx_data (0x0d);

tx_data (0x0a);

tx_string (“at + cmgf =1”);

tx_data (0x0d);

tx_data (0x0a);

tx_string (“at + cmgr =”);

tx_data (a);

tx_data (0x0d);

tx_data (0x0a);

while (rx_data() ! = 0x0a);

while (rx_data() != 0x0a);

while (rx_data() ! = 0x0a);

for (i=0; i<15; i++)

{

read [i]= rx_data();

}

lcd_stringxy(1,0,read);

delay_ms (5000);

}

}

}

}

}

Replies

R Avinash Gupta
2017-03-18 06:16:14
See this page
http://store.extremeelectronics.co.in/GSM-Connected-Notice-Board.html

Post a reply to Khan Kafeel

Think you can help Khan Kafeel ? Then post your thoughts that might help Khan Kafeel. You will earn a lot of reputation in the technical community.

If your program is in multiple files, then ZIP the entire folder and attach below

Images and Screenshots

These helps other better understand your suggestion.