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

pc and Mac unable to communicate with mayfly ver. 0.5b

Home Forums Mayfly Data Logger pc and Mac unable to communicate with mayfly ver. 0.5b

Viewing 20 reply threads
  • Author
    Posts
    • #16446
      DaveG
      Participant
        Hi, I inherited a mayfly ver 0.5 b from my predecessor and am trying to get it set up for deployment again.  I’ve been unable to get it to connect to either a pc or a Mac.  It is getting power
      • #16447
        fisherba
        Participant
          Hi Dave,

          Don’t kick me for this, but is the Mayfly turned on? There’s a little toggle switch near the USB jack.

          Sometimes they do get “fried” and others know the trouble-shoo

        • #16448
          DaveG
          Participant
            Hi Beth,
            No kicking involved when folks are trying to help!
            I have tried toggling the on/off switch… no luck.
            The leds do their flashy bit to let me know that the device is alive in there somewh
          • #16449
            fisherba
            Participant
              What software are you using to connect? What are you doing to confirm that it isn’t connecting? Are you trying to upload a sketch, or are you looking at it through a serial monitor?

              Have you co

            • #16450
              DaveG
              Participant
                I’m using Arduino 1.8.19.

                I’ve tried uploading a sketch (various ones) and get a not in sync error message that repeats 10x.  Entire error message below…

                Now don’t kick me,

              • #16451
                fisherba
                Participant
                  The bluetooth port is not your mayfly.

                  I did this tutorial that could get you acquainted with the serial monitor: https://envirodiy.github.io/LearnEnviroDIY/01-ArduinoBasics/index.html

                  What’s

                  • #16452
                    DaveG
                    Participant
                      Thank you.  I’ll check out the tutorial.

                      There are preloaded sketches for temp, depth, turbidity, and conductivity from the board’s previous deployment.

                      I set the baud rate following th

                  • #16453
                    fisherba
                    Participant
                      If the existing sketch is from the EnviroDIY Modular Sensors code wrapper, the serial baud should be 115200. In the arduino IDE, connected with usb, mayfly power on, if you press the little magnifying
                      • #16454
                        DaveG
                        Participant
                          I’m sorry, I’m not getting it to work.  It seems like I am missing something simple but I’m still just getting the same error message as before.  I tried doing the blink tutorial a
                      • #16455
                        fisherba
                        Participant
                          Did Blink successfully upload? The mayfly can only handle one sketch at a time. The fact that your board is flashing in the ways you describe means that it is probably not fried.

                          As far as I can dete

                        • #16458
                          DaveG
                          Participant
                            I was not able to get Blink uploaded – even at the baud rate recommended.  I verified it but still got the same “not in sync” error message as above

                            The serial monitor does not sho

                          • #16459
                            DaveG
                            Participant
                              so I thought I’d try it with the micro sd card removed… then I captured the following images of the Arduino program and the serial monitor – but still no port prompt, although mayfly
                            • #16462
                              fisherba
                              Participant
                                The Mayfly doesn’t have a bluetooth radio built in, so that port is not actually the one that is connected to a Mayfly. The bluetooth port is everpresent on Macs because you have bluetooth on yo
                              • #16463
                                fisherba
                                Participant

                                  Mine looks something like this:

                                  • #16465
                                    DaveG
                                    Participant

                                      I don’t have any other ports as options to select.  The only other thing it says is “serial ports” but that is greyed out and not able to be selected.

                                  • #16464
                                    DaveG
                                    Participant
                                      Understood.  I added Arduino to programs that can open ports/get past firewall on the Mac but is still only showing the same bluetooth port info for the Mayfly.  I just did a quick search online and
                                    • #16466
                                      fisherba
                                      Participant

                                        If the usb port doesn’t exist, then the most probable cause is that the driver is not installed or not valid/current.

                                         

                                        • #16467
                                          DaveG
                                          Participant

                                            ok, I just downloaded Arduino yesterday.  Should I maybe try the beta version for the latest update?

                                            I just downloaded Arduino 2.0 and it is still only showing the bluetooth port… see image

                                        • #16468
                                          fisherba
                                          Participant
                                            Nope. The instructions here: https://www.envirodiy.org/mayfly/software/ say to not use 2.0. I don’t use the Arduino IDE for anything but getting people started. But the tutorial I sent will lead
                                            • #16472
                                              DaveG
                                              Participant
                                                I’ve tried unsuccessfully to download and install drivers from the tutorial – some of the links were bad and then if I could download a driver, the installation was blocked b/c extension i
                                            • #16478
                                              fisherba
                                              Participant

                                                Here’s a video of the process of installing the driver:

                                                https://mediaspace.minnstate.edu/media/Mayfly+driver+in+Arduino+IDE/1_py60bdus

                                                • #16479
                                                  DaveG
                                                  Participant

                                                    Thanks.  I’ve done everything the video shows already, but there is no additional port popping up when I turn on the mayfly.

                                                • #16481
                                                  Shannon Hicks
                                                  Moderator
                                                    If your Mac isn’t seeing the Mayfly as a USB device in your computer OS list of current devices, then you need to install the FTDI drivers from the device website at https://ftdichip.com/drivers
                                                  • #16485
                                                    DaveG
                                                    Participant
                                                      Hi Shannon,

                                                      Thanks for the info.  I downloaded the drivers at the link provided and restarted my computer but still no additional ports appear when Arduino is open and the mayfly is connected, turne

                                                    • #16486
                                                      Shannon Hicks
                                                      Moderator
                                                        If there’s a CR1220 watch battery installed in the battery slot on the Mayfly (with sufficient voltage) then the RS3231 RTC will still be alive and continuing to think it’s whatever time i
                                                        • #16496
                                                          DaveG
                                                          Participant
                                                            Hi Shannon,

                                                            I replaced the battery with a new one when I started this process of trying to revive the Mayfly.  The original battery may have still been good, but it was several years old and the uni

                                                            • #16731
                                                              DaveG
                                                              Participant
                                                                Hi Shannon,

                                                                We got the Adafruit adapter and sent it and the board to a local university where our intern is from to have the engineering dept. do the soldering.  A couple of issues came up.  One is

                                                                Attachments:
                                                          • #16736
                                                            Shannon Hicks
                                                            Moderator
                                                              The Adafruit CP2104 Friend has the correct 6-pin layout to work perfectly with the FTDI interface header on all Mayfly versions.  The attached photo shows one connected to a Mayfly 1.0 but you can co
                                                              • #16737
                                                                DaveG
                                                                Participant
                                                                  Thanks, Shannon.

                                                                  I’ll try to clean it up a bit this afternoon but I think the corrosion is pretty bad – based on the image.

                                                                  I’ll keep an eye out on Amazon to see when the single bo

                                                                • #16754
                                                                  DaveG
                                                                  Participant
                                                                    It’s ALIVE!

                                                                    St. Patrick’s Day miracle…

                                                                    Chip cleaned with 91% but still a bit corroded – but Adafruit CP2104 manually attached (not soldered) and iMac picked up the com port,

                                                                • #16756
                                                                  Shannon Hicks
                                                                  Moderator
                                                                    That’s great, I’m glad it worked.  Based on your screenshot, I can tell that your station is running a sketch that I programmed onto that Mayfly board in March of 2018.  It’ll stil
                                                                    Attachments:
                                                                Viewing 20 reply threads
                                                                • You must be logged in to reply to this topic.