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 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.
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