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

    Cannot get past LTE

    Scheduled Pinned Locked Moved FiPy
    fipylte
    20 Posts 8 Posters 1.3k Views 9 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.
    • M Offline
      misterlisty @Steve Williams
      last edited by

      @Steve-Williams thank you for your reply..curious to know what product you are using now. I do like the pycom devices but very disappointing that the lte not working as should. Maybe more effort on existing product development instead of new designs would be better. I have experience with GHI Electronics products but not as fancy as pycom devices. But I love c# which is my proficiency.

      I'm in Australia also :)

      S 1 Reply Last reply Reply Quote 0
      • T Offline
        tuftec
        last edited by

        Hi,
        I have been experimenting with using the FipY product for NB-IoT, LoRaWAN and Sigfox here in Australia.
        I have been able to have some success with the Vodafone network.
        But like Steve, my biggest concern is with regard to stability.
        I see some really strange errors poping up at times.
        The biggest issue I currently have is to do with deepsleep calls, which appear to fail every so often.
        I have a work around in place using the WDT feature, but this is not ideal.

        I am also seeing variation between different versions of FiPy modules. It appears that my earlier unit (which does not support Vodafone) draws more current than the later unit under identical conditions.

        I like the features and multi-technology convenience of the FiPy, but the stability issues are testing me.

        If you search in the Bugs area of this forum for deepsleep issues, you will come across my posts. There is some code there that might help with setting up the LTE bits.

        Peter.

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          Steve Williams @tuftec
          last edited by

          @tuftec "I am also seeing variation between different versions of FiPy modules. It appears that my earlier unit (which does not support Vodafone) draws more current than the later unit under identical conditions."

          Yes, hardware and firmware changes are fine and to be expected as improvements are made, but the documentation doesn't seem to keep up.

          A while ago, in response to some questions about the problems I was encountering, Pycom advised that I should not have been using AT!= commands anymore, but as far as I am aware there is no updated documentation from Sequans or Pycom in support, so it is very frustrating.

          I have suspected the power design for a while, especially the Expansion Board 3 which remains in 'secret' status... For deep sleep, I also encountered problems but with a decent battery power supply that became a non issue for me, and I made sure I only connected any of the comm's services when they were requires and disabled them when finished (deinit commands).

          It's frustrating that the Pycom devices aren't as reliable as needed, especially for remote installations. It means a lot more code to provide workarounds and error traps to maintain operation. A great product if the development was completed - at this stage though I can't consider them as reliable mature product.. more work is required to avoid a huge overhead cost in product development time.

          1 Reply Last reply Reply Quote 0
          • S Offline
            Steve Williams @misterlisty
            last edited by

            @misterlisty I will try to cut the relevant portions of code out so I can send them to you. My full code is a bit wordy (I'm old school and my Pycom experience has been that the code steps need to be seperate, not concatenated and in the case of LTE in particular, provide with pauses to allow tasks to be actioned. The use of threads and timers to separate functions from one another helps this situation). It will take a few days, as I am pretty busy with the paying product.. :-)

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              misterlisty @Steve Williams
              last edited by

              @Steve-Williams Appreciate your response and assistance

              1 Reply Last reply Reply Quote 0
              • M Offline
                misterlisty
                last edited by

                cAN ANY EXPLAIN WHERE THESE TYPES OF COMMANDS ARE COMING FROM?

                send_at_cmd_pretty('AT+CFUN=0') #what is send_at_cmd_pretty is this documented or some wrapper?
                send_at_cmd_pretty('AT!="clearscanconfig"') # What is the purpose of AT!=?

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

                  @misterlisty
                  a) send_at_cmd_pretty() is just a wrapper for lte.send_at_cmd() written by someone to have a more clean output. No magic.
                  b) Extended AT (Sequans specific? )commands start with AT!=. For a list of Sequans AT commands, see: https://docs.pycom.io/.gitbook/assets/Monarch-LR5110-ATCmdRefMan-rev6_noConfidential.pdf

                  M 1 Reply Last reply Reply Quote 0
                  • M Offline
                    misterlisty @robert-hh
                    last edited by

                    @robert-hh thank you Have you been able to use LTE successfully?

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

                      @misterlisty Yes, since a few weeks. With the new/upgraded FiPy devices it works. I can attach, connect and exchange data. But it took since the FiPy kickstarter campaign's first sales. To be honest, most of the waiting time was caused by the LTE provider not offering the service and not selling SIM cards to ordinary people. They just sell it to companies. What a mess! After I got cards, I could tell that FiPy does not support that LTE band, .....
                      It's difficult for a small vendor like Pycom to deal with all variations of the world. And obviously even a "standard" allows a lot of variety. Intentionally, if you look at how a standard evolves.

                      1 Reply Last reply Reply Quote 0
                      • John BairdJ Offline
                        John Baird @misterlisty
                        last edited by

                        @misterlisty Yes, I have it running with Telstra. Typically my units run for around a month on batteries and encounter no problems. To achieve that took time and lots of error handling. It's all rather delicate. For example, on the weekend I introduced a new thread for handling the raw data from the GPS and suddenly LTE attachment stopped working. No errors from the code, it just wouldn't attach. Take out the launch of the GPS thread and attach works again.
                        Unlike @Steve-Williams I drive much of the process myself through AT commands as I don't trust that the Pycom magic won't break unexpectedly. Someday I'll convert over, but they will have to earn more of my trust first. With so little documentation it's been very frustrating having to do so many "black box" experiments to figure out what's inside.

                        T 1 Reply Last reply Reply Quote 0
                        • T Offline
                          tuftec @John Baird
                          last edited by

                          @John-Baird Hi John, interesting comments. Thanks for your input.
                          I gather you are using the deepsleep functionality of the unit.
                          I find that the deepsleep call hangs periodically and needs to be helped along with a kick from the WDT every so often.
                          The actual LTE communications part seems to work quite well once you work out how to drive it.
                          I do find every so often that I get strange failures that are difficult to explain.
                          I would be keen to understand the steps you have taken to achieve an acceptable degree of reliability, as I am sure are others.
                          Do you use in sort of real time control within your application. I have a number of functions that need to happen on a periodic basis (from minutes to hours to days to monthly). I am just trying to get my mind around how I might be able to use the RTC for this. Working out how to initialise it/synchronise it is another challenge.
                          I have a need to toggle an output pin every 2 seconds when my device is asleep. I sleep for 2 minutes at a time, to conserve power. I ended up having to resort to an external circuit to toggle the output as I could not see an easy way to do this with the FiPy. I could have probably used the ULP, but this is a bit beyond me at present.

                          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