Blogroll

Powered by Blogger.

Tuesday 6 May 2014

How to Connect SIM900 - TTL GSM / GPRS Modem to Arduino Board

by realfinetime  |  in TTL at  06:18

Click here to Read a quick introduction of  SIM900-TTL GSM/GPRS modem 

If we get an idea about this product, our next aim will be to interface this product to a microcontroller. Circuit given below will help you to interface this Modem to Arduino Uno. GSM Modem I used is given in this page


  A modified image of the above circuit is given below.

Important : Don't forget to put SIM card in SIM card holder.



Now upload the following program to check the circuit.

void setup()
{

  Serial.begin(2400);
  Serial.write("AT\r");        
  delay(1500);
 
  while(1)
  {
    if(Serial.available())
    {
      Serial.write(Serial.read());
    }
  }
}

void loop()
{
}



While uploading the program, either power off the Modem or remove the pins connected to the RX and TX of Arduino. After uploading , reconnect the RX and TX pins to the Arduino board. Open the Serial Monitor and change the baud to 2400. Output of the above program will be as shown in the following image.

If your Serial Monitor displays the above output, everything is wright. Otherwise, please check your circuit once again. Click on this link to learn more about AT commands in SIM900-TTL GSM/GPRS Modem. 

1 comment:

  1. All of our IoT and M2M SIMs are empowered for 2G, 3G, and 4G, and when it arrives, 5G as well. This implies that all of your SIMs are not as it were congruous with any gadget within the world, they are moreover future-sealed as innovation changes and updates.

    ReplyDelete

IMPORTANT NOTICE

All the circuits, published in this blog is only after testing and getting proper results in my private lab. When you try these circuits, you should check the supply voltage, polarity of components, presence of childrens nearby and shorts in the circuits. This website will not be responsible for any harm happened to you or your components caused by your carelessness.

For More Electronic Tips



Blog Archive

Proudly Powered by Blogger.