Hi forum Guys, I’m trying to let GPRSBee (SIM800H) working on Autonomo, but something is going wrong.
I’ve last version of IDE (1.8.2), last version of the GPRSBee Library (1.9.2), but the result is always the same: I’m not able to send SMS or to connect to FTP, do a get or a post.
I report here some AT command results, hope can be useful.
So considering this is the code for Setup and Test part:
void setup()
{
while ((!SerialUSB) && (millis()<10000));
//Start the Bee Serial port initially
Serial1.begin(57600);
SerialUSB.println("STARTING...");
//gprsbee.initAutonomoSIM800(Serial1, BEEDTR, BEE_VCC, BEECTS); //I tried both version, same behavior
gprsbee.initAutonomoSIM800(Serial1, BEE_VCC, BEEDTR, BEECTS);
//debug bee on usb
gprsbee.setDiag(SerialUSB);
antTest();
}
void ATCommand(String _command, int _waitDelay = COMMAND_DELAY)
{
float delaySecs = (float)_waitDelay / 1000.0f;
SerialUSB.println("Sending AT Command, waiting " + String(delaySecs) + " seconds for a response");
gprsbee.sendCommandWaitForOK(_command.c_str(), _waitDelay);
delay(_waitDelay);
}
void antTest()
{
gprsbee.on();
SerialUSB.println("Tests start in 2 seconds...");
delay(2000);
ATCommand("AT+CREG?");
ATCommand("AT+CSQ");
ATCommand("AT+CGREG?");
ATCommand("AT+CGATT?");
//version
ATCommand("AT+CGMR");
gprsbee.off();
}
The results are these:
readLine timed out
>> AT
STARTING...
>> AT
readLine timed out
>> AT
AT
OK
Tests start in 2 seconds...
Sending AT Command, waiting 5.00 seconds for a response
>> AT+CREG?
AT+CREG?
+CREG: 0,4
OK
Sending AT Command, waiting 5.00 seconds for a response
>> AT+CSQ
AT+CSQ
+CSQ: 29,0
OK
Sending AT Command, waiting 5.00 seconds for a response
>> AT+CGREG?
AT+CGREG?
+CGREG: 0,0
OK
Sending AT Command, waiting 5.00 seconds for a response
>> AT+CGATT?
AT+CGATT?
ERROR
Sending AT Command, waiting 5.00 seconds for a response
>> AT+CGMR
AT+CGMR
Revision:1308B05SIM800H32_BT
OK
Also trying to send a SMS message with a classic:
smsSent = gprsbee.sendSMS("+316xxxxxxx", "TEST Autonomo");
if (smsSent){
SerialUSB.println("SMS sent OK");
} else {
SerialUSB.println("SMS not sent");
}
Return me always FALSE, so no sms sent. Trying to open a FTP site fail the operation.
The SIM Card I’m using is a Lebara, PIN removed, APN “multimedia.lebara.nl” I successfully tried the SIM on a phone, can send SMS and receive. Data communication is enabled. I tried as well a t-mobile SIM Card on GPRSBee with same results.
The LIpo battery is connected to the Bee and the bee to Lipo connector on the Autonomo, as shown in standard configuration scheme.
Please let me know if I can take a look to something else.
Thanks