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

Atlas Scientific EZO logging program

Home Forums Mayfly Data Logger Atlas Scientific EZO logging program

Viewing 10 reply threads
  • Author
    Posts
    • #2016
      Jim Moore
      Participant
        I am working on code to log data from the Atlas Scientific EZO sensors. I have a working program that will calibrate and configure the subject sensors and log data to an SD card using the Mayfly boar
      • #2019
        Jim Moore
        Participant
          By process of elimination the the compile error seems to be related to

            #include <SoftwareSerial.h</ul

            …and I assume this is where the code goes.

        • #2020
          Jim Moore
          Participant

            Maybe I should put all of my code in the sensorWake() function…

          • #2021
            Jim Moore
            Participant

              I tried the NewSoftSerial.h library, which I understand uses interupts instead of polling, and still no joy.

              I think I have run out of options so any suggestions would be appreciated!

            • #2022
              Shannon Hicks
              Moderator
                The error you’re getting is because the SoftwareSerial library uses an interrupt method that conflicts with the SODAQ_PcInt library. In order to use those 2 libraries together, you have to use
              • #2023
                Jim Moore
                Participant
                  I have version 0.3 and it looks like I would cut the trace at JP1 but would then have to wire the int pin to D10 since there is only two pads at JP1. I think I can add the wire with out making too mu
                • #2024
                  Shannon Hicks
                  Moderator
                    Just do the software fix as suggested above and leave the clock interrupt on A7, then you won’t have to worry about doing any wiring changes. I added the D10 interrupt option on version 0.4 and
                  • #2025
                    Jim Moore
                    Participant
                      Thanks, that’s what I did and my program now compiles but doesn’t work but its progress and I’m learning.

                      Btw, the libraries.zip gave me a corrupt file error but loading the two _Mo

                    • #2082
                      Jim Moore
                      Participant
                        I would appreciate help on a problem with my code derived from the Mayfly-sleep.ino example. I am using the SoftwareSerialMod.h library as recommended to resolve a pin conflict. However, when I activ
                        • #2088
                          Shannon Hicks
                          Moderator
                            How did you verify that the board isn’t going into sleep mode? Can I assume that you didn’t modify the pads on JP1 and that the clock interrupt is still connected to A7 and you didn’
                        • #2090
                          Jim Moore
                          Participant
                            You assume correctly. When operating correctly the red power LED3 is off during sleep mode. I just retested with my sensor disconnected and works properly with myserial.begin(9600) active. Therefor my
                          • #2101
                            Jim Moore
                            Participant
                              I finally solved the never-sleep problem. The problem seems to be related to the slow decay of the power to the Grove connector. With the sensor connected the decay is approximately 50ms. In the se
                          Viewing 10 reply threads
                          • You must be logged in to reply to this topic.