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

for the project purpose

I'm able to send AT commands to GSM modem,

but i am not able interface my 8051 to GSM model.

can i get sample inerfacing code for 8051 micro controller.

Parents
  • "can i get sample inerfacing code for 8051 micro controller."

    Yes, you probably can. But from who? And what interface code?

    We can only guess that it's a classical 8051 with a classical UART. But we can't know what is needed to set up the baudrate.

    And we don't know what GSM module. So we don't know what the module experts.

    And we don't know if your electrical connection is sound.

    The world is full (!) of sample code interfacing with a GSM modem. Why should other users on this forum spend time locating such code? Wouldn't it be 100 times more appropriate that you locate code yourself? After all - you need to continue to locate code until you find code that you understand.

    The issue here is that you say "i [sic!] am not able [to] interface ...]"
    But you don't give any indication that you have tried.

    When you have a school assignment, it must obviously be intended for _you_ to do that assignment. It was a long time since I last had a reason to do a school assignment - I see no need to do one today. Just because you feel you have a need of a copy-paste solution to hand in.

    Start working. Come back with follow-up questions when you have a specific issue you wonder about. But to not waste peoples time by assuming that someone else should jump in and too your school tasks.

Reply
  • "can i get sample inerfacing code for 8051 micro controller."

    Yes, you probably can. But from who? And what interface code?

    We can only guess that it's a classical 8051 with a classical UART. But we can't know what is needed to set up the baudrate.

    And we don't know what GSM module. So we don't know what the module experts.

    And we don't know if your electrical connection is sound.

    The world is full (!) of sample code interfacing with a GSM modem. Why should other users on this forum spend time locating such code? Wouldn't it be 100 times more appropriate that you locate code yourself? After all - you need to continue to locate code until you find code that you understand.

    The issue here is that you say "i [sic!] am not able [to] interface ...]"
    But you don't give any indication that you have tried.

    When you have a school assignment, it must obviously be intended for _you_ to do that assignment. It was a long time since I last had a reason to do a school assignment - I see no need to do one today. Just because you feel you have a need of a copy-paste solution to hand in.

    Start working. Come back with follow-up questions when you have a specific issue you wonder about. But to not waste peoples time by assuming that someone else should jump in and too your school tasks.

Children
  • you need to continue to locate code until you find code that you understand.
    usually a lost cause, just recall THE lots of previous posts "I downloaded, but it doesw not work, what do I do"

    eRIK

  • Yes, but the good thing with people who downloads code they don't understand is that they keep themselves occupied for a while.

    Maybe - just maybe - they after a while get to the conclusion that the biggest issue is that they need to spend the time to learn. That the net can't give them magic knowledge as a pill to swallow and then instantly they will get their project going.

    Too many students are way too much focused on finding shortcuts. Alas, a lot of companies have that same view. The end result is often a spectacular failure. Sometimes, we find these failures in stores and web shops. Looking all shiny and nice with an excellent feature list. But still working as well as a moderatly decend student project. I.e. working almost good enough to look like a real product. But only when demonstrated by someone who knows how to navigate around all the hidden traps.