May 9, 2011 at 6:57 pm #917
i have a doubt about one of the sample projects you have put up on your website. am talking about the one titled “interfacing a gsm module with 8051 without using pc”.
the code which u have given as sample, wat does it do exactly??? does it display an ‘AT’ that is sent to the gsm module?? does it also show the reply that the gsm module gives??? like “OK”!May 10, 2011 at 6:08 am #6130dagakshayParticipant
hello gautam… send the link where you following this projectMay 11, 2011 at 2:20 pm #6154romel emperadoParticipant
post here the specific blocks of code you want to ask.. maybe we can help..May 14, 2011 at 5:19 pm #6203
this is the link….
i built the circuit as given in the circuit diagram and used the same given code….but am not getting any output on the led… its blankMay 17, 2011 at 5:11 am #6253dagakshayParticipant
led or LCD any ways, are you getting some boxes on LCD or its completly blank.
if you getting boxes then check you connection again. and if its completely blank check the supply for LCDMay 17, 2011 at 12:55 pm #6257
i passed that hurdle….am getting the response now…i modified the code to suit my needs now…. instead of sending AT i modified it to send, ATD phoneno the code is as follows….
#define port P1
#define dataport P2 // Data port for LCD
sbit rs = port^2;
sbit rw = port^3;
sbit en = port^4;
unsigned char check,str;
void init_serial() // Initialize serial port
TMOD=0x20; // Mode2
TH1=0xfd; // 9600 baud
SCON=0x50; // Serial mode=1 ,8-Bit data,1 Stop bit ,1 Start bit, Receiving on
TR1=1; // Start timer
void delay(unsigned int msec) // Function for delay
for(j=0; j<1275; j++);
void lcd_cmd(unsigned char item) // Function to send command on LCD
dataport = item;
void lcd_data(unsigned char item) // Function to display character on LCD
dataport = item;
void lcd_data_string(unsigned char *str) // Function to display string on LCD
- This topic has 10 replies, 7 voices, and was last updated 10 years, 6 months ago by .
Viewing 11 posts - 1 through 11 (of 11 total)