Sim900 vs hardware || sw serial. GSM.H?

I have the sim900 working with the library #include <SoftwareSerial.h>. See some simple example code.

#include <SerialGSM.h>
#include <SoftwareSerial.h>
SerialGSM cell(2,3);
void setup(){  
 Serial.begin(9600); 
 cell.begin(9600);
  cell.Verbose(true);
  cell.Boot(); 
  cell.FwdSMS2Serial();
  cell.Rcpt("+17032446640");
  cell.Message("hello world");
  cell.SendSMS();
}


void loop(){
  if (cell.ReceiveSMS()){
    Serial.println(cell.Message());
    cell.DeleteAllSMS();
  }

}

I want to use the <GSM.h> library, but I think it uses hardware serial

  • Is it possible to use the gsm.h library on my sim900?
  • If it is possible, how does it connect to my pro mini?

Here is the product: http://www.sainsmart.com/sim900-gprs-gsm-board-quad-band-module-kit-for-arduino-high-quality-new.html

Current setup: [![[/url]

I imagine I need to connect the sim900 to the 0, 1 pins on the pro mini?](http://s33.postimg.org/horuqnidn/IMG_2638.jpg "[/url]

I imagine I need to connect the sim900 to the 0, 1 pins on the pro mini?")](http://postimg.org/image/horuqnidn/)

I want to use the <GSM.h> library, but I think it uses hardware serial

First, you’d be wrong. Second, it won’t work with your hardware.

Why wont it work? Is there no customization of the library to get it to work?

I have used the serialgsm & softwareserial library on the Arduino gsm shield, as well as gsm.h. Why would you not be able to do the opposite, since they both use AT commands?

since they both use AT commands?

Feel free to try. Won’t hurt my feelings any. I suspect, though, that the set of AT commands is not the same for the two devices.

I guess it's plausible that it both the gsm.h library and the serialgsm library would both work on the Arduino GSM, and not the SIM900 but seems odd that there would be this kind of compatibility on the Arduino GSM and not other GSM modems that use similar AT commands.

PaulS: First, you'd be wrong. Second, it won't work with your hardware.

You're incorrect. I just got the gsm.h library to work with the sainsmart sim900.

It's simple:

RX on the sim900 > Arduino pro mini port 3 TX > 2 Grounds connected to eachother.

Since both use AT commands, it makes sense.

You're incorrect.

So, you connected the SIM900 to non-hardware serial pins, and the library works, proving that I'm wrong about the library not using hardware serial. How's that? I must have missed something.

Your input wasn't actionable, or helpful. So thanks for that.