Re: Need a Comparator that will ignore glitches
- From: John Fields <jfields@xxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 12 Jan 2007 05:45:39 -0800
On Fri, 12 Jan 2007 05:25:31 -0800, John Fields
<jfields@xxxxxxxxxxxxxxxxxxxxx> wrote:
Vcc
k = ln -----------
Vcc - Vth
Arbitrarily setting R1 equal to R2 will make Vth half of Vcc so, if
Vcc is 5V, Vth will be equal to 2.5V. Then:
5V
k = ln ----------- ~ 0.92
5V - 2.5V
---
Oops...
k = ln 2 ~ 0.69
Now, since:
T = k Rt Ct,
if we arbitrarily choose Ct as being 0.1µF and use the OP's 100ms
delay we can rearrange to solve for Rt:
T 0.1s
Rt = -------- = -------------- ~ 1.1 megohms.
k * Ct 0.92 * 1e-7F
---
Oops...
0.1s
Rt = --------------- ~ 1.5 megohms
0.69 * 1E-7F
--
JF
.
- References:
- Need a Comparator that will ignore glitches
- From: pfitz
- Re: Need a Comparator that will ignore glitches
- From: Ancient_Hacker
- Re: Need a Comparator that will ignore glitches
- From: John Fields
- Need a Comparator that will ignore glitches
- Prev by Date: Start up of microcontroller fails
- Next by Date: Re: Start up of microcontroller fails
- Previous by thread: Re: Need a Comparator that will ignore glitches
- Next by thread: Re: Need a Comparator that will ignore glitches
- Index(es):