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. 

0 comments:

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.