I am designing a system that drives on relay. I have to control the relay with ON/OFF button.
Once I press ON the relay should close and drive the circuit for 1 second and wait for 30 seconds before it loops for 1000 times.
I know how to design the electronics, I am planning to drive the relay by driving FET or transistor in series to relay and ground,
but I am having hard time to decide if I should use one of the crystal clocks, PWM function or delay commands.
I am learning so extra help like links or code examples would be appreciated.