Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Pytrack + Fipy not attaching to NB-IoT base station of TIM (Italy)

    Scheduled Pinned Locked Moved FiPy
    5 Posts 3 Posters 74 Views 3 Watching
    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 Offline
      GaioLampo
      last edited by

      Hi guys,

      I am unsuccessfully trying to attach my Pytrack + Fipy board to the italian NB-IoT network of TIM (the SIM card from TIM should be ok). Here it follows the code:

      Forum_I.PNG
      Forum_II.PNG

      So what happens is that I never exit the loop because the "lte.isattached()" function always returns false.

      The AT+CEREG? command returns 2.2 but after a while (like many hours) it turns to 2.0 and so it stops searching.

      Furthermore, the AT+CSQ command returns 2,99 so likely I have a bad coverage but the TIM basestation is just in front of my apartment and so in some positions I am in Line-of-Sight (I am using the antenna recommended in the pycom guide).

      If I try with AT!="showphy", the board reaches the state CELL ACQUIRED but then nothing happens.

      Finally, RSRP is around -130 dBm.

      Regarding the firmware version I am using the following versions:

      • Fipy (V1.2) module: 1.20.1

      • NB-IoT firmware version: NB1-41019

      • Pytrack board: 0.0.8

      An idea could be to change the apn: does anyone of you has ever tried to connect to a TIM base station? Is there a way to know the correct apn?

      The band 20 should be one used by TIM for NB-IoT but I would be very grateful if someone could give some advises.

      In general, any advise and/or sharing of past experiences about this topic would be very appreciated.

      Thanks in advance

      A robert-hhR 2 Replies Last reply Reply Quote 0
      • A Offline
        agotsis @GaioLampo
        last edited by

        @GaioLampo The 2,99 result for AT+CSQ seems rather low, although not sure if this is the reason that you can't get your module attached. What antenna do you use and are you sure you've attached it to the right connector? For the FiPy it is the one at the bottom (https://docs.pycom.io/gitbook/assets/fipy-pinout.pdf)

        1 Reply Last reply Reply Quote 0
        • G Offline
          GaioLampo
          last edited by

          @agotsis thanks for the reply. The antenna I am using is exactly the one appearing in the following link: https://docs.pycom.io/gettingstarted/connection/fipy/

          Recently I have also tried another one which provides better values (csq returns 18 and sometimes 31) but the result is the same I have described in the post.

          For the connector I am using the one on the bottom side which is the right one as you correctly pointed out.

          1 Reply Last reply Reply Quote 0
          • robert-hhR Offline
            robert-hh @GaioLampo
            last edited by robert-hh

            @GaioLampo please issue the attach command only once and do not repeat it in the waiting loop. And as you did in the loop, if you are not sure about the band, do nit specify it in the attach command. Then all suitable bands will be tried.

            G 1 Reply Last reply Reply Quote 0
            • G Offline
              GaioLampo @robert-hh
              last edited by

              @robert-hh thanks for the suggestions but I have tried both strategies and they both lead me to the same unsatisfactory result. The code I shared is the one that seems to get closer to the success (cell_acquired state).

              1 Reply Last reply Reply Quote 0

              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
              • 1 / 1
              • First post
                Last post

              Pycom on Twitter

              Pycom