In adding an ON/OFF switch to my Arduino project, I’m looking to implement a circuit that creates a timed delay following the switch being moved to the OFF position for the Arduino to do some clean-up before losing power.
I received some advice to add a resistor-capacitor circuit (2.2k ohm & 100microfarads)
The resistor and capacitor sit in series in a circuit parallel to the Arduino and battery circuit so that the Ardiuno-capacitor-resistor circuit remains closed when the switch is flipped to OFF. When toggling the switch back and forth however, I see no delay from the Arduino’s ‘ON’ LED.
Any help or advice is greatly appreciated… I am not very well electrically versed.