Hi, I'm working on my graduation project which is 1-axis solar tracker - self cleaning. A 5V, 1A uni-polar 8 wire stepper motor is used to drive a 100W, 12V solar panel to track the sun. I have the code & it is working fine with 3 LDRs connected to Arduino UNO R3.
Now I'm moving to the next step which is fixing a dc or stepper motor & a small electric water pump to wipe the solar panel. Exactly,, the small electric water pump should spray water for 5 seconds at the same time the wiping motor should run for 15 seconds to wipe the solar panel. They should start at the same time. This operation should perform only once every 24 hours.
How can i write this code.