Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck at +++AT output. [Using SIM808] #15

Closed
karanmakharia opened this issue Jan 4, 2017 · 11 comments
Closed

Stuck at +++AT output. [Using SIM808] #15

karanmakharia opened this issue Jan 4, 2017 · 11 comments

Comments

@karanmakharia
Copy link

I am using arduino nano and SIM808. I tired the publish example but the serial monitor output is stucked at +++AT. Please tell me the solution. Also tell me how to attach SIM808 to software serial instead of default serial pins.

@bhimavin
Copy link

bhimavin commented Jan 8, 2017

I am also facing same issue for SIM808 and SIM800C looks like commands are different for these modules.
I found this link
http://arduino.stackexchange.com/questions/26670/sim808-module-gsm-working-fine-gps-not-working-no-gps-ready-message-on-power-on

@nithinkurian
Copy link
Contributor

Stuck at +++AT means, your device (arduino) is not getting OK reply from your modem so please,
1. please send AT command directly to your modem and check whether it is giving OK reply or not
if it is not proper, rectify that issue first.
2. if your modem is replying ok, then cross check, modem and device (arduino) connections

@bhimavin
Copy link

bhimavin commented Jan 14, 2017

Hello nithinkurian,
Thanks for reply.
I am still facing issue:
Serial.available() always 0 in void serialEvent() function, don't understand, why?

  1. Tried this example getting response for all AT commands.

  2. Verified serial connection with below code and got response for all AT commands

#include <SoftwareSerial.h>

SoftwareSerial mySerial(10, 11); // RX, TX

void setup()  
{
  // Open serial communications and wait for port to open:
  Serial.begin(9600);
  mySerial.begin(9600);

}

void loop() // run over and over
{
  if (mySerial.available())
    Serial.write(mySerial.read());
    
  if (Serial.available())
  { 
    while(Serial.available())
    {
      mySerial.write(Serial.read());
    }
    mySerial.println();
  }
}`

@bhimavin
Copy link

Found solution for me, I was not using hardware serial for modem.

void setup()
{
  // initialize mqtt:
  // GSM modem should be connected to Harware Serial

Just need to correct connections.

@nithinkurian
Copy link
Contributor

Ok, so the issue is resolved

@samawi
Copy link

samawi commented Jan 29, 2017

I think I am also using hardware serial (which I believe are the ones with TX1 and RX0 labels) but still stuck at +++AT

Need help please

@siddharthtaunk
Copy link

comment out the '+++' serial print statement from the library and then it works fine.
Siddharth

@ameya24k
Copy link

ameya24k commented Apr 30, 2017

Hi Guys,
I am facing the same issue.

  1. Commented out '+++'
  2. Using hardware serial to connect with SIM800 modem.

Still stuck at AT. Not getting OK command from the modem.
One thing i observed is, RX led on arduino is not blinking.

I checked the modem by directly passing AT command and it is working.
Any help is appreciated. Thanks

@livzz
Copy link

livzz commented May 12, 2017

If you are using SoftwareSerial interface with the GSM MODULE replace all mySerial with Serial and vice versa at

GSM_MQTT.cpp
except for the extern SoftwareSerial mySerial; at line no 13

@nedimhx
Copy link

nedimhx commented Apr 17, 2018

@livzz could you please post somewhere full working code, I can get it working on arduino uno?

regards

@piter1235301
Copy link

Hello,
@livzz can you send this code with modification? I try edit this but this not help - maybe i made mistake...
Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants