lm393 simulator

Thread Starter

nadrah

Joined Jan 23, 2014
14
hello.

what software can we use to simulate lm393?
i already use proteus 7 but it doesnt support lm393.

tq :)
 

Thread Starter

nadrah

Joined Jan 23, 2014
14
tq :)



i need to build a 4 voltage comparator by using lm393.

i attached the schematic that ive used.
i already do it on a bredbord (1 set) and it works.
but when i try to combine it and make it as 4 voltage comparator, (2 sets os circuit) it doesnt work.

1- is it possible to combine 2 ic of lm393 and make it as 4 voltage comparator?

really need help here. your help is so much appreciated :)
 

Thread Starter

nadrah

Joined Jan 23, 2014
14
i already join the ltspice group at yahoo and click the file section.
which one do i need to click to donwload LTspice?
 

Attachments

MikeML

Joined Oct 2, 2009
5,444
Your circuit is strange. The two comparitors have identical inputs, so will switch on the LEDs at the same setting of the two pots. Are you expecting that the LEDs will not turn on together?
 

Thread Starter

nadrah

Joined Jan 23, 2014
14
yes. i already done it by using bredbord.
and it works like this:

when i set the R1 pot as reference value (4.5V)
then when i set R2 pot less than 4.5 V , one of the LED will be off.

that is how it works :)
i googled it and i try do it on a bredboard.
 

Thread Starter

nadrah

Joined Jan 23, 2014
14
when i set R2 pot more than 4.5V, the LED that just now off will be on and the other LED will be off.

just one LED will be on at a time.
 

MikeML

Joined Oct 2, 2009
5,444
when i set R2 pot more than 4.5V, the LED that just now off will be on and the other LED will be off.

just one LED will be on at a time.
Oh, I see the crossed inputs for the two comparators now. Yes, the behavior is correct. Why do you need to simulate it?
 

Thread Starter

nadrah

Joined Jan 23, 2014
14
okay got it tq



i want to use 2 sets of this circuit and make it as 4 voltage comparator.

i make two sets of the circuit.
circuit A and B.

i take the output of the ON LED of the circuit A and make it as a reference voltage.
i connect it to pin 2 and 5 of the circuit B.

and it doesnt work. that is why i want to simulate it.


can you help with the circuit ?
do you think its possible to make it as 4 voltage comparator?
 

MikeML

Joined Oct 2, 2009
5,444
Do you mean that you want to have one input which is compared to four different fixed voltages, so that as the input voltage changes, the comparitors progressively turn on?

btw- This would be equivalent to using a LM3914 and using the first four outputs. (see here)
 

Thread Starter

nadrah

Joined Jan 23, 2014
14
hurm. no.

actually i want to design a circuit which can compare voltage.

4 voltage.
V1 , V2 , V3 , V4

V1 is on , V2 is off.
when V1 less than V2 , V1 will off and V2 will on.

V2 on, V3 off.
then V2 will compare with V3.
when V2 less than V3 , V2 will off and V3 will on.

V3 on , V4 off.
V3 less than V4 , V3 off V4 on.


by using LM393 ,
the VR1 less than VR2 , LED 1 will off and LED2 on.

now i want to continue it for V3 and V4.

is it possible by connect the output of circuit A to the input of circuit B?
 

assuc

Joined Mar 23, 2012
77
hurm. no.

actually i want to design a circuit which can compare voltage.

4 voltage.
V1 , V2 , V3 , V4

V1 is on , V2 is off.
when V1 less than V2 , V1 will off and V2 will on.

V2 on, V3 off.
then V2 will compare with V3.
when V2 less than V3 , V2 will off and V3 will on.

V3 on , V4 off.
V3 less than V4 , V3 off V4 on.


by using LM393 ,
the VR1 less than VR2 , LED 1 will off and LED2 on.

now i want to continue it for V3 and V4.

is it possible by connect the output of circuit A to the input of circuit B?
the scenario u presented seems like u want to test the voltages in sequence which according to my knowledge can only be done while cascading opamps
 

Thread Starter

nadrah

Joined Jan 23, 2014
14
Mr Mike,
so you mean it is possible to fulfill my scenario by using the circuit that u've attached?


Mr Assuc,
thank you for your suggestion , but what is cascading op amps?
 

Thread Starter

nadrah

Joined Jan 23, 2014
14
btw- ive tried the circuit u'd attached already to a bredbord. and it doesnt work as i wish.
when i turn on the supply, the 4 leds turn on at a same time and turn off at the same time too.
 
Top