Microcontroller › 8051 › To interface GSM SIM900 with 8051
- This topic has 13 replies, 10 voices, and was last updated 8 years, 7 months ago by umesh mehtre.
-
AuthorPosts
-
July 22, 2012 at 5:31 pm #1888prajwalParticipant
hello, Im a newbee to this site. But im really happy for being a member now. i learnt lots of things after coming here. the tutorial section is simply best!!! i saw the GSM interface with 8051 tutorial. but now i want to send and recieve sms using the modem. can anybody help me out??? pls im a beginner in programming n have interest in doing projects but i dint had proper source. pls do respond to my kind request. Thanks in advance….
July 23, 2012 at 3:43 pm #8308AmrithParticipantHi Prajwal,
Good !!!
We are here to help you. Please start the project & post your difficulties.
July 24, 2012 at 2:57 pm #8324AnonymousGuestThank u so much for responding to my request. Sir i hav a GSM modem named “WISMO” can this be used for interfacing or should i buy a new one??? pls suggest.. This modem has no changes compared to other. Same AT commands…
July 25, 2012 at 12:42 pm #8328AmrithParticipantHi,
You can start using the modem you got. AT commands are independent of any GSM modem.
All the best & post your doubts & difficulties
July 26, 2012 at 3:08 pm #8333prajwalParticipantThank u sir. I am starting with the project from tomorrow… I have developed the code for sending the message. If it dont work out il post it… on the other way even if it works out i will post it
July 27, 2012 at 12:19 pm #8340AmrithParticipantGood prajwal..
Appreciate your effforts. if you find any difficulties post your doubts.
All the best !!!!
July 28, 2012 at 6:15 am #8346goudayParticipanti am doing project on gsm modem to send sms.i ve connected sim 900 modem through 8051 with max232.i ve the code as follows…………………………which was there in this website only,i ve just editted and added.i ve given the o/p to lcd.i am not getting a correct response……………please help me out……….
#include<reg51.h>#define port P1#define dataport P2 // Data port for LCDsbit rs = port^0;sbit rw = port^1;sbit en = port^2;int count,i;unsigned char check,str[50];bit check_space;void init_serial() // Initialize serial port{TMOD=0x20; // Mode2TH1=0xfd; // 9600 baudSCON=0x50; // Serial mode=1 ,8-Bit data,1 Stop bit ,1 Start bit, Receiving onTR1=1; // Start timer}void delay(unsigned int msec) // Function for delay{int i,j;for(i=0;i<msec;i++)for(j=0; j<1275; j++);}void lcd_cmd(unsigned char item) // Function to send command on LCD{dataport = item;rs= 0;rw=0;en=1;delay(1);en=0;return;}void lcd_data(unsigned char item) // Function to display character on LCD{dataport = item;rs= 1;rw=0;en=1;delay(1);en=0;return;}void lcd_data_string(unsigned char *str) // Function to display string on LCD{int i=0;while(str!=’