Comments on: Arduino GSM shield https://www.open-electronics.org/arduino-gsm-shield/ Open source electronic projects Thu, 26 Jul 2018 09:08:30 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: domumtech https://www.open-electronics.org/arduino-gsm-shield/#comment-12716 Wed, 30 May 2018 14:01:55 +0000 http://www.open-electronics.org/?p=640#comment-12716 Estimados,

No logro hacer funcionar el Arduino MEGA con el shield : Shield SIM 900

La librería que estoy utilizando es la GSMSHIELD (Marcos).
En la librería descomenté las líneas que referían a utilizar el MEGA.

He buscado por todos lados y no logro encontrar un esquema que me funcione.
Si a alguien le pasó por favor que nos cuente como solucionar esto,
desde ya muchas gracias,
Saludos
Juan

]]>
By: Ahmed Badawy https://www.open-electronics.org/arduino-gsm-shield/#comment-12441 Sun, 16 Apr 2017 08:45:00 +0000 http://www.open-electronics.org/?p=640#comment-12441 Hello ,

I have a question on Arduino GSM is it possible to send and received voice and SMS from web (HTTP) not from Arduino

not from the on-board head-jack for headphones. Everything from web

if it possible please your advice​

]]>
By: Happy new year from Open-Electronics.org: best posts in 2016, thank you! | Open Electronics https://www.open-electronics.org/arduino-gsm-shield/#comment-12326 Mon, 09 Jan 2017 11:00:54 +0000 http://www.open-electronics.org/?p=640#comment-12326 […] Arduino GSM shield […]

]]>
By: Meningsfelle https://www.open-electronics.org/arduino-gsm-shield/#comment-12138 Tue, 09 Aug 2016 20:18:00 +0000 http://www.open-electronics.org/?p=640#comment-12138 In reply to chris.

12 V, 2A

]]>
By: chris https://www.open-electronics.org/arduino-gsm-shield/#comment-12120 Thu, 28 Jul 2016 02:24:00 +0000 http://www.open-electronics.org/?p=640#comment-12120 In reply to Meningsfelle.

What power supply are you using? What is the output current?

]]>
By: chris https://www.open-electronics.org/arduino-gsm-shield/#comment-12119 Thu, 28 Jul 2016 00:59:00 +0000 http://www.open-electronics.org/?p=640#comment-12119 I’m using the GPS/GSM shield with a SIM928 module but the GSM_GPRSLibrary_GPS sketch isn’t working. The GSM sketches are working fine its just the GPS sketch is not. Its failing at gps.attachGPS(). I’m using the sketches from here: https://github.com/MarcoMartines/GSM-GPRS-GPS-Shield and using an external 12V power supply with 1.2A output. The output from the Arduino serial monitor, and picture of my setup is posted below. Please help.

GSM Shield testing.
ATT: OK
RIC:
OK

DB:ELSE
ATT: OK
RIC:
OK

DB:ELSE
ATT: OK
RIC:
OK

DB:ELSE
ATT: OK
RIC:
OK

DB:CORRECT BR
ATT: OK
RIC:
OK

ATT: OK
RIC:
OK

ATT: OK
RIC: ATE0

OK

ATT: OK
RIC:
OK

ATT: OK
RIC:
OK

ATT: OK
RIC:
OK

ATT: OK
RIC:
OK

ATT: +CPMS:
RIC:
+CPMS: 2,30,2,30,2,30

OK

ATT: OK
RIC:
OK

ATT: SHUT OK
RIC:
SHUT OK

status=READY
ATT: OK
RIC:
OK

ATT: OK
RIC:
OK

ATT: OK
RIC:
+CREG: 0,1

OK

ATT: OK
RIC:
ERROR

ATT: OK
RIC:
ERROR

ATT: OK
RIC:
ERROR

ATT: OK
RIC:
ERROR

ATT: OK
RIC:
ERROR

status=ERROR
ATT: OK
RIC:
ERROR

ATT: Unknown
RIC:
ERROR

ATT: unknown
RIC:
ERROR

ATT: Not
RIC:
ERROR

