I purchased a timed air freshener kit which makes the motor spin when the switch (SW1) is pressed. I have created a schematic based on the diagram in the instructions (pdf).
simulate this circuit – Schematic created using CircuitLab
At the moment the circuit will run the motor once per switch press. How would I modify the circuit to make the motor "turn on and off" multiple times per switch press?
Requirements:
- Continuous "on and off" motor cycles when switch is in ON state (currently the switch is a push button, thinking I should replace this with a toggle to make sure it is either ON or OFF)
- Motor should turn on for 1 second
- Motor should turn off for 5 minutes
If it's possible I would like to control both these periods using a variable resistor. R3 in the diagram is actually a variable resistor which controls the length of time the motor stays on for.