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

Sara Damiano

Forum Replies Created

Viewing 10 posts - 211 through 220 (of 465 total)
  • Author
    Posts
  • in reply to: Connecting to Verizon #13897
    Sara Damiano
    Moderator

      If you’re having trouble, you can try going into bypass and checking the operator profile directly on the u-blox:  send AT+UMNOPROF?  It should reply 3 (matching up with the CP value).  If for some weird reason it doesn’t, you can change it by first disconnecting from the network, changing the profile, and then restarting:  AT+CFUN=0 (OK) AT+UMNOPROF=3 (OK) AT+CFUN=1,1 (OK, then a delay and possibly a junk character or two on restart).  The setting should hold when you go back into Transparent (and the Digi software will register the change).

      Shannon and I were just talking about this – the Hologram SIM’s just really prefer AT&T.  Verizon gets written the the FPLMN list really fast.  It appears there as 311480.

      in reply to: Managing EnviroDIY libraries and dependencies #13896
      Sara Damiano
      Moderator

        Also, I’m shamefully bad about notifying anyone when I’ve updated the libraries.

        in reply to: Trouble initializing XBee3 LTE-M #13891
        Sara Damiano
        Moderator

          No worries!  I should have checked everything out on the Arduino IDE anyway.

          in reply to: Managing EnviroDIY libraries and dependencies #13889
          Sara Damiano
          Moderator

            If you have the same library installed in a global folder (ie user\me_xx\.platformio\lib\xxx) and the local project library dependency folder (project_xx\.pio\libdeps\xxx) PlatformIO should select the local one to build that project and ignore the global installation.  Here’s the docs on the prioritization of installed libraries used at compile time: https://docs.platformio.org/en/latest/librarymanager/ldf.html#dependency-finder-mode

            in reply to: Managing EnviroDIY libraries and dependencies #13888
            Sara Damiano
            Moderator

              Personally, I don’t install any libraries at all to my “global” folder in platformio.  (ie user\me_xx\.platformio\lib\xxx)  I always reclone the entire batch of libraries into the .pio\libdeps\xxx folder for each project.  That way I can recreate a specific program with the libraries just as they were when the program was used and can update at will for any given project.  It means re-downloading the files a bunch of times and wasting space on your computer with those files, but they’re fairly small text files.

              in reply to: Connecting to Verizon #13885
              Sara Damiano
              Moderator

                Do you have a carrier board that you can use to connect the XBee3 to the computer?  If so, then the easiest way is to use that.

                Open XCTU and find the XBee3.  To type direct AT commands to the u-blox you need to be in bypass – get there by scroll down in XCTU to the “Serial Interfacing” section and change API Enable to “Bypass Mode [5].”  Click the pencil to write.  XCTU is smart enough to reset the Bee when you change the mode.  After changing that, open the terminal tab in XCTU (icon in the top right that looks like a screen with a command prompt on it).  Hit the “open” icon.  Then in the console log section you can type away.  If you don’t get an ok back after hitting enter, verify that you’re in bypass mode.  Try just “AT” several times to make sure you’re talking.  There’s no Digi commands for the forbidden list, so bypass is the only way to do it.

                The StreamDebugger can work, but it’s finickey.  Usually if there’s some reason I want to talk to the XBee directly and I don’t have the carrier board with me, I write the a simple program that wakes the Bee and then sends Serial1.print("AT blah.."); and prints back Serial.print(Serial1.readString()); for everything I want to say and run that on the Mayfly.  Doing it that way usually works better for me.

                If you want to use the Digi AT commands to talk to your Bee, you definitely want to change the “Guard Time” setting either with XCTU or using the Mayfly to send it “ATGT6D3” to increase that guard time back up to the default of 1 second.  To enter command mode you wait the guard time, type in three +++’s (NO ENTER!) and wait the guard time again and should get an OK.  Default is 1s wait on each side.  When TinyGSM talks to the bee, the first thing it does is cut that down to 100ms.  I can’t ever manage to type the +’s in fast enough to get into command mode unless I bump the time up again.  Once you’re in command mode you have 10s from the last successful command before it will automatically fall out of command mode and you’ll need to use the +’s again.  The “ATCN” will also immediately exit command mode.

                 

                in reply to: Trouble initializing XBee3 LTE-M #13882
                Sara Damiano
                Moderator

                  I got it to compile on the Arduino IDE, so there’s must be a tangle in your library structure.  Can you open the library folder (probably in my documents/arduino if you’re using windows) and look at your folders and make sure you only have one TinyGSM?  Can you open the TinyGSM folder and open “TinyGsmCommon.h” and check the version number?

                  in reply to: Trouble initializing XBee3 LTE-M #13881
                  Sara Damiano
                  Moderator

                    Oh dear.  I forgot to test on the Arduino IDE.  I’ll start looking into it.

                    in reply to: Connecting to Verizon #13879
                    Sara Damiano
                    Moderator

                      The Hologram dashboard should say “Verizon” in some way if it connected to that network.  The Hologram SIMs do work on Verizon, but they nearly always connect to AT&T in my experience.  There was a thread just a bit ago about setting the carrier profiles for the LTE-M XBee3’s , and for the time being we’ve decided that the default of “0/Automatic” isn’t stable on Hologram and we will specifically select AT&T unless it’s known to not be present at the site.

                      Changing the setting in profile to 3/Verizon should work, but I’ve found you might need to set it and reset or power cycle a few times before the setting “takes.”  You may also need to clear your “forbidden” list:  https://support.hologram.io/hc/en-us/articles/360035697373-How-do-I-clear-the-FPLMN-list-.  From recent conversations with Hologram tech support they say the u-blox SARA R410M is pretty quick to decide that it’s failed to connected to a network/operator and should mark that network as forbidden.

                      in reply to: SDI-12 Library #13869
                      Sara Damiano
                      Moderator

                        Re-Wrote for you.  I didn’t even test if it compiles, but this should get you going with concurrent measurements:

                         

                      Viewing 10 posts - 211 through 220 (of 465 total)