Duda sobre modulo GSM SM5100B y arduino

Hola que tal es la primera vez que expongo alguna duda, la situacion es la siguiente: estoy trabajando con un modulo GSM SM5100B y una tarjeta de arduino uno, he visto los distintos tutoriales que existen y la mayoria maneja un codigo para que verifuques que tu modulo funciona perfectamente. los he probado pero solo logro hacer que aparezca
STIN:0
SDIN:3
y de ahi no pasa, no se si alguien de ustedes haya trabajo con el mismo modulo y le haya pasado algo similar y si si como lo soluciono.
agradeceria mucho la atencion prestada a este tema.

dejo el codigo con el que he trabajado bajado de la web
Código:
#include <SoftwareSerial.h> //Include the NewSoftSerial library to send serial commands to the cellular module.
#include <string.h> //Used for string manipulations

char incoming_char=0; //Will hold the incoming character from the Serial Port.

SoftwareSerial cell(2,3); //Create a \'fake\' serial port. Pin 2 is the Rx pin, pin 3 is the Tx pin.

void setup()
{
//Initialize serial ports for communication.
Serial.begin(9600);
cell.begin(9600);

//Let\'s get started!
Serial.println("Starting SM5100B Communication...");
}

void loop() {
//If a character comes in from the cellular module...
if(cell.available() >0)
{
incoming_char=cell.read(); //Get the character from the cellular serial port.
Serial.print(incoming_char); //Print the incoming character to the terminal.
}
//If a character is coming from the terminal to the Arduino...
if(Serial.available() >0)
{
incoming_char=Serial.read(); //Get the character coming from the terminal
cell.print(incoming_char); //Send the character to the cellular module.
}
}
...
 
¿Has comprobado que la tarjeta SIM que estás usando en el módulo no solicita PIN?

SIND: 3 significa que está parcialmente preparado para recibir llamadas.

Recuerda que puede tardar hasta 30 segundos en sacar un SIND: 4 para indicar que está registrado en la red del proveedor GSM.
 
Última edición por un moderador:
Atrás
Arriba