Hay Guys,
I want to design a project which is used to control the home appliances through SMS using AT89S52 Micro controller. I am able to done the hardware section but i don't understand the programming of this micro controller. From where i should start the programming in c language. I have thoroughly read the AT commands the GSM Module the max 232 and the Serial port transmission to micro controller but i have not found the c language commands or pattern for 8051 AT89S52 micro controller operating in sending and receiving SMS. How to program that Micro controller? How to use AT commands in c? What is the baud rate uart etc etc how can we access the ports of microcontroller? How can deal with commands when we send sms from mobile to gsm module? So much complications in programming please help me out.
Kindly help to make the project possible for me my last date of project submission is 20 July i have not even a single word in programming side.
A search in the forum will give you more results as i myself have answered more than 50 times... its a common question and ask you to search the forum properly with all keywords....
i think Romel has already done sending sms and he is an expert in that as he has understood that concept in this forum....
his thread is active and many people use it as reference.... romel can you put that link for him.... where you interfced GSM woth 8051.... you also have put code for that... it will be helpful and if you can help others with your expertise of knowledge...
i think Romel has already done sending sms and he is an expert in that as he has understood that concept in this forum....
his thread is active and many people use it as reference.... romel can you put that link for him.... where you interfced GSM woth 8051.... you also have put code for that... it will be helpful and if you can help others with your expertise of knowledge...
hehe Im not an expert but I know I can help him with this matter.. he said he dont know yet some basic of a controller so I think he would be better understanding first the basics..
by the way this is the thread. you can see there how I send and read via uart..
@ Romel you send a link and i read this link but can you please help me that how can we connect AT89C52 to MAX232 and MAX 232 to Serial Port. it will be more helpful if you provide me a schematic to done this.
---------- Post added at 18:21 ---------- Previous post was at 18:19 ----------
first we connect a data cable of my mobile to serial port and then connect serial port to max 232 same as the picture you post and finally connect rx and tx from max 232 to micro controller is it ok na?
thank you one more question how can i connect a my relays from uln2003 to my micro controller.
mobile ---> serial port ----> max232 ----> microcontroller ---> now from which pins of mcu i connect uln 2003.
you can also remove the max232 if your modem is operating at 5v or if it is capable of handling 5v..
you can directly connect your modem to your controller but when you connect your modem/mobile to PC dont forget the max232 thing
we will get that stage later... this is just a suggestion dont mix all these things in your mind.. focus on 1 stage if you are a starter... just a suggestion..