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
478 stars 216 forks source link

MQTT Example, keep resetting #288

Closed dnwk closed 2 years ago

dnwk commented 2 years ago

I loaded MQTT example to my Arduino UNO and SIM7000C, it keeps resetting. I do have battery attached and LTE_demo runs ok.

** SIM7000 MQTT Example *** 20:39:54.689 -> Configuring to 9600 baud 20:39:54.792 -> Attempting to open comm with ATs 20:39:54.861 -> ---> AT 20:39:54.861 -> <--- OK 20:39:54.895 -> ---> ATE0 20:39:54.928 -> <--- OK 20:39:55.065 -> ---> ATE0 20:39:55.065 -> <--- OK 20:39:55.232 -> ---> AT+GMR 20:39:55.737 -> <--- Revision:1529B01SIM7000G 20:39:55.770 -> 20:39:55.770 -> OK 20:39:55.770 -> 20:39:55.770 -> ---> AT+CPMS="SM","SM","SM" 20:39:55.840 -> <--- +CPMS: 0,30,0,30,0,30 20:39:55.874 -> FONA is OK 20:39:55.874 -> Found SIM7000 20:39:55.874 -> ---> AT+GSN 20:39:55.907 -> <--- 86

It just keeps repeating above.

dnwk commented 2 years ago

Now it is doing this

20:57:08.013 -> ---> AT+GSN 20:57:08.013 -> <--- 869[IMEI number] 20:57:08.047 -> Module IMEI: 869[IMEI number] 20:57:08.081 -> ⸮gO#⸮⸮߮Yᱷ⸮⸮⸮ SIM7000 MQTT Example

I notice the gibberish output after IMEI. Baud rate issue?

dnwk commented 2 years ago

em... I really didn't do anything now my Arduino can't communicate with the SIM7000. No response from AT command. USB direct connection to my computer still works. Did some components fail on the board?

botletics commented 2 years ago

Does the battery have the correct polarity? Red wire should be on the left side of the connector when you plug it into the board.

dnwk commented 2 years ago

Yes, I have confirmed battery connection is correct

botletics commented 2 years ago

Please check the physical connection on pins 10-11 on the shield. If the green "PWR" LED on the board is staying on but you're not able to communicate with it, this may indicate an issue with the hardware connection being flaky.