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

Madbird

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Optical dissolved oxygen solutions? #15128
    Madbird
    Participant

      Hi Sara,

      Just wanted to say thank you for your help and kind support, now everything is working as expected and just need to calibrate the Y4000.

      Attached is a screenshot about the final results, I needed to twerk the delay time a little bit and make sure grounding overall is respected, but other than that everything worked  fine.

      Thanks again.

      in reply to: Optical dissolved oxygen solutions? #15074
      Madbird
      Participant

        Hi Sara,

        Again thank you for your help, I am supplying the Y4000 from a dedicated power supply and I have done all the code instruction you gave earlier.

        The code is working. However, the sensor is not responding back as you can see in the attached picture. I thought it might be a grounding issue so I have connected the grounding from the sensor with the MKR485 grounding, nothing have changed. Tried to change the modbusAddress = 0x03 into 0x01 as a try, also nothing changed.

        If anything comes to your mind on what can be the issue please let me know.

        in reply to: Optical dissolved oxygen solutions? #15067
        Madbird
        Participant

          Hi Sara,

          Thank you very much for your help, I actually have a Y4000 and I have managed to communicate to it and use it connected to a PC, I am trying to monitor a near river.

          I tried to work as you have written earlier, the problem is it looks like I am overwriting the serial connection to the PC, so the second the code uploads the USB connection is lost and the serial monitor is not working.

          I am using the modified code by Anthony Aufdenkampe based on the GetValues.ino and I wonder if you can have a look for any tips on what might be the issue, thank you very much in advance.

          in reply to: Optical dissolved oxygen solutions? #15057
          Madbird
          Participant

            Hi @sara,

            I am trying to connect a y4000 to my arduino using an mkr 485 sheild (RS485) for hardware serial port  using your arduino library for y4000, till now with no luck.

            I suspect it is because of the “AltSoftSerial” creating software port while I am using a hardware one, but I am not sure how to modify this.

            Can you please help with some tips or thoughts?

          Viewing 4 posts - 1 through 4 (of 4 total)