Time Controlled Sprayer
Budget: $30 – $250 USD
I am looking to have an Arduino controlled Sprayer. The will consist of an Arduino Nano, a small water pump, relay, small LCD screen, 18650 battery to control the unit with a module to charge and discharge the battery safely. I have all the parts I want to use I only need the programming for the Arduino Mini completed.
The Plan is to have 4 buttons:
1) Mode
2) Down
3) Up
4) Start
I would like the LCD to display "Welcome" when unit is first turned on, then give the user the ability to set 3 different timers. The first is a delay timer that once it reaches zero starts the 2nd timer. The 2nd timer will count down to zero and trigger the relay to activate the pump, the third timer is how long the relay is active and the pump is pumping. Once the pump is done pumping then timer 2 starts again and repeats the process. The delay should only happen one time, at the beginning.
When selecting the value for timer 1 and 2, I would like hours and minutes selectable, not seconds. No value should be allowed to go below 0 and only the delay function (timer 1) should be allowed to be set at 0. For the length of time the relay is active and the pump is on seconds should be the only option.0
Unless you have a better suggestion the timer menu should flow from Delay, Interval, Spray Length, then the start button would run the program. The display would show the timer and label it as either the delay or countdown until next spray. The plan is to have the program stop once the unit is turned off and everything resets again.
I have attempted to do this myself using Tinkercad but I've never programmed Arduino before and It will likely take me too long to learn it for this simple project. If you are interested in the project, I can send amazon links to the relay, battery controller and LCD I have.
The Plan is to have 4 buttons:
1) Mode
2) Down
3) Up
4) Start
I would like the LCD to display "Welcome" when unit is first turned on, then give the user the ability to set 3 different timers. The first is a delay timer that once it reaches zero starts the 2nd timer. The 2nd timer will count down to zero and trigger the relay to activate the pump, the third timer is how long the relay is active and the pump is pumping. Once the pump is done pumping then timer 2 starts again and repeats the process. The delay should only happen one time, at the beginning.
When selecting the value for timer 1 and 2, I would like hours and minutes selectable, not seconds. No value should be allowed to go below 0 and only the delay function (timer 1) should be allowed to be set at 0. For the length of time the relay is active and the pump is on seconds should be the only option.0
Unless you have a better suggestion the timer menu should flow from Delay, Interval, Spray Length, then the start button would run the program. The display would show the timer and label it as either the delay or countdown until next spray. The plan is to have the program stop once the unit is turned off and everything resets again.
I have attempted to do this myself using Tinkercad but I've never programmed Arduino before and It will likely take me too long to learn it for this simple project. If you are interested in the project, I can send amazon links to the relay, battery controller and LCD I have.