Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, an initiative of Stroud Water Research Center designed to help people advance knowledge and stewardship of fresh water.
New to EnviroDIY? Start here

XBee and Hologram LTE: issues connecting to internet

Home Forums Mayfly Data Logger XBee and Hologram LTE: issues connecting to internet

Viewing 25 reply threads
  • Author
    Posts
    • #14352
      Letsid
      Participant
        I am unable to connect to the internet (and therefore monitor my watershed).  After reading some other posts, it seems that I am not alone.  However, I am still having problems even after reading so
      • #14356
        Sara Damiano
        Moderator
          Woops, yes, the example has changed since then.  Sorry about that.

          And, yes, you’re definitely not alone.  I think issues with LTE connections are the top forum topic here.  The LTE XBee3

        • #14359
          Letsid
          Participant
            Thank you for taking the time to put that together!  It worked… sort of.  My SIM successfully connected to the internet!  It took maybe 30 minutes.  My signal quality is listed as -45.

            Afte

          • #14360
            Sara Damiano
            Moderator
              -45?  The nominal RSSI range for the XBee3 is -113 dBm (really bad) to -51 dBm (excellent) so -45 either means your signal is *amazing* or not valid.  I made a small change to that program to contin
            • #14361
              Letsid
              Participant
                The battery I am using is basically straight from the box so I was under the assumption that it was about 50% charged.  I have not had the opportunity to complete the solder on the Voltaic solar pane
              • #14366
                Sara Damiano
                Moderator
                  Woops, sorry, the XBee uses carriage returns instead of new lines so the 22/23/25 isn’t appearing.

                  Add this to your platformio.ini:

                • #14367
                  Sara Damiano
                  Moderator
                    But it seems like you might have kind-of low signal, if that -93 is valid.  Does anyone around have an AT&T cellphone?  Do they have ok signal?

                    Hologram doesn’t work on Verizon.  Sometim

                  • #14368
                    Sara Damiano
                    Moderator
                      You can try adding a network scan before the “waiting for network registration” section.  It won’t help you connect, but it should show what networks have signal.

                    • #14370
                      Letsid
                      Participant
                        Got it!  So this time I left it long enough to connect (or I think it is connecting).  Attached are snips of the monitor.  It repeats for quite a while and then right at the end it changes.  So, p
                      • #14375
                        Sara Damiano
                        Moderator
                          Wahoo, that’s connected!  *Usually* after you’ve made a few connections it connects more quickly the next time, but signal quality of -81 isn’t stellar, so it might still be somewha
                        • #14386
                          Letsid
                          Participant

                            Wanted to send an update: the XBee is now connecting to the internet in a timely manner!  I saved the testing code for my future units.  Thanks again!

                          • #14958
                            James_NZ
                            Participant
                              Hi,

                              I have a similar issue with our Xbee3 LTE.  I have the hardware set up identical to how Letsid has it above. I am using the ‘LTExBee_FirstConnection.ino’ code, with the only amendmen

                            • #14959
                              James_NZ
                              Participant
                                Just a further update on above.  The IoT provider thinks that the UBlox needs to be told to register.

                                He suggested using the AT commands:

                                AT+CPIN?
                                AT+CREG?
                                AT+COPS=?

                                Am I correct in assuming that

                              • #14960
                                Sara Damiano
                                Moderator
                                  1. If the SIM provider says you don’t have to do anything to activate the SIM, I’d trust them.
                                  2. Yes, the “AS” command in the first run sketch does that. (line
                                • #14961
                                  Sara Damiano
                                  Moderator
                                    No, I don’t think those command suggestions from your IoT provider will help much.

                                    The CPIN command checks if your SIM is locked by a pin number.  If your SIM provider didn’

                                  • #14963
                                    James_NZ
                                    Participant
                                      Thanks for the prompt reply Sara.  You must love these LTE’s by now!

                                      I have had some feedback from Spark who suggest that they have lots of other SARA R410M devices running on the network.

                                      Sa

                                    • #14964
                                      Sara Damiano
                                      Moderator
                                        To use those commands exactly, you need to switch to bypass mode.

                                        But, the proper equivalent of almost all of those commands area already being used anyway, so you don’t need to change much at

                                      • #14965
                                        James_NZ
                                        Participant

                                          Thanks so much for your help. I will try this tonight when I get home!

                                          Have a wonderful Christmas.

                                          James

                                        • #14966
                                          Sara Damiano
                                          Moderator
                                            The settings for the profile and the band mask should be saved on the module, so you should only need to set it up one time. But, if you’re using ModularSensors, you’ll see that a bunch o
                                          • #14967
                                            James_NZ
                                            Participant
                                              Sigh, so I thought we had this but I’m getting the same result.  My code is below, as well as the serial output.

                                              Any thoughts?

                                               

                                            • #14968
                                              Sara Damiano
                                              Moderator
                                                Ugh; I thought it would work.  🙁

                                                Two things to try.  First, try running the same thing but change your serial monitor settings to show you more of the output.  If you’re running the Arduino

                                              • #14969
                                                Sara Damiano
                                                Moderator
                                                  And a new program to try to set it up in bypass to see if we can see what’s failing that way.  I’ve also posted this on GitHub here: https://github.com/EnviroDIY/ModularSensors/blob/maste
                                                • #14970
                                                  Sara Damiano
                                                  Moderator
                                                    I wish there was some magical way to know why the connection isn’t working or to bribe the thing into working.  Obviously from this forum, and from dozens of issues in the TinyGSM library, a lo
                                                  • #14973
                                                    James_NZ
                                                    Participant
                                                      Hi Sara,

                                                      Here’s the output from the carriage return code extension:

                                                    • #14974
                                                      James_NZ
                                                      Participant
                                                        And here’s the bypass output. I think this worked! Any idea why, and how I could transfer to my modular sensors code?

                                                        James

                                                      • #14975
                                                        James_NZ
                                                        Participant
                                                          Further update. My modular sensors code is logging to MMW flawlessly. I never thought I would see the day! Obviously something worked with Sara’s bypass code:

                                                      Viewing 25 reply threads
                                                      • You must be logged in to reply to this topic.