if your C language stdio library has puts() and putchar() function, and those function are redirected to serial port, you can send AT command like that :How to write the AT-commands in basic or C languages?
unsigned char send_data[] = "AT+CMGR=2";
puts(send_data);
putchar(0x0D);
AT command is an ASCII string, it is represented with ASCII code!does each AT - command has a ascii or binary equivalent?
ReadSMS DB 'AT+CMGR=2',0x0D
Write a Serial Port charater output sub-routine, use it to output above ASCII string character by character, after 0x0D is printed stop the loop.how do you do this in assembly?
printf("AT");
delay_ms(500);
printf("D+359xxxxxxxxxL;");
Keep try type in AT <enter>, what is the answer from cell phone?I found that all what I typed didn't appear on the hyp trm screen.
data cable have max232 circuit within the port. and it get power from DB-9 PC.
You have to supply these voltage to DB-9 connectori dont know what voltage and from which pins of PC's DB-9 the data cable get the power.
Without the above voltage supplies, the data cable doesn't works!once i connected direct C55 's TX,RX & grd with CELL phone the at commands works but other day it doesn't work
Yes, its true!some body told me that u must use MAX232 is to interface and use data cable.
How to supply the Rx,Tx pins with -5 volts from the microcontroller?has a RS232 Voltage level, that's >+5 Volt as logic level '0' and <-5 Volt as logic level '1'
Please note that <-5 Volt and >+5 Volt is the RS232 Voltage level (at DB-9 pins), it isn't micro controller pins. That voltage is supplied from IC MAX232!How to supply the Rx,Tx pins with -5 volts from the microcontroller?
Quote:
some body told me that u must use MAX232 is to interface and use data cable.
Yes, its true!
Quote:
PIC16F84A microcontroller and a Nokia 6210 cellphone. We will also use a Max232
mobile phones usually use inverted TTL RX/TX signals, so max232 is unnecessary
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?