Discussion in "Electronics" started by    80proof    Feb 20, 2012.
Mon Feb 20 2012, 06:50 pm
#1
hi guys! if you have idea on this, my problem is i need to input the ouput voltage of my op-amp lm339 with a supply voltage of 25 volts and to NAND GATE IC LS7430..BUT THIS IC NEED ONLY A TTL inout voltage level..
Tue Feb 21 2012, 02:35 am
#2
LM339 is a open collector. Just put a 4.7K pull-up resister to out put of LM339 and connect other end of resister to +5v and get out from out put pin of LM339

Tue Feb 21 2012, 10:04 am
#3
if output of OP-amp is 25V you can use a voltage divider also then use a series resistance say 2k2 and a zener of 5.1V for safety purpose.
Wed Feb 22 2012, 12:29 am
#4
my above solution is just for LM339 only
Wed Feb 22 2012, 03:08 am
#5
[Topic moved to Electronics forum]
Wed Feb 22 2012, 06:09 pm
#6
ah ok..got it! thank you so much for the reply guys!! =D
Wed Apr 18 2012, 11:29 am
#7
hi! this circuit i attached is having a problem in the part of voltage comparator, i tested the 12v zener,with a voltage level of 11.8 and the voltage divider in the input and it is working, my lm393 comparator is working, here's the problem, when i input a 24.7 Vin the comparator triggers the 2n3904 transistor after that the when i'm decreasing the voltage input Vin to 22volts, the lm393 is still triggering the 2n3904 base which should not be. the purpose of the circuit is to power up the device using 24 volts input. please advise. thanks in advance.

Thu Apr 19 2012, 12:04 am
#8
well it will trigger it anyway.. coz if your input voltage changes... it will change at both the places i mean at inverting and non-inverting end. and inverting will always be more than your non inverting input.

take this example...
if input is 24V, at U3 Pin 2 will have 24v and Pin 3 will have 12V which will trigger your transistor.. now if you change your vcc to 22v then at Pin2 it will 22 and pin 3 will be 11 and again the same case. I hope you're getting my point.
Thu Apr 19 2012, 03:31 am
#9


hi! this circuit i attached is having a problem in the part of voltage comparator, i tested the 12v zener,with a voltage level of 11.8 and the voltage divider in the input and it is working, my lm393 comparator is working, here's the problem, when i input a 24.7 Vin the comparator triggers the 2n3904 transistor after that the when i'm decreasing the voltage input Vin to 22volts, the lm393 is still triggering the 2n3904 base which should not be. the purpose of the circuit is to power up the device using 24 volts input. please advise.

80proof


Can you measure for the voltages at the following points at 24.7 ,22 volts and 18 volts.


LM393 pins 2,3 and output.
The base and collector of the 2N3904.

Where it says micro controller ground, is it actually connected to anything ?
If so try disconnecting it.
Thu Apr 19 2012, 12:27 pm
#10
@ 24.7v pin2 is 11.95v and pin3 is 12,@ 22v pin2 is 11.92v and pin3 is 10.67,@ 18v pin2 11.86 and pin3 is 8.74, the purposed of 2n3904 is designed to give GND on MCu. do you have any suggestion in my circuit for just switching the GND to MCU GND?? or is there any better and cheaper component for switching?? thanks in advance.

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Clydehet
Wed May 01 2024, 06:44 pm
Davidoried
Wed May 01 2024, 06:11 pm
KevinTab
Sun Apr 28 2024, 05:35 am
Tumergix
Sun Apr 28 2024, 12:59 am
StevenDrulk
Sat Apr 27 2024, 08:47 pm
StephenHauct
Sat Apr 27 2024, 09:38 am
Adamsaf
Sat Apr 27 2024, 07:12 am
Robertphype
Sat Apr 27 2024, 12:23 am