Forum Replies Created
-
AuthorPosts
-
phanindra nathParticipant
if it is a numeric keypad then you should write your program in such a way that,
whenever ‘1’ key is pressed “AT” command is sent ,
whenever ‘2’ key is pressed “AT+CMGF=1” is sent ….like this you should write your program.
phanindra nathParticipanti think the issue must be with the BAUD RATES mismatch or SCON is not configured correctly. check once!
phanindra nathParticipanthow did you use mobile as GSM modem? and how did you sent the messages using the AT commands to the other mobile?
phanindra nathParticipantyes, you can give AT commands from the keypad but you should write your code for the requirement.
phanindra nathParticipantyes, you can connect GSM module directly to the PC via Serial Port. And commands to GSM module can be given using the hyper terminal.
In the project, Microcontroller itself acts like PC. Microcontroller gives commands to the GSM based on your program.
phanindra nathParticipantonly Tx,Rx and GND connections are enough.
i think only Ascii characters should be sent to hyperterminal.
for example:
send_serial(49); means ASCII value of 49 ie.,’1′ is sent to the terminal
send_serial(49); is same as send_serial(‘1’);
is it the same way you sent to serial port?
if you have some time check my blog
phanindra nathParticipanti guess its LSB which is detected first.
phanindra nathParticipanti think you have used SWITCH as follows-
switch(n)
{
case v1: statements;
case v2: statements;
case v3: statements;
case vn: statements;
default:
}
did you write code like above code?
if so then its WRONG because CASE identifiers should be CONSTANTs .
you cannot write “case v1” because ‘v1’ is a variable.
instead you can write as
……
case 11: statements;
case 12: statements;
…….
i hope you understand.
if you havesome time please check my blog
phanindra nathParticipantwhat you exactly want to do is- call some mobile no. from the SIM card which you placed in the GSM module.If this is wat you want then,
first check weather messages are transfering or not?
if yes, then calling also should work.
phanindra nathParticipantIn order to dump CODE into microcontroller, you have to connect microcontroller to PC via serial port and transfer the code.
For code dumping into uc you should use software like PROLOAD on your desktop.
dumping the code means loading the hex file.
March 4, 2012 at 3:17 pm in reply to: To get innovative ideas to our project “embedded design for power monitoring and optimization #7241phanindra nathParticipantIdeas for wat? adding few more applications to your topic OR ideas in developing the code?
phanindra nathParticipantI guess that frequencies are no need to be same.
Check the datasheet, for adc0808 values are as follows (i think applicable for 0809 also)
minimum frequency- 10khz
typical frequency-640khz
maximum frequency-1280khz
March 4, 2012 at 10:59 am in reply to: How to interface computer’s Serial Port (RS232) with 8051 microcontroller (AT89C51) #7236phanindra nathParticipantif not C, den which language you want? assembly?
phanindra nathParticipantyou can turnOn led by sending ON LED and turn off the led by sending OFF LED.
But you have to write a program in such a way that, if you get ON LED on from serial port then give led_pin=1; similarly for OFF also.
I didnt clearly understand you but i think this might helpu
phanindra nathParticipanti couldnt find any mistake, so i copied the your entire code into my Keilproject, I didnt get any warninge messages. Hex file is sucessfull created
-
AuthorPosts