botletics / SIM7000-LTE-Shield

Botletics SIM7000 LTE CAT-M1/NB-IoT Shield for Arduino
https://www.botletics.com/products/sim7000-shield
GNU General Public License v3.0
477 stars 215 forks source link

Connection issue #91

Closed rajendran20 closed 5 years ago

rajendran20 commented 5 years ago

Currently I am using uno with the botlectics shield with my IoT sim card (verified working). However there seems to be an issue when running LTE_demo code. I cant seem to register to the network. (status is 0). I am using USB to laptop with external power to uno.

When I plugged into the micro usb port of the shield to check AT commands using Putty, the shield comm ports becomes unstable (keeps going on and off). Not sure is it due to both uno and shield are connected to the laptop. Tried to use only the 9V external power to uno but still same.

However when I use a uno which is not able to be detected by the laptop (driver ic spoilt), my port for the shield is stable and I can invoke AT commands and able to confirm network can be registered (status 1).

Any advise on this weird issue?

botletics commented 5 years ago

Please make sure you have a LiPo battery connected. That's really important for it to work!

rajendran20 commented 5 years ago

Hi Tim,

Will do that, thanks for getting back. One more thing, is there any connection diagram for connecting to ESP32 (nodemcu)? Or just need to connect UART interface?

Regards Raj

From: Timothy Woomailto:notifications@github.com Sent: ‎Monday‎, ‎May‎ ‎06‎, ‎2019 ‎9‎:‎01‎ ‎AM To: botletics/SIM7000-LTE-Shieldmailto:SIM7000-LTE-Shield@noreply.github.com Cc: rajendran20mailto:rajendran20@hotmail.com, Authormailto:author@noreply.github.com

Please make sure you have a LiPo battery connected. That's really important for it to work!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/botletics/SIM7000-LTE-Shield/issues/91#issuecomment-489479093, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIAQRF5S6TPKM3OHMEAZAE3PT57QJANCNFSM4HKTARTQ.

botletics commented 5 years ago

For ESP32 wiring please see the comments section of the ESP demo code and the pinouts wiki page

rajendran20 commented 5 years ago

Hi,

Thanks once again..great help

Regards Raj

Get Outlook for iOShttps://aka.ms/o0ukef


From: Timothy Woo notifications@github.com Sent: Monday, May 6, 2019 12:34:53 PM To: botletics/SIM7000-LTE-Shield Cc: rajendran20; Author Subject: Re: [botletics/SIM7000-LTE-Shield] Connection issue (#91)

For ESP32 wiring please see the comments section of the ESP demo codehttps://github.com/botletics/SIM7000-LTE-Shield/tree/master/Code/examples/ESP32_LTE_Demo and the pinouts wiki pagehttps://github.com/botletics/SIM7000-LTE-Shield/wiki/Pinouts

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/botletics/SIM7000-LTE-Shield/issues/91#issuecomment-489498057, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIAQRF5GNOHUD4EO3HAQ3KDPT6YO3ANCNFSM4HKTARTQ.

rajendran20 commented 5 years ago

Hi Timothy,

Yes the LiPo battery was the issue. My shield was registered to the network after connecting to the LiPo batt. Afterwhich i downloaded IoT_example.ino for GPS tracking. I did encounter the following error where I encountered connection error.

Do you have any advise for me regarding this?

Found 'eeeeem!

Latitude: -0.000000 Longitude: 0.000000 Speed: 0.00 Heading: 0.00 Altitude: 0.00

---> AT+CIPSTATUS <--- OK <--- STATE: PDP DEACT Connecting to MQTT... ---> AT+CIPSHUT <--- SHUT OK ---> AT+CIPMUX=0 <--- OK ---> AT+CIPRXGET=1 <--- OK AT+CIPSTART="TCP","io.adafruit.com","1883" <--- OK <--- STATE: PDP DEACT Connection failed Retrying MQTT connection in 5 seconds... ---> AT+CIPSTATUS <--- OK <--- STATE: PDP DEACT ---> AT+CIPCLOSE <--- ERROR ---> AT+CIPSHUT <--- SHUT OK ---> AT+CIPMUX=0 <--- OK ---> AT+CIPRXGET=1 <--- OK AT+CIPSTART="TCP","io.adafruit.com","1883" <--- OK <--- STATE: PDP DEACT Connection failed Retrying MQTT connection in 5 seconds...

Sent from Windows Mail

From: Timothy Woomailto:notifications@github.com Sent: ‎Monday‎, ‎May‎ ‎06‎, ‎2019 ‎12‎:‎34‎ ‎PM To: botletics/SIM7000-LTE-Shieldmailto:SIM7000-LTE-Shield@noreply.github.com Cc: rajendran20mailto:rajendran20@hotmail.com, Authormailto:author@noreply.github.com

For ESP32 wiring please see the comments section of the ESP demo codehttps://github.com/botletics/SIM7000-LTE-Shield/tree/master/Code/examples/ESP32_LTE_Demo and the pinouts wiki pagehttps://github.com/botletics/SIM7000-LTE-Shield/wiki/Pinouts

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/botletics/SIM7000-LTE-Shield/issues/91#issuecomment-489498057, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIAQRF5GNOHUD4EO3HAQ3KDPT6YO3ANCNFSM4HKTARTQ.

botletics commented 5 years ago

Make sure your AdafruitIO credentials are correct on the sketch.