Who's willing to try Blynk with GSM modules?

@vshymanskyy Dear Volodymyr,
some months ago I asked you for a SIM800L library … but it was too early !!
Since then I have been working hard on this topic and now I have a system working with this modue:


connected to a ATmel 328PU via a soft serial (D2 and D3). I’m using only AT commands.

Anyway I’m very interested in testing your library and I’ll appreciate if you could send me too all the instructions.

By the way, I experienced a lot of troubles in electrically interfacing the SIM to ATmel digital pin.
At the end I solved with this interface module:


Have you had similar problems?

Best regards and congratulations for your work,
Giancarlo

Guys, sorry you are late bit - you will have to wait for the release.
You won’t wait too long actually! :wink:

Yes please. We build a number of arduino type prototypes for customers before we start working with design houses for production and most deals we work with require GSM connectivity. Would love to use blynk for quick prototyping and have been praying for you to support GSM without having to use the user defined connection method !

Heh, I feel like Santa Claus now :wink:

@vshymanskyy, Dear Volodymyr,
I am using the icomsat 1.1 SIM900 GSM with arduino Mega. I tried the tests with AT_Debug.ino, and I did not succeed. I thought it was my SIM900.

Serial Monitor appears:

Autodetecting baud rate
Trying baud rate 115200… fail
Trying baud rate 9600… fail
Trying baud rate 57600… fail
Trying baud rate 19200… fail
Trying baud rate 74400… fail
Trying baud rate 74880… fail


Module does not respond!
Check your Serial wiring
Check the module is correctly powered and turned on

but I tried sending sms with another code and it worked. Do you know if you have any problems with icomsat 1.1 SIM900 GSM.
Follows the code used for sms.

#include <SoftwareSerial.h>

SoftwareSerial gsm(50, 3);

void setup()
{
  gsm.begin(9600);
  Serial.begin(9600);

  Serial.println("Type 'a' and hit Enter to send the test sms");
  Serial.println("Note: Enter only the letter without the single quotation marks.");
}

void loop() // run over and over
{
  char comando = Serial.read();

  if (comando == 'a') {
    enviaSMS();
  }

}

void enviaSMS() {
  gsm.print("AT+CMGF=1\r"); // Sets sms as text mode
  delay(500);
  gsm.println("AT+CMGS=\"+551499326984\"\r"); // Send command + destination phone number
  delay(500);
  gsm.println("Teste arduino\r"); // Text for the message
  delay(500);
  gsm.println((char)26);// End the commands and send the sms
  delay(500);
  Serial.println("SMS Sent with success");
}

Hi all, here is the new release:

Be sure to completely remove old versions of libraries, and use those from release package.
Thx.

@vshymanskyy
I have two sim900A sheilds .Does this supported hardware for Blynk??

Yes, should work

I’m in. How about the A6 and the A7 with GSM and GPS?

@vshymanskyy Hi I have the same shield Adafruit Fona 808 GSM/GPRS module. Please inform when the platform is ready for testing thanks a lot.

Any sim 900 or 800 series should work!
A6, A7, M590E - in future I hope, when we test it.

I will! I have used a SIM800 module with Arduino. I would like to use it with Blynk too!

Just try it-it isalready released.

But at least for me doesn’t work now (the BLYNK example)… Some strange things happens there. Were able to successfully run WebClient example though.

I already bought a sim800l module. I started compiling the sketch that already comes ready inside the “Boards_GSM” folder of the blynk library called “SIM800_SIM900” and a compilation error occurred (I’m using Arduino Mega):

Exit status 1
No matching function for call to ‘TinyGsm :: GsmClient :: GsmClient (HardwareSerial &)’

Does anyone know how to fix this?

PS:The code:

//#define BLYNK_DEBUG
#define BLYNK_PRINT Serial    // Comment this out to disable prints and save space

// Default heartbeat interval for GSM is 60
// If you want override this value, uncomment and set this option:
//#define BLYNK_HEARTBEAT 30

#include <TinyGsmClient.h>
#include <BlynkSimpleSIM800.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "YourAuthToken";

// Your GPRS credentials
// Leave empty, if missing user or pass
char apn[]  = "YourAPN";
char user[] = "";
char pass[] = "";

// Hardware Serial on Mega, Leonardo, Micro
#define GsmSerial Serial1

// or Software Serial on Uno, Nano
//#include <SoftwareSerial.h>
//SoftwareSerial GsmSerial(2, 3); // RX, TX

TinyGsmClient gsm(GsmSerial);

void setup()
{
  // Set console baud rate
  Serial.begin(115200);
  delay(10);

  // Set GSM module baud rate
  GsmSerial.begin(115200);
  delay(3000);

  // Restart takes quite some time
  // You can skip it in many cases
  Serial.println("Restarting modem...");
  gsm.restart();

  Blynk.begin(auth, gsm, apn, user, pass);
}

void loop()
{
  Blynk.run();
}

I get ‘gsm’ was not declared in scope against the below

gsm.restart();

I’ve just deleted it and it seems to compile ok. will see if it works…

Try the BlynkClient from TinyGSM lib example. It compiles (it is slightly different) but for me it doesn’t work either. It can’t connect with internet after calling AT+CSTT=... I’m working on it by myself, but as for now - no joy.

ok, it compiled… it uploaded to the board… and I have a steady blink every 3 seconds on my linksprite sim900 shield which implies it found a network and joined the APN, but the Blynk app is saying the Arduino Uno is offline. How best do I go about troubleshooting this ?

Please check this out: http://tiny.cc/tiny-gsm-readme

  • try WebClient example.

Thanks Marvin 7 for the advice. I tried the BlinkClient but I did not succeed in compiling either. Apparently it will have to be created from the outside the library examples.