- Tue Aug 07, 2018 2:04 pm
#199967
Hello all,
I'm looking for a clever way to turn a momentary button into a 2-state toggle switch using a bit of hardware (and software if necessary). The SPST switch I'm currently using is far too small and makes it difficult to control when in the field, so I'd like to move over to a push button. The module I've made runs off of a 1S lipo battery (<4v) and draws a small amount of amperage (<<200mA).
I've seen a few mock ups using a secondary microchip like the ATtiny4 to act as a kind of a relay as well as some bulkier hardware schematics, but before testing this all myself I'm hoping someone here can lend a bit of experience.
There's not a ton of extra space on the board, so bonus points for a compact design.
Thanks,
Twain
I'm looking for a clever way to turn a momentary button into a 2-state toggle switch using a bit of hardware (and software if necessary). The SPST switch I'm currently using is far too small and makes it difficult to control when in the field, so I'd like to move over to a push button. The module I've made runs off of a 1S lipo battery (<4v) and draws a small amount of amperage (<<200mA).
I've seen a few mock ups using a secondary microchip like the ATtiny4 to act as a kind of a relay as well as some bulkier hardware schematics, but before testing this all myself I'm hoping someone here can lend a bit of experience.
There's not a ton of extra space on the board, so bonus points for a compact design.
Thanks,
Twain