ATT: 2D
RIC:
ERROR

ATT: 2d
RIC:
ERROR

ATT: 3D
RIC:
ERROR

ATT: 3d
RIC:
ERROR

ATT: OK
RIC:
ERROR

ATT: OK
RIC:
ERROR

]]>
By: Meningsfelle https://www.open-electronics.org/arduino-gsm-shield/#comment-12073 Fri, 24 Jun 2016 13:45:00 +0000 http://www.open-electronics.org/?p=640#comment-12073 I have run the example code for GPS, but with no success.

The sketch is in the beginning of the copy, and the echo from Arduino is in the end of the following copy. Please help me to sort this out.

The Sketch:
___________________________________________________________
#include “SIM900.h”
#include
//#include “inetGSM.h”
//#include “sms.h”
//#include “call.h”
#include “gps.h”

//To change pins for Software Serial, use the two lines in GSM.cpp.

//GSM Shield for Arduino
//www.open-electronics.org
//this code is based on the example of Arduino Labs.

//Simple sketch to start a connection as client.

//InetGSM inet;
//CallGSM call;
//SMSGSM sms;
GPSGSM gps;

char lon[15];
char lat[15];
char alt[15];
char time[20];
char vel[15];
char msg1[5];
char msg2[5];

char stat;
char inSerial[20];
int i=0;
boolean started=false;

void setup()
{
//Serial connection.
Serial.begin(9600);
Serial.println(“GSM Shield testing.”);
//Start configuration of shield with baudrate.
//For http uses is raccomanded to use 4800 or slower.
if (gsm.begin(9600)) {
Serial.println(“nstatus=READY”);
gsm.forceON(); //To ensure that SIM908 is not only in charge mode
// gps.forceON();
started=true;
} else Serial.println(“nstatus=IDLE”);

if(started) {
//GPS attach
if (gps.attachGPS())
Serial.println(“status=GPSREADY”);
else Serial.println(“status=ERROR”);

delay(20000); //Time for fixing
stat=gps.getStat();
if(stat==1)
Serial.println(“NOT FIXED”);
else if(stat==0)
Serial.println(“GPS OFF”);
else if(stat==2)
Serial.println(“2D FIXED”);
else if(stat==3)
Serial.println(“3D FIXED”);
delay(5000);
//Get data from GPS
gps.getPar(lon,lat,alt,time,vel);
Serial.print(“Lon: “);
Serial.println(lon);
Serial.print(“Lat: “);
Serial.println(lat);
Serial.print(“Alt: “);
Serial.println(alt);
Serial.print(“Time: “);
Serial.println(time);
Serial.print(“Vel: “);
Serial.println(vel);
}
};

void loop()
{
//Read for new byte on serial hardware,
//and write them on NewSoftSerial.
serialhwread();
//Read for new byte on NewSoftSerial.
serialswread();
};

void serialhwread()
{
i=0;
if (Serial.available() > 0) {
while (Serial.available() > 0) {
inSerial[i]=(Serial.read());
delay(10);
i++;
}

inSerial[i]=”;
if(!strcmp(inSerial,”/END”)) {
Serial.println(“_”);
inSerial[0]=0x1a;
inSerial[1]=”;
gsm.SimpleWriteln(inSerial);
}
//Send a saved AT command using serial port.
if(!strcmp(inSerial,”TEST”)) {
Serial.println(“BATTERY TEST 1”);
gps.getBattInf(msg1,msg2);
Serial.println(msg1);
Serial.println(msg2);
Serial.println(“BATTERY TEST 2”);
gps.getBattTVol(msg1);
Serial.println(msg1);
stat=gps.getStat();
if(stat==1)
Serial.println(“NOT FIXED”);
else if(stat==0)
Serial.println(“GPS OFF”);
else if(stat==2)
Serial.println(“2D FIXED”);
else if(stat==3)
Serial.println(“3D FIXED”);
}
//Read last message saved.
if(!strcmp(inSerial,”MSG”)) {
Serial.println(msg1);
} else {
Serial.println(inSerial);
gsm.SimpleWriteln(inSerial);
}
inSerial[0]=”;
}
}

