Hey,
I am using a REED SWITCH with on one side that is connected to a battery and on the other side to a GPIO on micro-controller (ATTINY814)
Does the circuit consume current when the reed switch is on or off? Even when the microcontroller is in idle state (Sleep Mode)? If so, how much current you assume?
Is it possible to make a configuration in which the microcontroller is in sleep mode and no current is being drawn unless the microcontroller awakes? (even when the reed switch is on)..
* FYI provided a drawing of the circuit.
I am using a REED SWITCH with on one side that is connected to a battery and on the other side to a GPIO on micro-controller (ATTINY814)
Does the circuit consume current when the reed switch is on or off? Even when the microcontroller is in idle state (Sleep Mode)? If so, how much current you assume?
Is it possible to make a configuration in which the microcontroller is in sleep mode and no current is being drawn unless the microcontroller awakes? (even when the reed switch is on)..
* FYI provided a drawing of the circuit.