[TriEmbed] "Latching" device

Bill Farrow bill at arrowsreach.com
Thu Apr 10 08:31:23 CDT 2014


I was wondering if there is a "tricky" way you could do this using
only a single pin, a capacitor, and a resistor.

When the push button connects it charges the capacitor. The MCU pin,
configured as an input, can read the state of the capacitor. When the
MCU wants to reset the latch it can change the pin to an output and
set it to 0 (low) which discharges the capacitor to ground via the
resistor.

Let's see how bad my ascii art is:

mcu pin --- resistor --- switch --- 3.3v
                             |
                       capacitor
                             |
                           GND

Bill




More information about the TriEmbed mailing list