Is there some simple method to build a long press detect circuit using a mechanical switch? using capacitors may be?
100 k resistor in series with 100uF capacitor and voltage comparator.
Kunal_Gupta:
Is there some simple method to build a long press detect circuit using a mechanical switch? using capacitors may be?
Why bother with r/c networks and voltage comparitors when it can been done in software? Every Arduino supports the millis() function call which is all you need to determine how long a switch is activated. Best of all, the software has already been written for you.