Question about comparator and 555 timer circuit

Anything non-technical you want to talk about, talk it over and have beer ...

Question about comparator and 555 timer circuit

Postby miyayoung » 28 Jul 2017, 10:53

I'm designing my first circuit for a university project.

This circuit will check the voltage of two sensors. If both are over a reference voltage and persist as such for more than one second, a relay will switch on. Until I switch off the entire circuit by pushing the master switch, the relay must be closed.

I'll using op-amp LM393 for the two comparators, NE555 with the RC circuit (charging of capacitor lasts one second), the AND gate to verify both the conditions of the comparators, and the OR gate to maintain the power to the NE555 until I switch the master switch.

In your opinion will it work?

The power supply of the op-amp and the gates is taken from +VBAT.
miyayoung
 
Posts: 1
Joined: 28 Jul 2017, 10:50
Has thanked: 0 time
Have thanks: 0 time

Re: Question about comparator and 555 timer circuit

Postby deltafred » 28 Jul 2017, 11:58

Without seeing your proposed schematic it is difficult to say if it will work or not. As long as you get your logic correct there is no reason why it shouldn't.

One minor point (which you probably know), the LM393 is a comparator, not an op-amp. While they look similar, they both have + and - inputs and an output, they are not interchangeable. The op-amp is optimised as a gain stage, the comparator is optimised to compare the inputs and switch the output accordingly.
Politics is the art of so plucking the goose as to obtain the most feathers with the least squawking. - R.G. 2011
Jeez, she's an ugly bastard, she makes my socks hurt. I hope it's no ones missus here. - Ice-9 2012
User avatar
deltafred
Opamp Operator
 
Posts: 1361
Joined: 06 Apr 2010, 17:16
Location: Yorkshire, England, UK
Has thanked: 284 times
Have thanks: 232 times

Re: Question about comparator and 555 timer circuit

Postby toneman » 30 Jul 2017, 22:35

For comparators, use LM339(quad) or the dual or single versions. These are TRUE comparators and need very few external components to get good snap action. Comparator goes to 555 triggered as oneshot for the "one second window" which drives a 2nd 555 or another comparator to directly drive a small reed relay or small transistor that drives the relay. Do I get "credit" for your "university project"? :wink:
Tone-to-the-Bone
User avatar
toneman
Resistor Ronker
 
Posts: 269
Joined: 17 Jul 2007, 14:05
Location: sacatomatoes, Kali4nia
Has thanked: 82 times
Have thanks: 19 times


Return to Freestomp Café!

Who is online

Users browsing this forum: No registered users and 4 guests