Discussion in "Embedded GSM Development" started by    waterineyes    Apr 22, 2013.
Mon Apr 22 2013, 07:39 pm
#1
I am making Major Project of GSM based Electronic Notice Board using GSM SIM300, AT89C51 and LCD..

So I need help in the coding..


I have made the Hardware part, I am only left with Coding Part..

Can anyone help me out with it.??

It is urgent..
Mon Apr 22 2013, 07:45 pm
#2
For simpler details, I am using 8051 Microcontroller that is AT89C51, with 16X2 LCD attached to it at P0 with:

RS pin connected to P2^5
RW pin connected to P2^7
EN pin connected to P2^6..

GSM SIM300 is connected to RS232 via DB-9 Connector which is further connected to Microcontroller with its 10 and 11th pins..

I want to send message from Mobile and that message should be displayed on the LCD via GSM SIM300..

For this hardware part, I want code, I know the code for how to print string on LCD but I have no idea of AT commands and other Serial Programming, So I need help with this part..

Can someone please help me with this Coding Part, I will be very thankful to you..

It is urgent, as I have to submit my Project within this week...

Waiting for a reply from a helpful person...
Mon Apr 22 2013, 11:35 pm
#3
@ waterineyes
firstly you has to go with serial communication
go to tutorial section
http://www.8051projects.net/serial-communication/
for gsm
http://www.8051projects.net/t41321/embedded-gsm-development/gsm-modem-8051.htm
Tue Apr 23 2013, 12:42 pm
#4
Some how I manage to get this:

Can you check it for me if it is right or wrong, I am getting an error and Hex file is not generating:

Build target 'Target 1'
compiling e-Notice.c...
C51 FATAL-ERROR -
ACTION: GOBAL OPTIMIZATION
FUNCTION: Rxmsg
ERROR: CANNOT OPTIMIZE FUNCTION
COMPILATION TERMINATED.
use the following work-around:
#pragma OPTIMIZE (7)
/* your original function */
Rxmsg () {
....
}
/* end of your original function */
#pragma OPTIMIZE (8)
Target not created..



My Full Code is attached below:

Tue Apr 23 2013, 12:43 pm
#5
This is my full code...
Tue Apr 23 2013, 12:52 pm
#6
Please help at the earliest..
Tue Apr 23 2013, 06:14 pm
#7
I think you are using a very big buffer
>> unsigned char p[90];

which controller are you using?
Tue Apr 23 2013, 08:32 pm
#8
I am using AT89C51, 8051 simply...
Tue Apr 23 2013, 08:35 pm
#9
@Ajay Bhargav, I need the working code urgently as I have to submit it in another two days..
 ericparggah like this.
Tue Apr 23 2013, 09:25 pm
#10
Hi Waterineyes(nice name)

Have u seen the link given by mojaka,
There you can find the working code.

Try that
If some thing is not clear contact us back.
We are happy to help U.

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Astorne
Tue Apr 16 2024, 08:52 pm
Williamjaf
Tue Apr 16 2024, 12:25 pm
best_yyPa
Tue Apr 16 2024, 09:42 am
ErnestoExpop
Tue Apr 16 2024, 02:57 am
Jamesclepe
Mon Apr 15 2024, 11:10 am
Aliciaelora
Mon Apr 15 2024, 07:59 am
btaletvpcu
Mon Apr 15 2024, 04:36 am
UbvpwcTib
Mon Apr 15 2024, 03:13 am