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 - 121 through 130 (of 371 total)
  • Author
    Posts
  • in reply to: Seeking recommendations for PCB fab houses #16654
    neilh20
    Participant

      Well I’m working with some engineering students at 9am PST (10min) on how to modify Kicad files. A bit short notice but you could join in then if interested.

      in reply to: board layout files #16647
      neilh20
      Participant

        @Erik_G just an FYI, its made to look easy by Shannon, however it takes a lot of experience to get it right and then make it available as purchase.

        Typically to do an order with a PCB assembly service, the qty of 50 is when there is the lowest cost per device. However assembly services only assemble to the instructions you provide. If you provide inadequate instructions, or they get it wrong. you still pay the full cost of assembly. Then there is also testing and configuration of the board, which is probably what you are hearing.

        Unfortunately with the current world situation, I imagine its getting more difficult to export items from the US, as anything shipped out the country would require it to be certified as to where its going. However perhaps you can a packet of 5 or (multiples) from the enviroDIY shop, and do a swedish user group!

        in reply to: SDI-12 level shifting #16499
        neilh20
        Participant

          Just as refresh this is my  data while working with a prototype SDI-12 level shifter.

          https://github.com/neilh10/ModularSensors/issues/12

          in reply to: Hydros CTD-10 Regularly Dropping Out (-9999) #16498
          neilh20
          Participant

            @james_nz    my process is to stage systems in an accessible context to check the reliability of the systems. This comes from the school of hard knocks working with embedded processors like the Mayfly.

            IMHO while  ModularSensors software has some fantastic classes to be able to access the instruments and also to push to cloud locations, Arduino Open Source is generally at the level of  – Arduino teaching  ~ this is how it can be done.

            Its next to impossible to teach “reliability” – its usually learnt through being on the “bleeding edge”. The 2nd time around one tends to add more foundational capability to better cope with reliability testing.

            You reference “dropping out” which can be a whole record or one instrument. A record lost is typically due to “internet failure”,  but still stored on the uSD.

            Individual readings, usually digital instrument, when the digital comms link to the digital instrument fails.

            It seems, for the above referenced node, your RS485 instruments are responding OK, its the SDI-12 instruments that are having comms failures.

            Its should be noted that the Mayfly’s xx could be said to support “Arduino SDI-12”, that is they show how it can be done, but there is a lot of technical debt. It isn’t per the SDI-12.org specification for signaling and protection.

            I’ve been trying to prototype a solution to this for some time. Right now my RS485board includes  SDI-12 protection and  level shift. However I still need to work on the SDI-12 software  for it to cope with the level shift.  https://www.envirodiy.org/topic/sdi-12-level-shifting/ 

            Currently when you access the Mayfly X with the USB cable (or even the FTDI cable), it causes the Mayfly to reset  – a nice Arduino feature of always making sure the board can be programmed. However that reset isn’t good for reliability monitoring – that is plugging in and just monitoring how its been working – I’ve created a modified FTDI connector to allow that  https://github.com/neilh10/ModularSensors/wiki/Test-Equipment-FTDI-cable

            in reply to: Hydros CTD-10 Regularly Dropping Out (-9999) #16484
            neilh20
            Participant

              @James_NZ – are all your setups the same?.

              Have you got a spare setup that can be debugged in a local setting? (office with terminal connected)

              I have a similar setup with an RS485 and SDI-12 on one system – but I maintain a test system to verify it before I deploy it.

              https://monitormywatershed.org/sites/TUCA-Na13/

              I have done work to ruggedize it. All I can do is describe how I do it.

              in reply to: Hydros CTD-10 Regularly Dropping Out (-9999) #16443
              neilh20
              Participant

                @James ouch.  Looking at the data file, its just the Decagon CTD/SDI-12? readings that are responding -9999 . Typically that means the (SDI-12?) protocol has failed to communicate with the instrument.

                At the same time Yosemite/Modbus? is responding well.

                The CTD is only occasionally failing, or failing in groups, but still working some of the time. A hard failure where it fails all the time is easiest to debug. Intermittent failures are the hardest.

                You started running the setup 2021-10-25 11:16 and

                then it started failing 2021-12-09 14:45

                and recovered 2021-12-14 13:00

                Did you do anything to have it recover?

                Since then it has intermittent failures. Ouch that is the hardest to troubleshoot.

                I have one LT500 that is not working well with SDI-12, its mostly failing, but sometimes works. Similarly I purchased a device that is tested to the full SDI-12 device, and its also failing a lot.  SDI-12 from the Mayfly is not a standard 0-5V, so I’m planning on moving it to the Modbus. I’m also trying to figure out a way of generating a fully specified  SDI-12 0-5V

                 

                 

                 

                 

                in reply to: CAUTION: Bricked XBee3 Cellular LTE-M/NB-IoT #16438
                neilh20
                Participant

                  Nuts you lost one.

                  Unfortunately it take the Digi “Xbee TH Development Board” to do an upgrade.  Hopefully the new ones will be come with the latest software.

                  in reply to: Keller CTD Sensor #16419
                  neilh20
                  Participant

                    Hi Dan, wow interesting it works to 3.2V.  Yes RS485 should work well and it can go a long distance.

                    You do need a physical RS485 driver wing board that will fit with the UART pins. RS485 is a specific differential voltage protocol that can travel thousands of feet on two wires. The instrument requires 4 wires. See above for examples.

                    My observation is that enviroDIY is about a safer space to try things out, but you still have to figure out the process that works for you, and as ever the budget that can make it work.

                    EnviroDIY can be the place to share insights like I’m doing and Anthony is doing. As its your instrument you are the lead person, others with deeper knowledge of say the protocols can lend some insight, but implicitly you own the making it work.

                    Gosh it seems like you have your feet very wet already with the Mayfly.  My experience is to plan the development process and manage the expectations of others of the risk. This is what we teach Engineering students.

                    This can be low budget, but only if you have the time and commitment to learn the Modbus protocol. Keller does publish where the extra  36XiW-CTD  registers are in the Modbus map. Modbus is archaic but because it runs on RS485 it works over a long distance.    For trying it out you only need one 36XiW-CTD and your commitment.  For serious development we typically plan how to reduce the risk. The first part is to test that the protocol can be interfaced to.   Then how to do the full integration test.  That is one 36XiW-CTD for the lab bench to check the protocol with quick turns of the software. Then one for a realistic practice area otherwise known as stability testing, and one for the final stream.  In the long run maybe the tests ones can be deployed to streams, but every time there is a new software release its better to have a safe place to check the new software.   In the open source world, other people may offer to lend their experience, then typically you pay for their instruments.

                    Hope that helps. 😊

                    in reply to: Is there a BMI soundscape? #16344
                    neilh20
                    Participant

                      Thanks for checking with Dave on that. Good points about what might create some sounds.

                      in reply to: Keller CTD Sensor #16321
                      neilh20
                      Participant

                        Hi Dan

                        Very interesting  – I like that  conductivity measurement port  up from the depth measurement port – out of the mud so to speak. It looks to be at least 30mm up the sensor column. And that’s a difficult mechanical feat.  I wonder where you have a quote from. I’ve got Keller sensors from https://www.instrumart.com/brands/1051/keller – but they aren’t showing this model.

                        I would say the short answer is RS485 and a working +12V (IHMO boosted from 4.0V) ~ as Shannon was saying . Partly it depends on the distance from the measurement place to the Mayfly Enclosure. 36XiW-CTD RS485 protocol identifies 1,400m, which can go through intermediate wiring connection points. Mayfly SDI-12 is unspecified

                        I’ve implemented the Keller RS485 protocol ~   See KellerXxxLevel.h  on https://github.com/EnviroDIY/ModularSensors/tree/master/src/sensors and used it with a +12v boosted from +4V.

                        I’d be interested in helping, and would need one of the instruments, but in the end its new development for ModularSensors and would have some risk until the first message had been successfully polled for.

                        I found the data sheet at https://keller-druck.com/en/products/level-probes/multi-parameter-probes/series-36xiw-ctd

                        Practically Mayfly 1.0A3 doesn’t have a working +12V, and hopefully the new version of Mayfly 1.x will have a power specification to the +12V so it can be matched to what the Instrument requires. https://github.com/EnviroDIY/EnviroDIY_Mayfly_Logger/issues/33

                        Hopefully Shannon’s RS485 will have some visibility soon – https://www.envirodiy.org/topic/rs485-schematic/ and if it all works, its a very nice combination.

                        However there are two other RS485’s board with boost to +12V, one of which I’ve implemented https://github.com/EnviroDIY/Mayfly-Modbus-Wing/tree/master/knh002-MayflyWingShield

                        A perspective, from working with Insitu LT500, the SDI-12 implemented on the Mayfly is a subset of the SDI-12 Specification. https://sdi-12.org/ . That’s technical speak for saying you’ll have to try it to see if it works, for an instrument range and for each instrument thereafter.

                        As Shannon said a level shifter is needed – from out-of-spec 3.3V to specified 5V – and there has been a lot of discussion about the “Half-duplex”  level shifter elsewhere, which with the SDI-12 software is complex to get right.

                        The Mayfly software implementation for SDI-12 protocol doesn’t include the CRC option, and the RS485 version has that implicitly built into.  I’ve been looking at this,  https://github.com/neilh10/ModularSensors/issues/68 and got a version of hardware to test it  against https://vegetronix.com/Products/SDI-12-Sensor-Translator/  (its lower cost than an LT500 for regular testing.)

                        The Mayfly SDI12 subset is not protected from voltage (lightening, ESD) as per the recommendation in the spec.

                        As ever, hope this isn’t too much info, The 36XiW-CTD looks very interesting . I’m happy to chat  on 707.780.1569 .

                        Also I’ve listed it at https://github.com/neilh10/ModularSensors/issues/100

                      Viewing 10 posts - 121 through 130 (of 371 total)