Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust Watering time as function of solar charging #1

Open
epccs opened this issue May 9, 2019 · 0 comments
Open

Adjust Watering time as function of solar charging #1

epccs opened this issue May 9, 2019 · 0 comments

Comments

@epccs
Copy link
Owner

epccs commented May 9, 2019

Irrigation should be a function of the solar power received. At present, the firmware runs the valve and counts flow pulses from a flow meter while the state machine cycles. It is crude but seems to work. Each garden zone gets watering cycles for an amount of runtime_sec every delay_sec after morning, when the day-night state machine loads the solenoid state machine from EEPROM. The solenoid states begin to cycle after a delay_start_sec that is used to offset each zone's operating time (e.g., starts the operation out of phase.)

https://github.com/epccs/Irrigate7/tree/master/Solenoid

I am thinking about measuring the Amp hours (more likely mA*hours) and using that to adjust the irrigation time somewhat. The idea is that the plants drink more water as the sun lines up with the photovoltaic.

The soil will buffer some water near the surface, but it only takes a short while for the drip emitter to dump more than capillary action can hold. Depending on soil structure the water soon sinks below the root zone for my garden plants. Once the water has gone too deep, it is lost. Dripping ten cycles once per hour for a tenth of the day's usage keeps the water near the surface where the plants can sip on it.

The plants drink the most when the sun is overhead, and they are doing the maximum activity, and less in the morning and evening. The battery charge is also a function of how overhead the sun is why not use that information to add watering time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant