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

    AtomDTU NB-IoT not detecting SIM card

    General
    3
    8
    8.6k
    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.
    • G
      gmang
      last edited by

      Hi, I have tried two different ATOMDTU/NB-IoT modules and two different Sim cards but AT commands show Sim not detected. Any advice?
      see details from AT test:

      ati
      SIM7020G R1910
      OK

      at+gmm
      SIM7020G
      OK

      at+gmr
      1910B03SIM7020G
      OK

      at+gsn
      86151xxxxxxxxxx
      OK

      at+cgsn
      86151xxxxxxxxx
      OK

      at+cpin?
      +CME ERROR: SIM not inserted

      See does not detect sim card

      also LED status is:
      red=on
      blue= quick flash once per second

      Thanks

      1 Reply Last reply Reply Quote 0
      • felmueF
        felmue
        last edited by

        Hello @gmang

        have you inserted the SIM card in the correct orientation? According to the second picture here the orientation seems to be up side down and the cut edge towards the outside (which for me was a bit counter intuitive.)

        Thanks
        Felix

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

        G 1 Reply Last reply Reply Quote 0
        • G
          gmang
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • G
            gmang @felmue
            last edited by

            @felmue
            RESOLVED: I had the sim card backwards. even though there is a big picture of how to insert it, i still inserted it cut-side first out of habit.
            Thanks for pointing it out.

            1 Reply Last reply Reply Quote 0
            • G
              gmang
              last edited by

              I also noted there is no way to set the APN details using UIFlow.
              I see that using M5Burner one can set the apn using the configuration button on Core, but not on UIFlow_Lite.
              Any advice to add APN setup and still use UIFlow

              M 1 Reply Last reply Reply Quote 0
              • M
                MTal @gmang
                last edited by

                @gmang same here, I also need to change the APN from UIFLOW, did you already solved it?

                1 Reply Last reply Reply Quote 0
                • felmueF
                  felmue
                  last edited by

                  Hi guys

                  to set the APN you could try to add an Execute code block with the following content:

                  dtu_nb.send_at_cmd("AT+CGDCONT=1,\"IP\",\"your_apn_here\"")
                  

                  Please note the string quoting \" and replace your_apn_here with the one you intend to use.

                  Thanks
                  Felix

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

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    MTal @felmue
                    last edited by

                    @felmue Thank you Felix!

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