tharaka.nw
Newbie level 3

Hi All,
I want to interface SIM900 module with 16F877A micro-controller to send some data to my server using GPRS. When I programed MCU to send some AT simple commands like ATD to module through serial interface, it works fine. Although I can send commands to module I can't get any out from module when I control it using MCU. However when it interface to PC using MAX232 it works fine and I got out put from it. I,m sure that module send it response data. Why MCU cannot receive data from module. Actually, I want to send commands to module after considering it response like OK, ERROR.
I want to interface SIM900 module with 16F877A micro-controller to send some data to my server using GPRS. When I programed MCU to send some AT simple commands like ATD to module through serial interface, it works fine. Although I can send commands to module I can't get any out from module when I control it using MCU. However when it interface to PC using MAX232 it works fine and I got out put from it. I,m sure that module send it response data. Why MCU cannot receive data from module. Actually, I want to send commands to module after considering it response like OK, ERROR.