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

Matt Barney

Forum Replies Created

Viewing 10 posts - 101 through 110 (of 171 total)
  • Author
    Posts
  • in reply to: Wiring Ultrasonic sensor w/ temp compensator #14383
    Matt Barney
    Participant

      OK, thanks Sara. I really like the look and layout of the new Doxygen docs. Thanks for all your efforts!

      Matt

      in reply to: Wiring Ultrasonic sensor w/ temp compensator #14377
      Matt Barney
      Participant

        Apologies for resurrecting an old thread, but it is exactly on-topic for my situation.

        I’m confused about wiring the MaxTemp. The ModularSensors documentation says to connect the red wire from MaxTemp to the MaxSonar’s pin 6 (V+). However, the MaxBotix datasheet shows no connection of the MaxTemp to V+. Likewise, @fisherba Beth’s photo above shows there are only 2 connections from MaxTemp:  one to the MaxSonar’s pin 1 (via yellow Grove wire) and the other to pin 7, GND (black wire). Beth said her circuit works, so @srgdamiano, is the ModularSensors doc incorrect?

        Thanks!
        Matt

        in reply to: MMW Data Outage? #14334
        Matt Barney
        Participant

          Thanks, Anthony, for this informative post! It speaks to some questions we at Trout Unlimited have had about MMW, its current performance, and future direction, as we look to expand our Mayfly deployments.

          Matt

          (cc @jlemontu-org)

          in reply to: Add Sensor button not working on MonitorMyWatershed #14201
          Matt Barney
          Participant

            Me too. The problem seemed to be specific to the one browser tab; when I opened a second (non-incognito) tab, it worked. Never had that happen before with MMW.

            Thanks again,
            Matt

            in reply to: Add Sensor button not working on MonitorMyWatershed #14199
            Matt Barney
            Participant

              Hi Robert,

              Hmm looks like it is browser-related. I tried again just now and still didn’t work, but it does work in an Incognito window, so not sure what’s up. My colleague reported that it wasn’t working for him this morning, so I checked and it didn’t work for me at that time either.

              Thanks for your reply,

              Matt

              in reply to: Geographically Scaling Modular Sensors #14098
              Matt Barney
              Participant

                Hi Neil,

                Thanks for opening up this important topic, and for sharing your work!

                This idea of scaling up one’s Mayfly installations is really coming to the fore at my organization, Trout Unlimited (TU). My colleague Jake (@jlemontu-org) has been working with Stroud for a couple of years now to deploy Mayflys with volunteer groups in Michigan, Pennsylvania, and elsewhere. Last fall I joined forces with Jake to begin making customizations to the code and building our internal capacity to assemble our own monitoring stations and conduct trainings without imposing additional load upon the time and resources of our partners at Stroud.

                Once we refined our monitoring needs and began to deploy our code to multiple stations, we quickly realized that 90%+ of our stations will have the same configuration of sensors; the only differences between the stations’ firmware are the UUIDs, Station ID, etc. Using some kind of config file on the SD card would alleviate the need to rebuild the code for each new station. And if we had that capability, we would avoid the risk of inadvertently introducing changes to the binary (due to library updates and dependency changes on whichever PC the code was rebuilt).

                Second, it’s not feasible for us to train a number of our folks, who are dispersed nationwide, to be proficient with the development stack (VSCode, PlatformIO, and ModularSensors). It’s not hard, per se, but there is a learning curve. So it makes a lot more sense for me to centrally manage our source code (and to document when it changes), and to build and distribute a binary (.HEX file) for installation by a local staffer or trained volunteer. That process (using avrdude to install the .hex) is a much easier lift than setting up a development environment and building from source code, for a majority of folks.

                As we work to expand the use of this awesome platform among our volunteer chapters, as well as our scientists and stream restoration staff, these kinds of scalability features are critical, and I’d like to see us — the EnviroDIY community — bring them into the mainstream of the Mayfly ecosystem.

                Looking forward to more discussion and idea-generation here!

                Cheers all,
                Matt Barney,
                Trout Unlimited

                in reply to: Response code 504 from data.envirodiy.org #14046
                Matt Barney
                Participant

                  Today I re-tested, using new hardware: Mayfly, modem, antenna, and LTEBee adapter. I’m still seeing the same problems: both Response Code 504 from MMW, as well as what I described above, where there was apparently(?) no attempt by the Mayfly to upload data after saving it to the SD card based on the messages it logged. I’ll attach the log file. Here is a summary (all times in MST):

                  • Ran from 04-08T11:48 to 04-08T16:30
                  • 142 samples recorded: ‘Line Saved to SD Card’
                  • 136 samples made it into the MMW database
                  • 14 received RC 504
                  • 123 received RC 201
                  • Timestamps of missing points (in MST):
                    • 11:52 – no attempt to send
                    • 14:14 – RC 504
                    • 15:04 – no attempt to send
                    • 15:10 – no attempt to send
                    • 15:18 – no attempt to send
                    • 15:30 – no attempt to send

                  Thanks for any insights.

                  Matt

                  in reply to: Manual upload of CSV files on MonitorMyWatershed #14023
                  Matt Barney
                  Participant

                    Hi Robert,

                    I just now tried and am also unable to upload a CSV. In the past, I had trouble due to formatting or due to files that were too long, but once I figured that out, I saved examples of files that I’ve successfully uploaded. However, those are now failing as well. Sample csv attached, FWIW.

                    Matt

                    in reply to: Response code 504 from data.envirodiy.org #14021
                    Matt Barney
                    Participant

                      Hi again.

                      I ran another test overnight, again using a 2 minute sampling interval, with no code changes, but I removed the build flags for modem debugging from the platformio.ini. Here are the results:

                      • 427 total samples taken
                      • 52 sample events received a Response Code 504.
                      • 246 sample events received a Response Code 201.
                      • 155 of the samples are absent from the MMW database.

                      The new wrinkle here is that sometimes the Mayfly apparently didn’t attempt to send to MMW; this happened 129 times. In the log file, one of these occurrences looks like this:

                      … whereas a “normal” interval across consecutive samples, where the Mayfly does attempt to send, looks like this:

                      Any idea why the Mayfly didn’t send data at these times?

                      I’ll attach the log file and a time-series chart of when data was sent/not sent.

                      Thanks,

                      Matt

                      (Edit Apr6: Renaming my logfile so that it will successfully upload here.)

                      in reply to: Response code 504 from data.envirodiy.org #14020
                      Matt Barney
                      Participant

                        Hi Anthony, Thanks for that, and will keep the tracert in mind!

                        Hi Neil, Yep, that’s software development; I’ve got the grey hairs too! I am interested in learning more about your thoughts and approaches to reproducibility, so will start a thread on that soon. Your progressive testing approach sounds great, and is what I’m trying to work toward as our organization prepares to ramp up deployments. Just trying to find some stable baseline at the moment, and I’m not there yet. I’ll be posting a summary of my latest MMW testing shortly.

                        Matt

                      Viewing 10 posts - 101 through 110 (of 171 total)