Ask your own question, for FREE!
Engineering 7 Online
OpenStudy (anonymous):

Hey, I am just thinking of making my Major Project, So Me and My friends have decided to make a \(\color{green}{\text{GSM Based Project}}\) about \(\color{blue}{\text{Sending SMS from Mobile which will be displayed on LCD connected to 8051}}\) \(\color{blue}{\text{Micro Controller}}\) such as \(\color{red}{\text{ATMEL AT89C51}}\). So, any type of help about Schematic, Programming, Links, Videos, Photos will be highly appreciated..

OpenStudy (anonymous):

@.Sam.

OpenStudy (anonymous):

hey @waterineyes I had some similar project. its about Control of irrigation motor using GSM. The main theme of the project is Microcontroller will continuously detects the DRY/WET of land and sends sms to desired mobile. Based on this user will make motor ON/OFF by sending back SMS to MC using GSM.

OpenStudy (anonymous):

will this project helps you. if so I will send some stuff relating to it. can i

OpenStudy (anonymous):

Hey M_Vamshi_Kumar_Reddy, I am working on the same.. Yeah sure, you can send all the stuff relating to it.. It is urgent as we have to submit it in this coming week.. So, do fast, Also if you are from India then you can drop your number in my inbox or here... Hoping for a great friendship...!!

OpenStudy (anonymous):

91-9490325197 HYDERABAD, INDIA

OpenStudy (anonymous):

That is so nice of you.. I have downloaded all these.. Now, let me have a look so that I can change the code according to my hardware.. I will call you in case I have got any difficulty in understanding of coding part.. Thank you once again for your this effort...

OpenStudy (anonymous):

You are welcome. May I know something about. Its because of my curiosity. Im sorry if this hurts you.

OpenStudy (anonymous):

Yes you can.. Go ahead..

OpenStudy (anonymous):

Where this code is having problem : It is giving error : 'DATA' : TOO LARGE SEGMENT.. What is this error?? I am unable to find its solution that how to remove it.. My Code is: #include <REGX51.H> sbit rs=P1^0; sbit rw=P1^1; sbit en=P1^2; void lcd_command(unsigned char); void lcd_data(unsigned char); void string(unsigned char *disp); void delay(unsigned int); void read(char*); void newline(); void display (char); void send(); void serial(); void nextline(unsigned char); void nextline1(unsigned char); void nextline2(unsigned char); sfr chdata=0xA0; void lcdnewline(); char a[161]; char b[13]; int i,j,z,k,l,f=0; void main() { P0=0x00; P1=0x00; P2=0xFF; delay(100); lcd_command(0x38); delay(100); lcd_command(0x80); delay(100); lcd_command(0xc0); delay(100); lcd_command(0x0e); delay(100); lcdnewline(); serial(); read("AT"); newline(); read("AT+CMGF=1"); newline(); lcdnewline(); read("AT+CMGD=1"); newline(); lcdnewline(); while(1) { lcd_command(0x83); string("NOTICE BOARD"); for(i=0;i<=13;i++) { while(RI==0); b[i]=SBUF; RI=0; } lcdnewline(); string("Command Signal"); if((b[2]=='+')||(b[3])=='+') { if((b[3]=='C')||(b[4])=='C') { if((b[4]=='M')||(b[5]=='M')) { if((b[5]=='T')||(b[6])=='T') { if((b[6]=='I')||(b[7])=='I') { lcd_command(0xC4); string("received"); lcdnewline(); //delay(300); read("AT+CMGF=1"); newline(); read("AT+CMGR=1"); newline(); newline(); //newline(); //newline(); for(l=0;l<=161;l++) { while(RI==0); a[l]=SBUF; RI=0; } for(l=60;l<=161;l++) { f=1; if(a[l]=='a') { k=0; do { k++; l++; if(k<=20) { lcd_data(a[l]); } if((k>20) && (k<=40)) { nextline(f); lcd_data(a[l]); f++; } if((k>40) && (k<=60)) { nextline1(f); lcd_data(a[l]); f++; } if((k>60) && (k<=80)) { nextline2(f); lcd_data(a[l]); f++; } } while(a[l]!='$'); l=162; break; } //break; } delay(65000); } } } } } } /* while end here*/ } /* MAIN ends here*/ /* PROTOTYPE FUNCTIONS */ void lcd_command(unsigned char value) { chdata=value; rs=0; rw=0; en=1; delay(100); en=0; } void lcd_data(unsigned char value) { chdata=value; rs=1; rw=0; en=1; delay(150); en=0; } void read(char *ch) { int i; for(i=0;ch[i]!='\0';i++) { display(ch[i]); } } void display(char c) { SBUF=c; send(); } void send() { while(TI==0); TI=0; } void newline() { SBUF='\r'; while(TI==0); TI=0; SBUF='\n'; while(TI==0); TI=0; } void delay(unsigned int num) { unsigned int k,q; for(k=0;k<num;k++) { for(q=0;q<num;q++); } } void lcdnewline() { lcd_command(0x01); delay(100); lcd_command(0x02); delay(100); } void serial() { SCON=0x50; TMOD=0x20; TH1=0xFD; TR1=1; } void string(unsigned char *disp) { int x; for(x=0;disp[x]!=0;x++) { lcd_data(disp[x]); } } void nextline(unsigned char v) { if(v==1) { lcd_command(0XC0); } } void nextline1(unsigned char v) { if(v==21) { lcd_command(0X94); } } void nextline2(unsigned char v) { if(v==41) { lcd_command(0XD4); } } Can anyone help me out with this code??

OpenStudy (koikkara):

@waterineyes Bro.....y not compile the pgm in keil microvision3.......bcuz recently i had this done....

OpenStudy (anonymous):

I am compiling the program in Keil Microvision 3, and getting the above error.. How can I remove that??

OpenStudy (anonymous):

@koikarra, operating GSM is something different from DTMF..

OpenStudy (anonymous):

* @Koikkara

OpenStudy (koikkara):

@waterineyes ofcourse, but programmin is always just the same with different logic. I do the pgming works so might help you, as soon as i get software from my home laptop....

OpenStudy (anonymous):

How much time it will take?? I require only the programming code..

OpenStudy (anonymous):

gopi please solve one question of engineering and one of physics

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!