Discussion in "8051 Discussion Forum" started by    9780id    May 27, 2013.
Thu May 30 2013, 01:50 pm
#11
@kirangowle
i download your GSM notice board LCD and got confuse with this
bit flag1=0;
unsigned char store[10];
bit NewMessage = 0;
bit TI_flag = 0;
bit flag=0;
bit No_correct=0;

what does that mean?
thank you
Thu May 30 2013, 03:26 pm
#12
bit is a special datatype in keil. read more about it in keil tutorial.
http://www.8051projects.net/keil-c-programming-tutorial/
Thu May 30 2013, 04:15 pm
#13
ok,i will look it up.
Thu May 30 2013, 04:20 pm
#14
Also post your complete code (zip it) So that I can see what exactly you're doing. I would rather suggest you to use Kiran's code from project and modify it for your need. coz he is already doing reading part and everything. You only need to do comparison and send response after new SMS is received.
Thu May 30 2013, 04:39 pm
#15
ok,ajay I will upload it soon..
now I am still modify it according to my need.
thanks a lot for your help.
Mon Jun 03 2013, 12:32 pm
#16
hi ajay,sorry for late reply.
here is the code,i just tried to make a simple code which supposed to send sms when it is connected to powersupply but it didn't work i used xtal 11.0592 with baudrate 9600.
please give me correction.

Attachment
Mon Jun 03 2013, 03:16 pm
#17
here is my schematic


Mon Jun 03 2013, 11:40 pm
#18
C6 and C7 should be 1uF, the same as C4 and C5.
I assume your real circuit has power connections to pins 15 and 16.
Tue Jun 04 2013, 07:25 am
#19


C6 and C7 should be 1uF, the same as C4 and C5.
I assume your real circuit has power connections to pins 15 and 16.

ExperimenterUK


in the real circuit already 1uF,so all of the 4 capacitors value are the same.And the power connection also already connected.
But it still can't work how about the code?
Tue Jun 04 2013, 11:24 am
#20
You must initialize serial communication first before you can send anything to modem.
void main (void) {
	initialize_serialcommunication();
	initialize_GSM_modem();
	while (1);
}

Make sure delay2 should be more than at least 500ms.

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Clydehet
Wed May 01 2024, 06:44 pm
Davidoried
Wed May 01 2024, 06:11 pm
KevinTab
Sun Apr 28 2024, 05:35 am
Tumergix
Sun Apr 28 2024, 12:59 am
StevenDrulk
Sat Apr 27 2024, 08:47 pm
StephenHauct
Sat Apr 27 2024, 09:38 am
Adamsaf
Sat Apr 27 2024, 07:12 am
Robertphype
Sat Apr 27 2024, 12:23 am