sim900

Arduino Sim900 with no echo but SMS was sent out

送分小仙女□ 提交于 2020-01-06 17:36:44
问题 I just got a new Sim900 and connected to an Arduino Uno. I used the code below to send a text to myself. I received the text on my cell, but I did not receive any echo on my serial monitor (ie. "OK"). I have tried swapping the RX/TX pins and different baud rates with no success. void setup() { Serial.begin(9600); //Baud rate of the GSM/GPRS Module Serial.println(""); delay(2000); Serial.println("AT+CMGF=1"); delay(1000); Serial.println("AT+CMGS=\"+120########\""); //Number to which you want

Why does TCP connection keep closing while connecting to xively from Adruino GPRS with AT commands?

别等时光非礼了梦想. 提交于 2020-01-04 14:28:32
问题 I'm trying to send data from a cellular-connected arduino temperature sensor to xively.com using AT commands. I can open the TCP connection, but then it immediately closes. Why does the TCP connection keep closing? setup: arduino uno mackbook seeedstudio gprs v2.0 att gophone sim card Here is my Terminal readout: Call Ready AT OK AT+CPIN? +CPIN: READY OK AT+CGATT? +CGATT: 1 OK AT+CIPSHUT SHUT OK AT+CIPSTATUS OK STATE: IP INITIAL AT+CIPMUX=0 OK AT+CSTT="wap.cingular" OK AT+CIICR OK AT+CIFSR 10

HTTPREAD missing characters with Arduino and SIM900

一世执手 提交于 2019-12-24 17:48:48
问题 I am using a SIM900 module with my Arduino and it is missing characters although it is returning the right number of characters expected. I have ERROR on AT+SAPBR=1,1 and AT+HTTPINIT so I am not sure if this is the reason for it. Im not sure how to fix these issues either. AT+CGATT? +CGATT: 1 OK AT+CGATT=1 OK AT+SAPBR=3,1,"CONTYPE","GPRS" OK AT+SAPBR=3,1,"APN","mobile.o2.co.uk" OK AT+SAPBR=1,1 ERROR AT+HTTPINIT ERROR AT+HTTPPARA="URL","http://www.xxxxxxxxxxx.com/temp/" OK AT+HTTPACTION=0 OK

Store value in variable after HTTPREAD

放肆的年华 提交于 2019-12-17 03:44:33
问题 I am working with a GSM SIM900 and an Arduino Uno. I am using AT commands for the SIM900. I am successfully getting data from GET requests and showing on the serial monitor, but after the AT+HTTPREAD command I want to store data into a variable. How can I do this? I am getting a JSON Object from the web server and I want to get the Status property from that object and save it into a variable. #include <SoftwareSerial.h> SoftwareSerial gprsSerial(2,3); void setup() { gprsSerial.begin(9600);

send SMS for 1 time with arduino GPRS SIM900 if an iput is HIGH

不羁岁月 提交于 2019-12-14 03:19:57
问题 I faced a problem to send 1 SMS if an input is HIGH,and if it is LOW==> no SMS to send,if LOW to HIGH==> send 1 SMS. this code not working,just sent SMS when I turn the GPRS on,and after nothing is happened. mclopez helped me,thank you,but not working :( , this is the new code that I wrote with the delay()s,but the same problem. Thank you for helping in advance. #include <SoftwareSerial.h> #include "TimerOne.h" const int DI = 2; const int DT = 3; const int DGP1 = 4; const int DGP2 = 5; const

Sending AT commands to SIM900 whilst pppd is active

白昼怎懂夜的黑 提交于 2019-12-01 04:40:02
I have a Raspberry Pi with a SIM900 GSM add-on board connected. I have managed to establish a GPRS connection with pppd by following this guide . (It's for a different GSM module but the steps are the same) I would like to periodically send an AT command ( AT+CCLK? ) to the SIM900 to check the clock. I have managed send ad hoc AT commands using screen but when pppd is up I can't use screen to connect to the serial line. It just exits straight away saying [screen is terminating] . I'm guessing this is because pppd is using it to connect to the internet. Q: How do I get the clock time without

Sending AT commands to SIM900 whilst pppd is active

穿精又带淫゛_ 提交于 2019-12-01 02:33:39
问题 I have a Raspberry Pi with a SIM900 GSM add-on board connected. I have managed to establish a GPRS connection with pppd by following this guide. (It's for a different GSM module but the steps are the same) I would like to periodically send an AT command ( AT+CCLK? ) to the SIM900 to check the clock. I have managed send ad hoc AT commands using screen but when pppd is up I can't use screen to connect to the serial line. It just exits straight away saying [screen is terminating] . I'm guessing

SIM900 AT Commands response parsing

倖福魔咒の 提交于 2019-11-28 06:32:42
问题 i am using sim900 gps/gprs module shield connected to an Arduino Uno, how will i be able to parse the response of my AT commands? Or how will i be able to remove the 1st line printed in the serial after sending an AT command? AT+CMGL="ALL" +CMGL: 1,"REC READ","+XXXXXXXXXX","","16/04/25,15:20:59+32" Hilp akp si ralphh the pogi one mmalit mi pizza hehehehehe +CMGL: 2,"REC READ","+XXXXXXXXXX","","16/04/25,21:51:33+32" Yow!!! OK example on the output above, i want to get rid of the AT+CMGL="ALL"