Hello everybody. I bought a SIM900A module to implement some SMS and calling functions for hobby and learning. However, I searched all over Internet to find a guide or a tip related to this special module and couldn't find anything. I assume my module is kind of specific or old, maybe something else.
Now, I want to ask you to help me . Firstly, what is this kind of module? I mean on the net the SIM900A is something else but mine is different. May you give me some information?
Secondly, frankly, I do not know anything regarding how to connect related pins to my Arduino Uno. On the other words, what pins should I connect to Arduino?
It look fairly standard for an inexpensive module. 5 volts, ground, Rx -> Tx, Tx -> Rx. The device itself still has its protective paper on it.
The 900A is dual band, aimed at the South East Asia market, so check that it works in your country. It doesn't work in mine so we've just about got to the limit of the advice I can offer.
All you will be doing is sending AT commands through a serial connection and reading the response. Why do you need a library or an example for that? If you really do need an example there are many on the internet.
dannable:
It look fairly standard for an inexpensive module. 5 volts, ground, Rx -> Tx, Tx -> Rx. The device itself still has its protective paper on it.
The 900A is dual band, aimed at the South East Asia market, so check that it works in your country. It doesn't work in mine so we've just about got to the limit of the advice I can offer.
I've done what you said but IDE said programmer is not responding. What I did:
1- Uno Tx to shield Rx
2- Uno Rx to shield Tx
3- Connect Uno 5v to shield 5v
4- Connect Uno GND to shield GND
5- Copying your code into IDE to test
#include <SoftwareSerial.h>
SoftwareSerial GPRS(7, 8);
unsigned char buffer[64]; // buffer array for data receive over serial port
int count=0; // counter for buffer array
void setup()
{
GPRS.begin(19200);
Serial.begin(19200);
}
void loop()
{
if (GPRS.available())
{
while(GPRS.available())
{
buffer[count++]=GPRS.read();
if(count == 64)break;
}
Serial.write(buffer,count);
clearBufferArray();
count = 0;
}
if (Serial.available())
GPRS.write(Serial.read());
}
void clearBufferArray()
{
for (int i=0; i<count;i++)
{
buffer[i]=NULL;
}
}
I guess my wires are likely connected in wrong way, and, what are other pins like VCCMCU or those two extra GND pins upside the board?