scorrpeio
Full Member level 5
Hi...
I have interfaced Pulraj GSM modem with PIC18F4520 using UART. I send the command "AT\n\r" to the modem but dont receive "OK" on RX pin of PIC.
I have tested both PIC and Modem individually on hyperterminal.
PIC works absolutely fine...sends AT on hyperterminal and displays the key hit from computer on the LCD.
Modem also works fine with hyperterminal and responds as "OK" when I send "AT" through computer.
Both PIC and Modem are working fine.
I am using the same cable RS232 also. However, it was mentioned in the user document of modem that if 3 wire communication is used, short pin 7 and 8 on the modem and connector.
Further, the uart port on the modem side is a female port. I have a rs 232 cable which can be connected between pic and computer properly and also between modem and computer properly.
But, the same wire cant be used as it is between pic and modem. So, I made a 3 wire male to male straight(not crossed) connector and shorted the pin 7 and 8 on the modem side.
Still, Modem is not sending any response on RX pin.
Has anyone faced this problem? What is the solution for it?
I have interfaced Pulraj GSM modem with PIC18F4520 using UART. I send the command "AT\n\r" to the modem but dont receive "OK" on RX pin of PIC.
I have tested both PIC and Modem individually on hyperterminal.
PIC works absolutely fine...sends AT on hyperterminal and displays the key hit from computer on the LCD.
Modem also works fine with hyperterminal and responds as "OK" when I send "AT" through computer.
Both PIC and Modem are working fine.
I am using the same cable RS232 also. However, it was mentioned in the user document of modem that if 3 wire communication is used, short pin 7 and 8 on the modem and connector.
Further, the uart port on the modem side is a female port. I have a rs 232 cable which can be connected between pic and computer properly and also between modem and computer properly.
But, the same wire cant be used as it is between pic and modem. So, I made a 3 wire male to male straight(not crossed) connector and shorted the pin 7 and 8 on the modem side.
Still, Modem is not sending any response on RX pin.
Has anyone faced this problem? What is the solution for it?