void serialswread()
{
gsm.SimpleRead();
}
_______________________________________________________________
From the Serial echo:
GSM Shield testing.
DB:NO RESP
DB:NO RESP
ATT: OK
RIC: AT

OK

DB:ELSE
ATT: OK
RIC: AT

OK

DB:CORRECT BR
ATT: OK
RIC: AT

OK

ATT: OK
RIC: AT&F

OK

ATT: OK
RIC: ATE0

OK

ATT: OK
RIC:
OK

ATT: OK
RIC:
OK

ATT: OK
RIC:
OK

ATT: OK
RIC:
OK

ATT: +CPMS:
RIC:
+CPMS: 9,20,9,20,9,20

OK

ATT: OK
RIC:
OK

ATT: SHUT OK
RIC:
SHUT OK

status=READY
ATT: OK
RIC:
OK

ATT: OK
RIC:
OK

ATT: OK
RIC:
+CREG: 0,1

OK

ATT: OK
RIC:
OK

status=GPSREADY
ATT: OK
RIC:
+CGPSSTATUS: Location Unknown

OK

ATT: Unknown
RIC:
+CGPSSTATUS: Location Unknown

OK

GPS OFF
ATT: OK
RIC:
0,0.000000,0.000000,0.000000,20150629111420.000,0,0,0.000000,0.000000
OK

ATT: OK
RIC:
0,0.000000,0.000000,0.000000,20150629111420.000,0,0,0.000000,0.000000
OK

Lon: 0.000000
Lat: 0.000000
Alt: 0.000000
Time: 20150629111420.000
Vel: 0.000000

]]>
By: Sally Johnson https://www.open-electronics.org/arduino-gsm-shield/#comment-12064 Wed, 22 Jun 2016 04:48:00 +0000 http://www.open-electronics.org/?p=640#comment-12064 I tried this code. But it is not working. Can you please help? I bought the gsm shield from this site. http://www.bestoninternet.com/compute/electronics/arduino-gsm-shield/

]]>
By: Telefónica I+D y Arduino se alían para promover el “Internet de las cosas” a través del hardware libre https://www.open-electronics.org/arduino-gsm-shield/#comment-11965 Sun, 24 Apr 2016 03:08:19 +0000 http://www.open-electronics.org/?p=640#comment-11965 […] proyecto Arduino presentaron durante la semana pasada en la Campus Party 2011 de Valencia, “Arduino GSM/GPRS Shield”, una gran iniciativa que incorpora conexión GPRS/GSM a una placa base de hardware libre, lo que da […]

]]>
By: Mild ELEC https://www.open-electronics.org/arduino-gsm-shield/#comment-11587 Sat, 29 Aug 2015 16:07:00 +0000 http://www.open-electronics.org/?p=640#comment-11587 I had problems to communicate my Arduino UNO R3 + GPRS Shield V3(sim900), the error is:
GSM Shield testing.
DB: NO RESP
DB: NO RESP
DB: NO RESP
ERROR: SIM900 does not answer. Check power and serial pins in GSM.cpp
status = IDLE

I’ve changed the values ​​in the file Tx Rx GSM.cpp and nothing external power and is still not working.
Can you help with my problem?
Is there a library or some way to communicate the two shield?

]]>
By: SS https://www.open-electronics.org/arduino-gsm-shield/#comment-11491 Thu, 11 Jun 2015 04:27:00 +0000 http://www.open-electronics.org/?p=640#comment-11491 I am looking for a simple example to write a few phone numbers to the SIM in the GSM shield, so that i can have the Arduino perform tasks when it receives calls from these numbers. THANK YOU.

]]>
By: BorisLandoni https://www.open-electronics.org/arduino-gsm-shield/#comment-11280 Mon, 09 Mar 2015 20:49:00 +0000 http://www.open-electronics.org/?p=640#comment-11280 In reply to Ali IQrar.

http://www.open-electronics.org/how-to-send-and-receive-sms-with-gsmgprs-gps-shield/

]]>