- This topic has 1 reply, 2 voices, and was last updated 2020-04-01 at 8:16 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 › State Logging?
Hi Everyone!
Has anyone used a Mayfly to do any state logging? As in, using the Mayfly to trigger other sensors, or devices depending on monitored variables?
Or, having a Mayfly at the end of the line of a state-logger and data sent via the MMW route?
-Evan
Hi Evan, I worked with Bobby Schulz to develop the https://github.com/EnviroDIY/Trigger library to un-inhibit an ISCO water sampler when turbidity was measured above a certain value. https://github.com/EnviroDIY/Trigger/tree/master/hardware/ISCO-Mayfly-Trigger
The Trigger library is quite generic, as it will send a pulse or change the polarity on a Mayfly pin based on any measured value crossing any threshold. It can thus be used to control an external device, such as a latching switch (which maintains it’s state even when the Mayfly goes into low power sleep). See https://github.com/EnviroDIY/Trigger/tree/master/hardware
To use with the EnviroDIY Modular Sensors library, you must “unpack” the dataLogger.logDataAndPublish(); function in the loop, as is shown at the bottom of the menu_a_la_carte.ino example (which is commented out by default): https://github.com/EnviroDIY/ModularSensors/blob/master/examples/menu_a_la_carte/menu_a_la_carte.ino
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.