S_51
Newbie level 5
gm862-quad project
Hello,
I am having trouble sending AT commands to the gm862-quad modem when using the usart port of the pic18f452 uC. whenever I use the rs232 port of the PC, i receive the correct responses from the modem but whenever i send the exact command using the uC, i receive the first 2 characters of the command sent. For example; if i send AT<cr> i receive AT. this is what i get when i put the data on an lcd. what it should read is either OK or ERROR. any suggestions on what to do?
P.S: It is for my final year project and i only have 2 more days so any help will be deeply appriciated
Hello,
I am having trouble sending AT commands to the gm862-quad modem when using the usart port of the pic18f452 uC. whenever I use the rs232 port of the PC, i receive the correct responses from the modem but whenever i send the exact command using the uC, i receive the first 2 characters of the command sent. For example; if i send AT<cr> i receive AT. this is what i get when i put the data on an lcd. what it should read is either OK or ERROR. any suggestions on what to do?
P.S: It is for my final year project and i only have 2 more days so any help will be deeply appriciated