hey.
I Got the SM5100B GSM/GPRS Module and the SM5100B Evaluation Board SparkFun SM5100B Evaluation Board - CEL-09427 - SparkFun Electronics, im trying to connect the arduino to the evaluation board. what i did was i connect the 3 VBAT pins from the board to the 3V3 arduino pin, the 5 Gnds From the board to the arduino, the RXD0 to the Arduino TX and the TXD0 to arduino RX.
Im using this sketch to see if everithing is working
#include <NewSoftSerial.h> //Include the NewSoftSerial library to send serial commands to the cellular module.
#include <string.h> //Used for string manipulationschar incoming_char=0; //Will hold the incoming character from the Serial Port.
NewSoftSerial 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(115200);
cell.begin(115200);//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.
}
}
but the only thing i get is
Starting SM5100B Communication...