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 - 111 through 120 (of 371 total)
  • Author
    Posts
  • in reply to: DIY auto sampler #16891
    neilh20
    Participant

      @craig607 yes totally agree, spit balling or back of the envelope sketch 🙂
      So great – you can see I’m asking the dumb questions, and if some one has to pick up the bottles every so-often, then can also switch out the power source batterys :).

      I see now how the hardware fits in, and found the schematics https://github.com/makerbase-mks/MKS-GEN/tree/master/hardware
      Interesting, look forward to it 🙂

      in reply to: DIY auto sampler #16889
      neilh20
      Participant

        @craig607 great to see the stepper functionality and managing it with the GCODEs though I wasn’t clear what the Marlin board is, and how it gets activated. Is the relay the power switch ON, or a pull to ground input.
        This probably says how basic my view is, looking at powering, the 4.2V is nice as it maps to a LiPo battery, though LiPo are 4.2V decreasing to 3.8V. With 1.5As power draw the battery needs to be sized for the length of time the pumps can operate.
        I’m imagining a use case of it being solar powered, so guessing at a separate LiIon battery pack, with probably separate charger and possibly solar panel – possibly all in the Marlin board? Just checking. Also, thinking typically need to measure the LiIon voltage to check its being charged.

        in reply to: DIY auto sampler #16887
        neilh20
        Participant

          @craig607 fascinating, thankyou for the brainstorm.
          Looking at the stepper motor power draw, seems like managing where that power draw comes from would be part of the design. For one source of steppers that give a range of V and A, there is a lot of choice https://www.adafruit.com/?q=stepper&sort=BestMatch
          Happy to brainstorm that part if its useful.

          in reply to: Data Uploading but not Publishing #16858
          neilh20
          Participant

            @lyh2o just thinking about this I wonder, assuming you have this in the office close to the computer that is programming it, if you could enable some debugging and post the trace here.

            The debugging most useful is
            -DMS_ENVIRODIYPUBLISHER_DEBUG
            so depending on how you build, but if platformIO it would be on a separate line
            build_flags =
            -DSDI12_EXTERNAL_PCINT
            -DNEOSWSERIAL_EXTERNAL_PCINT
            -DMS_ENVIRODIYPUBLISHER_DEBUG

            Then after downloading it, to open a terminal and capture the output and wait for it to connect to the internet. Then it would be to post that capture here.
            Fingers crossed

            in reply to: Keller CTD Sensor #16784
            neilh20
            Participant

              Great – I’ve asked https://www.instrumart.com/ if they plan on stocking it.

              Something to note, a bit strange, is it comes up in SDI-12 mode, and needs an initial configuration to switch to RS485.
              From getting some initial success – it may be worth starting with SDI-12 and getting some responses. Alternatively talk with a tech rep as to how they see this can be configured to RS485 before purchase.

              https://keller-druck.com/en/products/level-probes/multi-parameter-probes/series-36xiw-ctd

              Then in the Manual https://download.keller-druck.com/api/download/yRqtkpbcVNQDHa3i7zdXDm/en/2020-04.pdf
              As well as the standard RS485 interface, which provides access to
              all configuration registers, the pressure level transmitter can also be
              ordered with an SDI-12 interface. Only one interface will be active at
              any one time. Corresponding commands are used to switch between
              interfaces (default setting on delivery: SDI-12).

              From SDI12 manual ~ https://download.keller-druck.com/api/download/KMkeowTYmcRcUyZfadRVvZ/en/2015-11.pdf
              7 Switch to RS485 (Kellerbus)
              It is possible to switch from SDI-12 mode to the Kellerbus-mode (RS485 communication, Kellerbus or MODBUS RTU):
              Description Command Response
              Switch to RS485 (Kellerbus) aXC! aXC02Fe13! aXCD<CR><LF> (successful)
              aXCE<CR><LF> (not successful)
              After this command it is not possible to communicate over SDI-12 bus with the transmitter any more.
              Be sure to have all hardware equipment for Kellerbus (RS485) available and the according software before switching SDI-12 off.
              There is always only one communication interface active and the hardware of the other interface is switched of meanwhile and
              can only be activated over a software command.

              in reply to: Keller CTD Sensor #16716
              neilh20
              Participant

                A further note on developing a new interface over Modbus; is to then check that when its running the instrument is actually reporting well over that interface.

                I’ve integrated an LT500 Modbus into ModularSensors – and the question now is how well does it perform. Does it actually report and work well. I’ve had this working well on the SDI-12, so I have good confidence it should

                After running it over the weekend  on a two minute reporting, with it sitting in a jar of water “0.21” feet deep – I have some confidence that the Modbus interface is working well.  See attachment

                https://3qzcxr28gq9vutx8scdn91zq-wpengine.netdna-ssl.com/wp-content/uploads/220314-test08ModbusLt500_3days.png

                Its also running with the new Mayfly 1.1 and using the option to SJ27 to monitor the LiPo_V – which is a new feature of the Mayfly 1.1. So while it is doing the Modbus testing,  I’m taking the opportunity to regression test the battery voltage measurement issues.  This is testing the Vbat to measure the LiPo V to 3.8V threshold. The BLUE line is the 10bit Mayfly 1.1 measurement voltage. The GREEN is a reliable 12bit adc source.  The BLUE Vbat is still somewhat noisy jumping around.   I still have an open question as to whether it can be relied on.

                https://3qzcxr28gq9vutx8scdn91zq-wpengine.netdna-ssl.com/wp-content/uploads/220314-test08ModbusLt500_3days.png

                 

                 

                 

                 

                 

                in reply to: Keller CTD Sensor #16711
                neilh20
                Participant

                  @dan-wachusett   I’ve just done quite a bit more work with modbus protocol, including developing an InsituModbus and though I would share here what I found out.

                  What its shown me is that possibly for the Keller CTD, a baby step may be to o start with https://github.com/EnviroDIY/KellerModbus and modify examples/GetValues to see if you can pull the values of CTD. If you can then, the next step would be to integrate ModularSensors class.

                   

                  in reply to: board layout files #16663
                  neilh20
                  Participant

                    Erik any board that has a  SAMD21 with a uSD/flashDrive and  external RTC DS3231 https://www.adafruit.com/?q=DS3231&sort=BestMatch is probably a good target for using with ModularSensors.  https://shop.sodaq.com/search/SAMD21/ and look for LTE cellular or other cell to match your local network.  LoRa seems unlikely to work with MMW but could possibly with Arduino IoT

                    Also there are options at https://search.arduino.cc/search?tab=&q=SAMD21

                    The mega2560 and Mayfly mega1284 are 8bit versions, and excellent for low power, but short on ram,  flash and peripherals

                    in reply to: Data Uploading but not Publishing #16662
                    neilh20
                    Participant

                      Hello Nancy, With some students we created a new site https://monitormywatershed.org/sites/SSU_ENG_SD02/ and its having an issue with displaying the time in the front page TSV and I entered an issue on it …

                      https://github.com/ODM2/ODM2DataSharingPortal/issues/560

                       

                      Looking at your https://monitormywatershed.org/sites/Tom-Nat/  seems similar

                      and when I step to Vbat https://monitormywatershed.org/tsv/Tom-Nat/5286/ it seems like it did gets some updates to Vbat – latest Mar 3,14:10

                      So seems to be the same issue.  You’re welcome also to add your findings as well if similar to https://github.com/ODM2/ODM2DataSharingPortal/issues/560

                      in reply to: Seeking recommendations for PCB fab houses #16656
                      neilh20
                      Participant

                        I’ve been building electronic circuits since high school. In case its of any use, I’m now using Kicad 6.0 https://www.kicad.org/blog/ and it has been excellent for reasonable human place able surface mount geometries of 0402 and larger. There is an evolving library of component footprints . Any non-standard footprint are possibly where the real challenge is with any circuit – matching the cu footprint to the component.

                        I have put up a basic Wingboard in Kicad as a starting point for a student project – https://github.com/neilh10/mayfly-esd-rev01

                        I prototype with oshpark and build my own boards as the first proto  – oshpark has sophisticated help for Kicad and Eagle  https://docs.oshpark.com/

                        The expensive and high risk part can be  building a few test prototype boards to check the circuits. There are tutorials on youtube and sparkfun for prototyping – absolutely amazing.  Start small and build bigger has been my moto.

                        I’ve built a set of RS485 wingboards with https://macrofab.com/demo/ – I liked it for the new online parts/BOM management and checking for parts availability in realtime. The output to Macrofab is https://github.com/EnviroDIY/Mayfly-Modbus-Wing/tree/master/knh002-MayflyWingShield/rev7

                        Of course a board assembled by a fabrication house is just the raw components “cooked” or soldered to make one board. It then needs testing to verify its working as expected.

                        As an EE I have been doing PCBs for over 15years with EasyPc (from numberone.com), and tried to pick up on Eagle 6 for some open source hardware, but the GUI was so specific that it didn’t really work for me. Just my experience, it does have a strong following so other people where more persistence than me have fun with it.

                      Viewing 10 posts - 111 through 120 (of 371 total)