- This topic has 1 reply, 2 voices, and was last updated 2025-08-22 at 9:15 AM by .
- You must be logged in to reply to this topic.
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. Home › Forums › Mayfly Data Logger › MayFly Pin On/Off Communication
I am using a MayFly to control pumps in a water sampler to pump water for specified timeframes. I have the battery powering the pumps and a converter to power the board.
I have my hardware system set up, and I have checked the voltages and battery and pins throughout the system, with reason to believe that my problem is not because of any wiring. The pumps should be controlled by turning on and off their corresponding pins on the control board. The problem is that whenever the pumps are plugged into the system and the Arduino control board is on, the pumps are on. The pumps do not acknowledge any instructions when I upload code that should be controlling when the pins have power, such as a ‘Delay’ command or ‘LOW.’ The Arduino board does acknowledge when I upload new code by blinking lights, but the pumps do not listen. The pumps just turn on whenever they are plugged into power and the Arduino board is on. This leads me to believe there is something pre-programmed onto the board that is causing this behavior?
I have verified that the converter to control on/off has the correct 4V power and the battery is separately providing 12V.
Thank you for any guidance.
What is the control board that you’re using between the Mayfly and the pumps? Something with some relays? How is it connected to the Mayfly? Via Grove cables or the 2×10 header pins? Can you post some photos of the setup, or maybe a wiring diagram?
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Websites store cookies to enhance functionality and personalize your experience. You can manage your preferences, but blocking some cookies may impact site performance and services
Essential cookies enable basic functions and are necessary for the proper function of the website.
CleanTalk offers effective spam protection and website security solutions to enhance user experience.
Service URL: cleantalk.org (opens in a new window)
CloudFlare provides web performance and security solutions, enhancing site speed and protecting against threats.
Service URL: developers.cloudflare.com (opens in a new window)
These cookies are needed for adding comments on this website.
These cookies are used for managing login functionality on this website.
WooCommerce is a customizable eCommerce platform for building online stores using WordPress.
Statistics cookies collect information anonymously. This information helps us understand how visitors use our website.
Google Analytics is a powerful tool that tracks and analyzes website traffic for informed marketing decisions.
Service URL: policies.google.com (opens in a new window)
SourceBuster is used by WooCommerce for order attribution based on user source.
You can find more information in our Cookie Policy and Privacy Policy.