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

Shannon Hicks

Forum Replies Created

Viewing 10 posts - 481 through 490 (of 568 total)
  • Author
    Posts
  • in reply to: High Resolution Mayfly Photos #2092
    Shannon Hicks
    Moderator

      I’ve taken hundreds of photos of the various versions of the boards, but we only post the resized photos here on the website. I think the highest resolution one currently online is this one:

      http://envirodiy.org/wp-content/uploads/2016/05/20160508_134514-001.jpg

      I can certainly upload some other photos if you’d like a different angle or with other accessories like what comes with the Starter Kit.

      I just finished taking photos of the new version 0.5 board that should be available on Amazon any day now, so I’ll be sure to put a high-res version online in case anyone wants that too.

      in reply to: Atlas Scientific EZO logging program #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’t do anything with D10 other than use the D10-D11 grove port for connecting your sensor?

        in reply to: Mayfly availability #2087
        Shannon Hicks
        Moderator

          We’ve been busy getting the Mayfly and starter kits back in stock, so now that they’ll be online any day now, we can work towards getting the proto boards listed, so look for those in early April.

          in reply to: Mayfly availability #2079
          Shannon Hicks
          Moderator

            For anyone wanting an update on the Mayfly availability, the boards arrived at my office last week from the manufacturer, and after thorough testing of each one, I sent off the first shipment of them to Amazon. Once Amazon has incorporated them into their fulfillment system, the product listings will show that they are in stock and can then be purchased. In the meantime, I’ll be working on updating the documentation on this site to include information about the new features and specifications of this version (v0.5).

            in reply to: Sleep Mode Low Power. #2058
            Shannon Hicks
            Moderator

              There are several different methods you can use to wake a sleeping processor using a realtime clock. The example I posted uses the method of triggering an interrupt pin on the processor by using a quick pulse that the RTC puts out every minute. By doing this, the processor can wake up each minute and then it’s up to the user’s code to examine the current time and either do something or go back to sleep and wait another minute. I used this example since it’s the easiest for other people to choose whether they want to do something every minute or every 5 minutes or any other interval. You could certainly wake the processor only at select times by using the alarm feature of the RTC. It looks at the current time (3:30 for example), then adds a specific interval (15 minutes) to determine what time the next wakeup event should be (3:45), then puts the processor to sleep and it won’t wake up again until that interrupt at 3:45. There are some other Arduino libraries that you can use for interacting with the RTC and setting alarms instead of using the Sodaq_DS3231 library that I used in that example. Just search the web for example sketches for setting alarms on the DS3231. Keep in mind that the Mayfly board’s default pin is A7 for reading the square wave alarm output from the DS3231, which is why you also need the Sodaq_PcInt library (this library allows other pins to be used as interrupts besides the board’s regular hardware interrupts of D0, D1, and D10). If you really want to use a hardware interrupt instead of the pin change interrupt, you can modify the solder jumper SJ1 on the back of Mayfly boards version 0.4 and greater by cutting the trace to the A7 pad and solder jumpering to the D10 pad.

              But I prefer to just wake it up every minute since it’s simpler for my purposes. When using this method, the processor is really only awake for a few milliseconds each minute, and it’s so quick that you can’t see it when looking at the board’s current draw on an ammeter. So waking a Mayfly for a few milliseconds each minute really has no greater draw on the overall power consumption than than letting it sleep continuously and only waking at longer intervals.

              in reply to: Dying battery in winter solved by 3.5 W solar panel #2051
              Shannon Hicks
              Moderator

                I’m not sure where you saw something that said the Mayfly only supports a 2.5W panel, because that’s not accurate. The only limiting thing is the voltage that the panel produces — the Mayfly only works with panels with an output voltage of 6 volts. If you use a solar panel with a 9v or 12v output, you will damage the Mayfly.

                The reason for the voltage limitation is the MCP73831 charge controller chip on the Mayfly board. It can’t handle input voltage above 6 volts. It also has a maximum useful input current of 500ma, so if you do the math (Ohm’s law) you can calculate that a 3-watt panel will provide 500ma of current. So for sunny locations, any panel that supplies more than 3 watts is overkill. If you are in a shady location, or in areas that don’t get at least an hour of direct sunlight, then using a larger panel like the 3.5-watt (https://www.voltaicsystems.com/3-5-watt-panel), 6-watt (https://www.voltaicsystems.com/6-watt-panel), or even 9-watt (https://www.voltaicsystems.com/9-watt-panel) might be useful. The 9-watt panel puts out 3 times more current than the Mayfly can use (1500ma) but if your logger is really shaded, then the efficiency of the panel drops significantly, but even at 33% output, it would give same power as a 3W panel in full sunlight, and the maximum useful current the Mayfly will accept.

                We usually use the 2-watt panel (https://www.voltaicsystems.com/2-watt-panel) in almost all of our locations because they are sunny enough to keep the battery charged. But in a few areas we use the 3.5-watt and have had great results, so we’ve never needed to use anything higher than that.

                If you’ve already got a 12-volt deep cycle battery and separate 12v panel and charge controller, then it probably makes more sense to power your Mayfly board from the 12v battery and not use a 3.7v LiPo to power the Mayfly, and then you don’t have to use a separate 6v panel just for the Mayfly. To power the Mayfly from 12v, you have to use a 12v-to-5v adapter like this one (https://www.amazon.com/HitCar-Inverter-Converter-Recorder-Straight/dp/B00U2DGKOK) and plug it into the microUSB port on the Mayfly. There is an external battery header (unpopulated) on the Mayfly (version 0.3 and 0.4 boards), but it has a maximum input voltage of 5v. The upcoming Mayfly version 0.5 will be able to accept a connection directly 12v batteries, but for the older boards, you’ll need to use the 12v-to-5v adapter. It’s easiest to use the ones that have the microUSB connector on them, but you could also use one with bare wires and connect that to the external battery header using a polarized 2-pin connector with 0.1″ pitch.

                in reply to: Mayfly availability #2027
                Shannon Hicks
                Moderator

                  I am still awaiting the shipment of the latest order from the manufacturer. They had a 3-week holiday last month that put their production almost a month behind schedule. I also had do to an extra round of prototype testing in January because we’ve added and changed a few things on the new v0.5 board. Once I get the new boards, I thoroughly test and program each one, then box them up as either bare boards or kits, and ship them to Amazon for fulfillment, which will hopefully be later in February. Amazon is our only distributor right now, but we are still investigating other options for international sales.

                  in reply to: Atlas Scientific EZO logging program #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 higher because I thought it might come in handy for people who had interrupt library complications. But it works just fine if you simply use the modified libraries instead.

                    I’m still waiting for the shipment of boards from the manufacturer, but hope to have them and the protoshields on Amazon by the end of the month.

                    in reply to: Atlas Scientific EZO logging program #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 the modified versions of the libraries we posted in our Github repo, along with modifying the library names in your sketch in 3 places. Plus you’ll need to change the pins for your Atlas sensors to use 10 and 11 instead of 6 and 7. This is because the SoftwareSerialMod library ignores interrupts on the port that includes all of the analog pins (where the DS3231 interrupt is on A7) and it ignores pins D0-D7. This allows people to use the SDI12_Mod library to look at SDI12 sensors on pin D6 or D7.

                      So download all of the libraries from our repo: https://github.com/EnviroDIY/Libraries/tree/master and be sure to follow the instructions on that page about how to download the .zip file from the tree and not use the green “clone or download” button.

                      Once you have the libraries installed, restart you IDE and then modify the top section of your code to point to the new library filenames and update the pin numbers. It’ll look like this:

                      I compiled your code with the above changes and get no errors.

                      Or if all of this is too complicated, and you have Mayfly board v0.4, you can simply cut the trace on the back of the board on JP1 to change the clock interrupt from A7 to D10, so you can use the board’s third hardware interrupt pin to wake it up instead of using the PcInt pin change library. Then you can remove all reference to the PCInt library from your sketch, change the wakeup pin from A7 to 10, and then use the regular SoftwareSerial library, and putting your sensors back on D6-7. Another user brought this issue up recently: http://envirodiy.org/topic/low-power-project/

                      in reply to: LCD Display Mayfly #2004
                      Shannon Hicks
                      Moderator

                        First you have to download the Arduino library for the SSD1306 by following the link on the Amazon listing to the manufacturer’s site which will then let you get to their own product listing: http://store.switchdoc.com/grove-128×64-i2c-oled-board-for-arduino-and-raspberry-pi/
                        On that page there’s a link to their library on Github:
                        https://github.com/switchdoclabs/SDL_Arduino_SSD1306
                        Install that library and run the example sketch that comes with it. Simply connect the OLED display to the I2C port of the Mayfly and the demo text and graphics will be displayed on the screen.

                      Viewing 10 posts - 481 through 490 (of 568 total)