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

Braedon

Forum Replies Created

Viewing 10 posts - 21 through 30 (of 35 total)
  • Author
    Posts
  • Braedon
    Participant

      I was! For some reason my Adafruit folder didn’t include the ADS1015.cpp and ADS1015.h files. I have my library up to date now though and it’s working great. Thanks!

      in reply to: Mayfly v1.1 technical questions forum thread #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 require adjustments based on an internal thermistor reading, it would require more than 4 analog pins, so I am just seeing if I could get a decent resolution from the 10-bit ADC on some of the sensors while the rest operate on the 16-bit ADC.

        in reply to: Mayfly v1.1 technical questions forum thread #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, or is it completely different? Could the analog reference voltage be lowered, using the analogReference() function, giving us a higher resolution as a smaller voltage is spread over the same amount of bits? Again, I don’t know if that is what the ADC voltage is tied to, but it is something that was brought to my attention, and I wanted to see if that’s a possibility or not.

          in reply to: 2022 EnviroDIY Hardware Status and Availability #17866
          Braedon
          Participant

            I’m wondering when the LTE Bee modules and RS-485 adapters will be in stock. Thanks!

            in reply to: XBee Networks of Mayfly Loggers – 900Mhz #17862
            Braedon
            Participant

              I am very new to the world of electronics and circuit boards. I am a graduate student of civil engineering looking to deploy snow sensing stations using the Mayfly. They will be satellite stations around an existing piece of infrastructure that already has radio communication set up with Campbell Scientific data loggers. I don’t think the network needs to be anything too advanced. I believe I just need communication between two RF modules, sending data from the satellite station to the Campbell Scientific data logger. I’ve been reading manuals and watching videos, and they have been helpful, but it’s easy to get lost in the sea of information when you are just starting out.

              The XBee Pro S3B is just what I have at the moment. I am not familiar with all the differences in modules and what the advantages and disadvantages are.

              in reply to: XBee Networks of Mayfly Loggers – 900Mhz #17861
              Braedon
              Participant

                Okay, so this is what I have now for my sender code:

                 

                And this is what I have for my receiver code:

                 

                 

                I am still getting a -1 value printed to my serial port. If everything looks right on the coding side of it, then maybe I just need to double-check/reconfigure the modules in XCTU.

                in reply to: XBee Networks of Mayfly Loggers – 900Mhz #17858
                Braedon
                Participant

                  Hello, I am new to using Mayflies and XBee modules, so I’m hoping I can get some help here since the modules I’m planning on using are the 900 MHz XBee Pro S3B. Programming the modules correctly in the XTCU is something I don’t entirely grasp, but for the moment I will focus on programming the Mayfly.

                  Right now I am just trying to get two Mayflies to send/receive temperature measurements from the Mayfly’s built-in temperature sensor. This first bit of code is for the Mayfly making the measurement and sending the data. The green LED (pin 8) is just so I can easily tell that the Mayfly is running the loop when I have it plugged into a wall.

                  This next bit of code is for the Mayfly receiving the data and then printing it to the serial monitor so that I can verify that it is indeed receiving the data.

                  Right now my serial monitor just prints out a bunch of -1 values. Any help is appreciated. Thanks!

                  in reply to: Mayfly v1.1 technical questions forum thread #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 would be multiplying the analog reading by 3300 mV / 65,535 bits, which is 0.050 mV / bit.

                    I’m asking because I am looking at connecting two apogee thermopile pyranometers and two thermopile pyrgeometers to the Mayfly (which will require more than four analog pins), and I am curious if the 10-bit ADC would have sufficient resolution for some of the sensors. Once I know how many millivolts are represented in each bit, do I just compare the ADC resolution with the sensors’ sensitivity, or what is the best way to make sure that I am using an ADC that has a good enough resolution for my sensor?

                    in reply to: Mayfly v1.1 technical questions forum thread #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. Would you need to do the same if you were to use the other analog pins (A0, A1, ,etc.), or is the 0.1875 value unique to the ADS1115 ADC?

                      in reply to: Mayfly v1.1 technical questions forum thread #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 analog sensors to the auxiliary analog pins and use an Adafruit library to get the millivolt readings because of an ADC they are connected to. I’ve successfully done this, and it has worked great, but I guess I’m curious what the other analog pins (A0, A1, etc.) on the 20-pin header are used for and what type of sensor outputs would be used on them.

                      Viewing 10 posts - 21 through 30 (of 35 total)