This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

89V51 MICROCONTROLLER & GSM900A DOES NOT COMMUNICATE EVERYTIME

Hello..
I am doing one project in which msg from GSM is read and it is Displayed to LCD.
but microcontroller 89v51 and GSM900A does not communicate every time..
sometimes it successfully happen that AT command from microcontroller is send to GSM and message from any no. to GSM is Displayed to LCD..
bt it's not happening everytime..
i am not getting the solution, Please help..
I have connect 12V,2A supply to GSM..
Microcontroller Rx pin connected to Tx of GSM..
Microcontroller Tx pin Connected to Rx of GSM..
and Ground to Ground..
Please help me.
what may be the problem?
and how should i fix that.

Parents
  • Sounds like you need to pick a system that's easier to debug or instrument.

    Perhaps you should start by coding your application/automation so it runs on a PC via the COM port, so your app talks in place of Putty/Terminal.

    This way C code running on the PC can using printf, files, time, etc to debug and better understand the interaction. Unless you can program proficiently on a PC you're going to have an uphill battle programming on an embedded target with difficult/limited internal visibility.

Reply
  • Sounds like you need to pick a system that's easier to debug or instrument.

    Perhaps you should start by coding your application/automation so it runs on a PC via the COM port, so your app talks in place of Putty/Terminal.

    This way C code running on the PC can using printf, files, time, etc to debug and better understand the interaction. Unless you can program proficiently on a PC you're going to have an uphill battle programming on an embedded target with difficult/limited internal visibility.

Children