🤖Have you ever tried Chat.M5Stack.com before asking??😎
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
M5Stack Community
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

SIM7080G CAT-M/NB-IoT+GNSS Unit Issues

Units
3
3
2.1k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K
    KevinMartins
    last edited by Jun 8, 2023, 8:05 PM

    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?

    1 Reply Last reply Reply Quote 0
    • F
      felmue
      last edited by Jun 9, 2023, 4:53 AM

      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

      GPIO translation table M5Stack / M5Core2
      Information about various M5Stack products.
      Code examples

      1 Reply Last reply Reply Quote 0
      • H
        HappyUser
        last edited by Jul 6, 2023, 10:06 AM

        #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;
        }
        }

        1 Reply Last reply Reply Quote 1
        • First post
          Last post