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

Mayfly v1.1 technical questions forum thread

Home Forums Mayfly Data Logger Mayfly v1.1 technical questions forum thread

Viewing 31 reply threads
  • Author
    Posts
    • #16619
      Shannon Hicks
      Moderator
        This is the forum thread to ask general technical question about the Mayfly v1.1 board.  If you’ve got a basic question such as what are the board’s features or how it differs from previo
      • #16615
        mbullard
        Participant

          Hi Shannon,

          Is there a topic describing changes from Mayfly V1.0 to V1.1?  If not, can you describe?

          Thanks,

          Mike

        • #16616
          Shannon Hicks
          Moderator
            The only difference between versions is stated in the first paragraph of the blog post:  the only major change being the circuit that provides the switchable 12 volt boost output was redesigned t
          • #16617
            mbullard
            Participant

              Thanks!

            • #16745
              Jim Moore
              Participant
                Hi @shicks  I got my 5 pack of the v1.1 boards today and I noticed that:

                • Removed External/Lipo slide switch since it’s no longer needed

                Does that mean I can no longer power th

              • #16746
                Shannon Hicks
                Moderator
                  That is correct, the Mayfly v1.0 and 1.1 boards do not have a separate external power input for 4v to 12v sources like the v0.5b boards.  This is because the main voltage regulator on the v0.5b board
                  • #16805
                    David Lutz
                    Participant
                      Shannon,

                      I ordered several boards in the 1.0 release in the fall as replacements for 0.5 boards that are currently in the field. Our setup for those involved using DIN rails to connect large marine c

                      • #16806
                        Shannon Hicks
                        Moderator
                          Powering the Mayfly v1.0 and v1.1 from the solar jack only would not be recommended because the power input circuit was not designed to operate that way.  The most electrically efficient way is to us
                        • #16810
                          David Lutz
                          Participant
                            Thank you so much Shannon!

                            One very minor last question – for the DIP switch, that would be turning the USB DIP to ‘off’ for the purposes of LED operation, correct? The ‘Power

                          • #16811
                            Shannon Hicks
                            Moderator
                              The dipswitches are mainly there to let people know their board is working during initial testing or desktop deployments.  Anytime a board is deployed in the field as a “sleeping” station
                        • #16752
                          Jim Moore
                          Participant
                            Thanks!  I just ordered two.  My four port sampler project uses 12V motors which draw about 0.4A so I guess that would be an option to use the 12V output and LiPo 3.7V batteries.

                            I assume this conv

                          • #16753
                            Shannon Hicks
                            Moderator
                              As stated on the Details and Spec page, the Mayfly v1.1 can only source about 100mA from the 12v output, so if your motor dra
                            • #16807
                              Jim Moore
                              Participant
                                @shicks.  I tested the converters you recommended and they appear to work as expected:

                                dropout voltage is 8 Volts and will support input voltage to 31.5 V (max on my bench PS).

                                No load draw is 3.64

                              • #16977
                                neilh20
                                Participant
                                  My USB connect to a rev1.1 board appears to be failing.

                                  It was working, and now its stop connecting to the PC, stops even causing an audible ding.

                                  If I take the same USB C cable and plug it in to th

                                  • #16984
                                    Shannon Hicks
                                    Moderator
                                      Are you saying you’ve got a bad cable or a bad Mayfly?  Have you tried a different USB-C cable?  The pins in USB-C connectors and cables are extremely small and are easy to fail.  And when th
                                  • #16985
                                    neilh20
                                    Participant
                                      Suspect Mayfly1.1

                                      The cable I was using also went bad and I’ve marked it as suspect – its a distinctive pink cable.  I’ve inspected the Mayfly USB c on Mayfly1.1 with an Eye Loupe,

                                    • #17282
                                      Dawn
                                      Participant
                                        I need to calculate the expected power consumption for a 10 month deployment, fully battery powered (no solar). Where can I find specs on the Mayfly power consumption? I realize that it will vary depe
                                        • #17283
                                          Shannon Hicks
                                          Moderator
                                            We’ve release several different Mayfly Data Logger hardware versions in the past few years, so I’d need to know which version you’re using.   I’m assuming a v1.0 or 1.1 since
                                        • #17284
                                          Dawn
                                          Participant
                                            Yes, on all those dependencies. I’ve ordered but haven’t received the Mayfly 1.1. I need to choose the sampling interval and battery mAh for the system so that we can get the most data ove
                                            • #17289
                                              Shannon Hicks
                                              Moderator
                                                Mayfly v1.x power usage (with no external sensors attached) and both LED dipswitches off (the brown/white slide switches between the main power switch and the vertical SD card socket) is as follows:

                                            • #17292
                                              Dawn
                                              Participant

                                                Thank you so much, Shannon!

                                              • #17293
                                                RogerS
                                                Participant
                                                  This may have been asked already.

                                                  The Mayfly v1.1 board.  What is the temperature range that this board can stand for a closed up box?   Also, we have the 4400mAh LIPO battery, Operating and charg

                                                  • #17295
                                                    Shannon Hicks
                                                    Moderator
                                                      The components on the Mayfly circuit board are rated to withstand the industrial temperature range of -40C to +85C.  Here in Pennsylvania, our loggers don’t normally see that full range during
                                                  • #17298
                                                    neilh20
                                                    Participant
                                                      For the battery, seems to me there are two engineering approaches, specification and characterization.
                                                      For the specified battery 4400mAh https://www.adafruit.com/product/354
                                                      which has a listed data s
                                                    • #17321
                                                      RogerS
                                                      Participant
                                                        When I first received the Mayfly V 1.1 a few weeks ago, I hooked up the all of the connections: Battery, Solar Panel, and sensor.  Everything worked fine.   Over the last week I have noticed that t
                                                        • #17331
                                                          Shannon Hicks
                                                          Moderator
                                                            As Neil mentioned above, the yellow LED that is labeled SOLAR only indicates when a charge current is being applied to a battery, so if a battery if fully charged (~4.2v), the LED will not be on.  Th
                                                            • #17333
                                                              RogerS
                                                              Participant
                                                                Thanks for the great answers.   These are really helpful.  There are so many things to dig into with this system.  It is easy to miss some of your notes and instructions.   I am finding that it
                                                          • #17325
                                                            neilh20
                                                            Participant
                                                              @rogers1313 my systems only have the Yellow led ON when actually charging. If the battery is charged, not charginng then it is OFF. The description in “Section S”, beneath the pics https
                                                              • #17334
                                                                RogerS
                                                                Participant

                                                                  Thanks for this answer, too.    It is most appreciated.

                                                                   

                                                                   

                                                              • #17385
                                                                Dawn
                                                                Participant
                                                                  I have a new Mayflyv1.1 board and it does not recognize the microSD card (it’s side loaded into the board without any adapter). I am using the mayfly1_TempHumidLight_simpleLogger example with no
                                                                  • #17386
                                                                    Shannon Hicks
                                                                    Moderator
                                                                      As long as the cards are formatted for FAT32 and you can read/write to them with other Mayfly boards or Windows devices, then it’s possible the on-board memory card socket on that Mayfly is brok
                                                                  • #17387
                                                                    Dawn
                                                                    Participant

                                                                      It was ExFAT formatted, now FAT32 formatted and working! It’s great when the fix is so easy. Thank you!

                                                                    • #17598
                                                                      Matt Barney
                                                                      Participant
                                                                        I don’t have a ton of experience reading schematics, so I could be in error here. But FYI, it appears there may be an inconsistency in the I don’t have a ton of experience reading schematics, so I could be in error here. But FYI, it appears there may be an inconsistency in the v1.1 rev A schematic regarding the part number of the LiIon Charger chip. Please see attached screenshot. (Also understanding that these things are a moving target as chip availability changes.)

                                                                        -Matt

                                                                      • #17600
                                                                        Shannon Hicks
                                                                        Moderator
                                                                          The correct part number for U9 is bq24074, as shown in the red text at the top of the schematic symbol.  Apparently the device properties in the Eagle library that I got from Adafruit two years ago f
                                                                        • #17657
                                                                          Braedon
                                                                          Participant
                                                                            How do I switch over to the 12 volt power supply? The Board Features Overview page says the 5 and 12 volt circuits can be accessed from pin D22, but I am having trouble finding that pin. I notice ther
                                                                            • #17668
                                                                              Shannon Hicks
                                                                              Moderator
                                                                                There are multiple sources of power on the Mayfly boards.  There’s 3.3v that’s always on, then there’s a separate 3.3v regulator that can be switched on and off by setting pin D22 h
                                                                                • #17722
                                                                                  Scott Ensign
                                                                                  Participant
                                                                                    On a Mayfly V1.0 Rev A3, is power to the 2X10 analog header controlled by pin 22 or is the header constantly powered? I’m trying to utilize power from the 2X10 analog header while the grove port
                                                                                  • #17723
                                                                                    Shannon Hicks
                                                                                    Moderator
                                                                                      There’s one 3.3v regulator that’s always powered on the Mayfly (anytime the Mayfly power switch is ON, even if the processor is put to sleep), and that can be found along the top (inward e
                                                                                • #17691
                                                                                  Jim Moore
                                                                                  Participant
                                                                                    @shannon I am setting up a new sensor station using the hydros 21 (due in tommorow) but I am not using the turbidity sensor.  I deleted that se
                                                                                  • #17692
                                                                                    Sara Damiano
                                                                                    Moderator

                                                                                      @w3asa Did you look at this example: https://github.com/EnviroDIY/ModularSensors/tree/master/examples/DRWI_Mayfly1. I think it’s almost exactly what you want.

                                                                                      • #17694
                                                                                        Jim Moore
                                                                                        Participant

                                                                                          Thanks!  I’ll plug that into my code.

                                                                                          -jim

                                                                                          • #17695
                                                                                            Jim Moore
                                                                                            Participant

                                                                                              @shannon I noticed that the specs for the Hydros 21 indicate 4.0 volts minimum.  The junper on the Mayfly board is set for 3.3 V.  Would you recomend changeing that to 5.0 Volts?

                                                                                            • #17696
                                                                                              Shannon Hicks
                                                                                              Moderator
                                                                                                The sensor manufacturer has assured me that the sensors will work at 3.3v, and we’ve had experience with hundreds of them and concur, but they’ll also work just fine with the jumper set to
                                                                                          • #17845
                                                                                            Braedon
                                                                                            Participant
                                                                                              How do the analog pins found on the 20-pin header (pins A0, A1, A2, etc.) differ in function and purpose from the auxiliary analog pins (AA0, AA1, etc.)? From what I’ve seen, you need to connect
                                                                                              • #17847
                                                                                                Shannon Hicks
                                                                                                Moderator
                                                                                                  The ATmega1284P processor of the Mayfly is similar to other basic Arduino boards with the 324P processor in that it has an internal 10-bit Analog-to-Digital converter (ADC).  There are 8 ADC pins on
                                                                                                  • #17850
                                                                                                    Braedon
                                                                                                    Participant
                                                                                                      Okay, thank you Shannon! I have a follow-up question. So when using the AuxAnalog pins, from my understanding you have to multiply the digital signal by 0.1875 to convert it to a millivolt reading. Wo
                                                                                                    • #17851
                                                                                                      Shannon Hicks
                                                                                                      Moderator
                                                                                                        The calculation for the conversion of analog bits to voltage depends on the operational voltage of the system (3.3v in our case) and the resolution of the ADC.  You can see an example calculation (an
                                                                                                      • #17855
                                                                                                        Braedon
                                                                                                        Participant
                                                                                                          I am confused on how we get the 0.1875 conversion factor for the 16-bit ADC. Does it operate on a different voltage? In my mind, if the board operates at 3.3 volts and there are 65,535 bits, then you
                                                                                                        • #17857
                                                                                                          Shannon Hicks
                                                                                                          Moderator
                                                                                                            The ADC example I linked above from Sparkfun applies only to the onboard 10-bit ADC of the ATmega1284 processor.  For the ADS1115 auxiliary ADC on the Mayfly board, the formula on the Sparkfun page d
                                                                                                          • #17868
                                                                                                            Braedon
                                                                                                            Participant
                                                                                                              Is the 3.3 V for the 10-bit ADC on the Mayfly a value that is fixed, or can it be changed? I don’t know if this is related or not, but does the ADC voltage come from the default analog reference
                                                                                                            • #17870
                                                                                                              Shannon Hicks
                                                                                                              Moderator
                                                                                                                The analog reference voltage (AREF) pin of the ATmega1284P is broken out to the left-hand 2×10 header if you wanted to apply a voltage other than (and less than) 3.3v.  If you leave it floating
                                                                                                              • #17871
                                                                                                                Braedon
                                                                                                                Participant
                                                                                                                  Okay, gotcha. It’s of interest for me because I am looking at attaching multiple apogee pyranometers and pyrgeometers to the Mayfly that are all analog outputs. Because the pyrgeometers also req
                                                                                                            • #17873
                                                                                                              neilh20
                                                                                                              Participant
                                                                                                                There is some onchip references, but maybe not useful. From the manual mega164A_PA-324A_PA-644A_PA-1284_P_Data-Sheet-40002070B.pdf   (applies to the mega1284)

                                                                                                                Chp 23.2: “<span class=”

                                                                                                              • #17874
                                                                                                                Shannon Hicks
                                                                                                                Moderator
                                                                                                                  Reminder quote from the first post of this thread:   If you’ve got a basic question such as what are the board’s features or how it differs from previous versions, this is the place to a
                                                                                                                • #18049
                                                                                                                  neilh20
                                                                                                                  Participant
                                                                                                                    Hi @shicks, just received two Mayfly 1.1 and noticed they are rev1.1B – just wondering what the differences are from  rev1.1A? 🙂

                                                                                                                    I did pull the circuit diagram from https://www.envirodiy.org/

                                                                                                                    • #18055
                                                                                                                      Shannon Hicks
                                                                                                                      Moderator
                                                                                                                        The only differences between the v1.1 revA and revB are this:

                                                                                                                        The ICSP jack was a 2×3, 0.5″ pitch male pin header on Mayfly v1.1 revA.
                                                                                                                        The ICSP jack is now uses Tag-Connect pads for use wi

                                                                                                                    • #18056
                                                                                                                      neilh20
                                                                                                                      Participant
                                                                                                                        Many thanks got it. I appreciate the effort and detail that goes into producing a new production run. The pogo pin connector is great and so simple.

                                                                                                                        Got the .pdf – I copied the .jpg instead of

                                                                                                                      • #18109
                                                                                                                        rachaelchertok
                                                                                                                        Participant

                                                                                                                          Hello! I was wondering if the Mayfly has the ability to communicate with other Arduinos, preferably the Nano?

                                                                                                                          Thank you in advance!

                                                                                                                          • #18110
                                                                                                                            Shannon Hicks
                                                                                                                            Moderator
                                                                                                                              It depends on what you mean by communicate.  Are you wanting to transmit data wirelessly between a Mayfly and another Arduino-compatible device?  Or are you meaning a direct cable connection between
                                                                                                                          • #18214
                                                                                                                            mbullard
                                                                                                                            Participant
                                                                                                                              Hi,

                                                                                                                              What is the maximum recommended amps from a 6 volt solar panel to the V 1.1 board?  Is this different for previous boards?  There are two solar inputs–are these the same input but differe

                                                                                                                              • #18215
                                                                                                                                Shannon Hicks
                                                                                                                                Moderator
                                                                                                                                  The very bottom-left corner of the schematic for board v1.1 mentions the two charge rates, which you can control using solder jumper SJ15.  Here’s the description of that jumper from the

                                                                                                                                  • #18216
                                                                                                                                    mbullard
                                                                                                                                    Participant

                                                                                                                                      Shannon, thank you.  I will keep it at 500 mA, while increasing the solar panel wattage to provide more hours of charging at 500 mA.

                                                                                                                              Viewing 31 reply threads
                                                                                                                              • You must be logged in to reply to this topic.