I would like to use a press button to generate an instant signal, and then timer start to count and the heater will heat for 5 seconds. Within this 5 seconds, whatever I press button how many time or press down for long time, the timer will not be disturbed.
After 5 second, there are 10 seconds cooling times. Within this 10 seconds, whatever I press button how many time or press down for long time, the heater and timer will not have any response.
After 10 seconds, the system can be active again.
If I press down for very long time, the heat will heat 5 seconds then cooling 10 seconds periodically.
In fact, my final goal is replace the press button by a light sensor to turn on the system. Therefore, I need the cooling time to protect the heat over heat when the sensor is accidently covered.