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

neilh20

Forum Replies Created

Viewing 10 posts - 31 through 40 (of 377 total)
  • Author
    Posts
  • in reply to: Monitoring power consumption #18184
    neilh20
    Participant

      @jp  thanks for sharing – power is a challenge when there isn’t enough of it. Finding enough power for your systems is the easiest step, – that is upsizing the solar panels, and ensuring they have enough solar aspect this time of year.

      Just wondering, what is the standard kit that you have and source- sounds like you have the Mayfly 1.1 – what is the solar panel  ? and battery ? and/or sensors

      Cycling green and red leds is usually an indicator that its continually going through reset, Its NOT getting enough power to complete startup  and then probably fails when invoking a heaver user – probably the modem.  In short, IHMO, the ModularSensors architecture doesn’t do power demand management. That is it assumes there is enough power to get through the power up stage.  I’ve talked about it extensively and come up with my own software to handle edge “reliability conditions”, and is available for anybody to use. https://github.com/neilh10/ModularSensors/wiki/1a-Feature-notes

      An easy fix, if you are visiting the site, is to take a USB power pack with you, and then with an appropriate cable (Mayfly 1.x is USB-C) plug it in and boost the local Lithium Ion battery. However this can take a couple of hours, and the USB Power packs I have turn off when full charged the local battery, and then never turn back on – until unplugged.

      This is a good conversation to have, so please share the details.

      in reply to: Systems not recognized from 12th( v0.15.0?) #18172
      neilh20
      Participant

        Seems like this might have broken, and I’ve created an issue https://github.com/ODM2/ODM2DataSharingPortal/issues/682

        in reply to: Using the Teensy 3.5 #18150
        neilh20
        Participant

          Wow nice to see the pictures and mechanical detail. I always find that a challenge to get integrated early – mostly because I’m doing everthing.  Is it part of an open source project? sounds like its for a specific translator/extender fiber optics to copper RS485/RS23   In looking over the Rpi PICO, while an amazing processor with program stored in a serial flash device, seemed like there wasn’t a lot of serial peripherals only 2 UARTs . At least for me that was show stopper.

          I’ve just posted on a project I’ve been chipping away at  https://www.envirodiy.org/topic/using-samd51-wio-terminal/ and it has the USB drivers for the drag and drop bootloader programming with the .uf2 file :), which hopefully can also be good for remote OTP (over the air programming)

          in reply to: Using the Teensy 3.5 #18141
          neilh20
          Participant

            @vogelrnws I wonder how its going. I see that Teensy is moving to a Teensy4.0 CortexM7

            in reply to: 12 V External Power and Serial Viewer #18077
            neilh20
            Participant

              The Mayfly 1.1 is great for powering options – but it does mean understanding the tradeoffs.

              For an FTDI cable,  for debug monitoring of the Mayfly this is what I do – https://github.com/neilh10/ModularSensors/wiki/Test-Equipment-FTDI-cable

              I also cut some pins to make it a “monitoring cable” that won’t cause a reset when the FTDI USB is plugged in to the monitoring computer. But only do that when you follow how the download works.

              When programming the Mayfly I always use the USBC cable, and insure I disconnect the FTDI monitoring cable – as technically they are doing the same job and may fight (electrically speaking)

              I would think  +12V could also be provided to the Mayfly 1.1 Solar2 socket.  All possible options – but only if you follow how the circuits work. Using Solar2 would allow the USB-c to be used with the terminal.

              I use the board with a solar panel, and so it always has a LiPo 4.4Ahr battery plugged in. On the test bench with LiPo I don’t always need the external power, unless the battery needs charging. 🙂

              in reply to: Mayfly v1.1 technical questions forum thread #18056
              neilh20
              Participant

                Many thanks got it. I appreciate the effort and detail that goes into producing a new production run. The pogo pin connector is great and so simple.

                Got the .pdf – I copied the .jpg instead of more intelligently clicking it to get the .pdf!

                Just wondering if you have any thoughts on changing the Vbat   Rs to 1M / 270K for better noise immunity. It wouldn’t change the functionality, only provide a cleaner Vbat measurement . I can provide you some technical references on pop corn noise in higher value R if its of interest.  https://github.com/EnviroDIY/EnviroDIY_Mayfly_Logger/issues/36

                in reply to: Mayfly v1.1 technical questions forum thread #18049
                neilh20
                Participant

                  Hi @shicks, just received two Mayfly 1.1 and noticed they are rev1.1B – just wondering what the differences are from  rev1.1A? 🙂

                  I did pull the circuit diagram from https://www.envirodiy.org/mayfly/hardware/ however the resolution is so low, its not all readable. Just wondering if there is a pdf version. 🙂

                  I also checked https://github.com/EnviroDIY/EnviroDIY_Mayfly_Logger/tree/master/hardware but couldn’t see anything.

                  Many thanks

                  neilh20
                  Participant

                    It seems to me its a working practice’s issue, repeatability and traceability- not a programming issue.  From a distance, seems like you should be able to see the code in the directory that you are building – however you do have a unique directory structure, and if opening HicksonDeployments.code-workspace – maybe its mispointed. I open “folders”.

                    For the working directory that compiles and downloads, my suggestion was by putting the UUIDs in a separate file ms_cfg_uuids.h -you can have the example non real UUIDs  that get pushed to git.

                    On building your managed target system, you drop in the unqieu ms_cfg_uuds.h into the directory and then compile it.

                    That way there isn’t any messing around with the actual source code, and whats on a branch.

                    I would suggest adding a “GEOGRAPHICAL_ID” in your ms_cfg_uuids.h so the UUIDs compiled are visible, traceable and debugable.

                    On startup, my systems identify parts so I can manage the code – the code source,  the software name, compile and then the target .

                    So from my debug logs, I’m currently trying to integrate the SIM7080 and was doing it previously with WiFi ESP32-wroom, I can follow what works and doesn’t

                    [2023-08-12 09:52:20.083] —Boot(0) Sw Build: a\src\tu_xx02.cpp Aug 12 2023 09:50:19 b’neilh20′
                    [2023-08-12 09:52:20.146] Sw Name: LT500/Modbus TO MMW LTE SIM7080
                    [2023-08-12 09:52:20.146] ModularSensors version 0.34.1-abd
                    [2023-08-12 09:52:20.146] TinyGSM Library version 0.11.6-aab

                    [2023-08-12 09:52:20.225] Board: Assume Mayfly 1.1A

                    [2023-08-12 09:52:22.360] GEOGRAPHICAL_ID:”230723 TU-RCtest07 simRiverX Monitor”

                     

                    earlier I was working on

                    [2023-08-04 18:19:16.580] —Boot(0) Sw Build: a\src\tu_xx02.cpp Aug 4 2023 18:14:40 b’neilh20′
                    [2023-08-04 18:19:16.632] Sw Name: LT500/Modbus TO MMW ESP32-wroom
                    [2023-08-04 18:19:16.632] ModularSensors version 0.34.1-abd
                    [2023-08-04 18:19:16.632] TinyGSM Library version 0.11.6-aab

                    [2023-08-04 18:19:16.719] Board: Assume Mayfly 1.1A

                    [2023-08-04 18:19:18.847] GEOGRAPHICAL_ID:”230723 TU-RCtest07 simRiverX Monitor”

                    neilh20
                    Participant

                      Well you are now into working deployment practice’s, beyond programming,

                      So how about simplifying  (I think you’re process is getting complicated . IHMO all the guideline haven’t identified what happens when you actually have a successful program to deploy .)

                      Seems the question is for  a successful working Mayfly logger program ….. and how to scale it   to the field.

                      …. you have a very good point

                      ~~ grin ~~

                       

                      Seems to me a really SIMPLE  way of solving it is to put the UUIDs in an include file – and then manage the include file separately so they don’t go to github.  Say “ms_cfg_uuids.h”  This works if its you (and any similar programmers/colleagues) are building and deploying to the field and you can agree on labeling and where to keep the ms_cfg_uuids.h

                      IMHO – this is a beta development scheme. For each Mayfly it still has to be be compiled with each separate ms_cfg_uuuds.h and then downloaded to each Mayfly, and tracked on a Mayfly basis.  IHMO2 this shows a weakness in EnviroDIY working practises , how to test a program to prove its successful.

                      If you want to deploy a number (10->??) or so loggers all the same,  … what then … Deploying a number of Mayfly loggers becomes a bit more of a production line.

                      What I do, in my fork, (and its a big step of functionality)  is put the UUIDs in a file ms_cfg.txt and then put it on the uSD. This is ideal for situations where colleagues are not programmers, but can configure a system through a built  .hex and then uniquely configure the system with ms_cfg.txt

                      The program can be tested, and with the captured .HEX file easily deployed in multiple numbers.

                      Its also easy to upgrade, as its the uSD that is the key to connecting it to MMW – not the program.

                      I wrote about it here https://www.envirodiy.org/geographical-scaling-modularsensors/

                      I also write about other features that I think are missing from the mainline https://github.com/neilh10/ModularSensors

                      hope that is helpful 🙂

                      neilh20
                      Participant

                        Hey glad to have helped!!.  Whew.!

                        Its a challenge sometime to figure out what the foundations are and build off them. I’ve had to do that before, start with a known should be working, and then slowly add to it to find out what came adrift.   I often use Meld Merge to compare the base directories separately from PIO.   There is a gitkraken plugin of PIO to visualize the branches – however I get lost quickly.

                        So your process of rebuilding from a known source is teaching moment of the challenges of source management.  The next challenge is traceability – and its mostly the school of hard knocks. Sara is doing an amazing job of fixing lib versions for the main release.

                        You  have the Mayfly version built in nicely to you platformio.ini- EnviroDIY_ModularSensors@=0.34.0

                        Can you imagine having your code all working, and distributed being used, and then coming back to make a modification – only to find its lost – you can’t trace what your release was.  Several professional level stories of that happening – and hence why Microsoft bought github for gizzilion$

                        https://meldmerge.org/   though I ‘m currently on an early version 3.18.3 https://download.gnome.org/binaries/win32/meld/ as some lost functionality in later releases

                      Viewing 10 posts - 31 through 40 (of 377 total)