SIM7080G CAT-M/NB-IoT+GNSS Unit Issues
-
Hello everyone,
I come to you because I have a problem with this module, I can not make it work, the UIFlow method does not work nor arduino. When I give him an AT command I have nothing in return. I don’t understand because I have a NB-IoT SIM card that works.
Can you help me, please? -
Hello @KevinMartins
which M5 core device are you using? M5Stack (Base, Fire, ...) or M5Core2 or M5CoreS3?
Also make sure your SIM card has the PIN disabled.
Thanks
Felix -
#include <HardwareSerial.h>
HardwareSerial Comm(1);Comm.begin(115200, SERIAL_8N1,TX_pin,RX_pin); // TX RX
Comm.print("AT+IPR=115200\r"); // Set text mode
Last command should return an OK. If not, it could be that you have mixed up TX and RX pins or a power issue.
To read the reply from the module you could use something like this :
while (millis()<wait_until)
{
while (Comm.available())
{
ccc=Comm.read();
//Serial.print(ccc);
if (k<buffer_size-1)
{
Receive_buffer[k]=ccc;
k++;
}
}
Receive_buffer[k]=NULL;
if (strstr(Receive_buffer,StopCharArray)!=NULL)
{
//Serial.println("OK found");
// SIM7600_Error=0;
Receive_buffer[k]=NULL;
return false;
}
}
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login