elementzonline / SIM800_MQTT

Visit our blog/website for more information
http://www.elementzonline.com
GNU General Public License v3.0
170 stars 96 forks source link

+++AT loop, SIM800L, Arduino UNO #38

Closed piter1235301 closed 3 years ago

piter1235301 commented 4 years ago

Hello, I have a problem connecting because I get +++ AT all the time. I saw a similar problem on this page: _https://github.com/elementzonline/SIM800_MQTT/issues/15_ but it doesn't really help.

  1. I tried this program: _https://github.com/chandankumar1/temperature_logger/blob/master/thingspeak.ino_ ,and all commend give me feedback OK - so i thing SIM800L and Arduino UNO it's ok.

  2. I tried connect SIM800L to SERIAL PIN (0, 1) and SOFTWARE PIN (10, 11) - with no result.

  3. @livzz said:

If you are using SoftwareSerial interface with the GSM MODULE replace all mySerial with Serial and vice versa GSM_MQTT.cpp except for the extern SoftwareSerial mySerial; at line no 13

I tried this also, but same result... but maybe i made some mistake in code? I would be grateful if you could send the correct code...

Anyway i tried this with another module SIM800L and with Arduino nano... Same situation...

What i can do next?

Best regards.

MuhammedImdaad commented 3 years ago

Hello, I have a problem connecting because I get +++ AT all the time. I saw a similar problem on this page: #15 but it doesn't really help.

  1. I tried this program: _https://github.com/chandankumar1/temperature_logger/blob/master/thingspeak.ino_ ,and all commend give me feedback OK - so i thing SIM800L and Arduino UNO it's ok.
  2. I tried connect SIM800L to SERIAL PIN (0, 1) and SOFTWARE PIN (10, 11) - with no result.
  3. @livzz said:

If you are using SoftwareSerial interface with the GSM MODULE replace all mySerial with Serial and vice versa GSM_MQTT.cpp except for the extern SoftwareSerial mySerial; at line no 13

I tried this also, but same result... but maybe i made some mistake in code? I would be grateful if you could send the correct code...

Anyway i tried this with another module SIM800L and with Arduino nano... Same situation...

What i can do next?

Best regards.

did you solve this. i am also facing a similar error

piter1235301 commented 3 years ago

Nope :(

śr., 3 mar 2021 o 09:58 Muhammed Imdaad notifications@github.com napisał(a):

Hello, I have a problem connecting because I get +++ AT all the time. I saw a similar problem on this page: #15 https://github.com/elementzonline/SIM800_MQTT/issues/15 but it doesn't really help.

  1. I tried this program: https://github.com/chandankumar1/temperature_logger/blob/master/thingspeak.ino https://github.com/chandankumar1/temperature_logger/blob/master/thingspeak.ino ,and all commend give me feedback OK - so i thing SIM800L and Arduino UNO it's ok.
  2. I tried connect SIM800L to SERIAL PIN (0, 1) and SOFTWARE PIN (10, 11) - with no result.
  3. @livzz https://github.com/livzz said:

If you are using SoftwareSerial interface with the GSM MODULE replace all mySerial with Serial and vice versa GSM_MQTT.cpp except for the extern SoftwareSerial mySerial; at line no 13

I tried this also, but same result... but maybe i made some mistake in code? I would be grateful if you could send the correct code...

Anyway i tried this with another module SIM800L and with Arduino nano... Same situation...

What i can do next?

Best regards.

did you solve this. i am also facing a similar error

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/elementzonline/SIM800_MQTT/issues/38#issuecomment-789552297, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP6IT4YFGOI4DSTVAEKQYBTTBX243ANCNFSM4N5C6NFQ .

MuhammedImdaad commented 3 years ago

Nope :( śr., 3 mar 2021 o 09:58 Muhammed Imdaad notifications@github.com napisał(a): Hello, I have a problem connecting because I get +++ AT all the time. I saw a similar problem on this page: #15 <#15> but it doesn't really help. 1. I tried this program: https://github.com/chandankumar1/temperature_logger/blob/master/thingspeak.ino https://github.com/chandankumar1/temperature_logger/blob/master/thingspeak.ino ,and all commend give me feedback OK - so i thing SIM800L and Arduino UNO it's ok. 2. I tried connect SIM800L to SERIAL PIN (0, 1) and SOFTWARE PIN (10, 11) - with no result. 3. @livzz https://github.com/livzz said: If you are using SoftwareSerial interface with the GSM MODULE replace all mySerial with Serial and vice versa GSM_MQTT.cpp except for the extern SoftwareSerial mySerial; at line no 13 I tried this also, but same result... but maybe i made some mistake in code? I would be grateful if you could send the correct code... Anyway i tried this with another module SIM800L and with Arduino nano... Same situation... What i can do next? Best regards. did you solve this. i am also facing a similar error — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#38 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP6IT4YFGOI4DSTVAEKQYBTTBX243ANCNFSM4N5C6NFQ .

easy. use software serial

tcampos123 commented 3 years ago

I have the same problem, how can I solve it?

MuhammedImdaad commented 3 years ago

either use software serial. or don't interrupt the serial line mainly the TX line.