Create an Arduino program that manages a washing machine where:
a. There is a Fill – Controlled by an RC circuit.
b. There is a Wash – Controlled by an RC circuit.
c. There is a Spin/rinse – Controlled by an RC circuit.
d. Then are Empty timers between Wash and Spin/rinse - Controlled by an RC circuit.
There should be a START that starts the process.
There should not be a pause if the door lid is open.
There should be an indicator light for each step in the wash cycle.
When the final spin is done, a DONE_BUZZER should sound, and a light should flash.
Use an Arduino timer using a timer interrupt.
There needs to be a RESET, which can reset the wash cycle.
When the Fill cycle is active, or the Rinse is active, then a FILL_VALVE is energized to allow water into the washing machine. The FILL_VALVE should only allow water to flow for 5 seconds.
You need to use an I2C LCD display to state in English what state the washing machine is in.
The DONE_BUZZER cannot activate while the EMPTY_VALVE is energized.