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

Water level monitor with a Mayfly.

Home Forums Mayfly Data Logger Water level monitor with a Mayfly.

Viewing 9 reply threads
  • Author
    Posts
    • #1646
      Richard
      Participant
        Hi
        After all the brilliant support I have received from you all regarding my attempts to build this water level monitor using a stalker V3 and finding the shortfalls that came along with it I have jus
      • #1672
        Shannon Hicks
        Moderator
          Check out this ultrasonic sensor example I just posted. It shows how to read the serial output of a Maxbotix sensor. I like to u
        • #1675
          Richard
          Participant
            Hi
            As usual Thanks for the support, I have added an RS232-to-TTL converter inline between the board and the mayfly and have had a go with the code you posted with only average success I seemed to be g
          • #1676
            Danny Waz
            Participant
              According to the datasheet, the “RS232” models MB736x are 0-Vcc (typical RS232 is -13V to +13V). Of course, it will be inverted from TTL, but if you account for that in your softwareSeria
            • #1677
              Danny Waz
              Participant
                Pardon the somewhat off-topic response, but regarding reading serial data I have found this post extrem
              • #1714
                Richard
                Participant
                  Hi
                  It’s been a little while since I have had a chance to spend any time on this project but over the last few days I made some time.
                  Thank you to Danny Waz for your suggestions as they confirmed
                • #1769
                  Arnoud
                  Participant
                    Dear all,

                    I have the same set-up of Maxbotix sonar with Mayfly as Steven. I did some trials first with my arduino and analog signal reading which was succesfull.

                    Now I trying the serial code availab

                    • #1771
                      Shannon Hicks
                      Moderator
                        ArnoudC, I’m not sure which Maxbotix sensor you’re using, but on the models we usually use, it’s pin 5 on the sensor that gets connected to the Mayfly digital pin (pin 5 in my exampl
                    • #1772
                      Arnoud
                      Participant
                        Thanks for the quick reply. Indeed, I was probably erroneously connecting the PWM output (2) instead of the serial (5) to the Mayfly. I will give it a try this week and keep you informed. Thanks for t
                      • #1779
                        Arnoud
                        Participant
                          Dear all,

                          OK. I have correct distance readings right now of my sonar. Thanks for helping. Next step is to save the readings into the SD card. I tried the code of Rich abuve, but in my case it is not

                        • #1824
                          Shannon Hicks
                          Moderator
                            ArnoudC, the second half of the Ultrasonic sensor example now has sample code for recording the data to a memory c
                            • #2292
                              Richard
                              Participant
                                Hi
                                I tried to use this code but it wouldn’t compile due to the #include <Sodaq_PcInt_Mod.h>

                                #include <SoftwareSerialMod.h> libraries not being found. I looked and dowloaded the ent

                                • #2293
                                  Richard
                                  Participant
                                    Hi
                                    Further to my last little input I have managed to get the code to compile and run on my MAYFLY with a MB7389 sonar by changing the #include <Sodaq_PcInt_Mod.h> to #include &l
                            Viewing 9 reply threads
                            • You must be logged in to reply to this topic.