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

Using Microcontroller to control a GSM modem

Hi all,

I'm using a eZ430-F2103 microcontroller to control a GSM modem. My problem is I don't know what is supposed to happen when you send an ASCII character to GSM modem from the microcontroller. Will the GSM modem respond me back with the same character? Is it just simply sending ASCII characters or there is more to it?

Thank you

Rui

Parents
  • You replied in a new thread, so your reply has is totally disconnected from the start of the discussion!

    http://www.keil.com/forum/docs/thread9270.asp#msg43265

    "Yes, my GSM modem is a module and thus it can be connected ... to a microcontroller without the RS232"

    Wait! Don't just assume that - have you verified that in the Datasheet

    As I said, some (many?) modules do not use standard 5V or 3V logic levels - so they do need some sort of level-translation in the connection to the microcontroller.
    If you ignore this, you may damage the module!

    "Right now I am trying to get the right baud rate with the clock frequency, so that the module and the microcontroller will be speaking the same language."

    Yes, obviously that is fundamental!

    See The baud rate calculator:
    http://www.keil.com/c51/baudrate.asp

    "Tell me more if you have more to tell me."

    I don't think there's anything more that relevent at the moment; just to reiterate the starting steps:

    1. Read the module's Manual - in particular, its AT Command Set. Follow the links I gave earlier to other sources of information.
    Search the manufacturer's support site.
    Google.

    2. Experiment with Hypoterminal (or simialar) to send commands manually and observe the responses (you will need the RS232 transceiver).

    3. Simulate

    4. Run in target.

Reply
  • You replied in a new thread, so your reply has is totally disconnected from the start of the discussion!

    http://www.keil.com/forum/docs/thread9270.asp#msg43265

    "Yes, my GSM modem is a module and thus it can be connected ... to a microcontroller without the RS232"

    Wait! Don't just assume that - have you verified that in the Datasheet

    As I said, some (many?) modules do not use standard 5V or 3V logic levels - so they do need some sort of level-translation in the connection to the microcontroller.
    If you ignore this, you may damage the module!

    "Right now I am trying to get the right baud rate with the clock frequency, so that the module and the microcontroller will be speaking the same language."

    Yes, obviously that is fundamental!

    See The baud rate calculator:
    http://www.keil.com/c51/baudrate.asp

    "Tell me more if you have more to tell me."

    I don't think there's anything more that relevent at the moment; just to reiterate the starting steps:

    1. Read the module's Manual - in particular, its AT Command Set. Follow the links I gave earlier to other sources of information.
    Search the manufacturer's support site.
    Google.

    2. Experiment with Hypoterminal (or simialar) to send commands manually and observe the responses (you will need the RS232 transceiver).

    3. Simulate

    4. Run in target.

Children
No data