jackorocko
- Apr 4, 2010
- 1,284
- Joined
- Apr 4, 2010
- Messages
- 1,284
Ah, I see now. What you want to do is arrange some logic to do the latching for you.
You'll need a way to reset it (probably when power is first applied, and at other times as required)
To do this, you should look at flip-flops -- there are many different types, but the very simplest will do the trick for you. Unfortunately you'll have to construct one from a pair of OR gates (4071) but this is trivial to do.
There are flipflops available in packages, but they are generally clocked, so they won't do exactly what you want. Anyway, it's fun to make your own
The modification I have suggested you try will eliminate the need for a schmitt trigger, but it's worth doing some research on them anyway.
Ok, so now that we on the same page again. LOL
I got to thinking about your comments on using the LDR as a reset. It made a lot of sense to me and I think I have come up with a better plan then I had before. Instead of holding the MR high, why not just let it oscillate.
Now I am using an LM339 quad comparator. So it got me thinking, why couldn't I use one bridge and two comparators, hook them up so that when the LDR is 'tripped' the one comparator would reset the 4060(reset the timer to zero) and the other comparator would drive the alarm. I suppose I could use logic gates to do the latching which would overall make the design streamlined instead of a bunch of bulky relays.
does this design model seem plausible? Also, would it still be better to use positive feedback on both comparators or one or none?
Note I haven't figured out the logic gates yet, But with all the possible combinations it shouldn't be that hard, I hope