Alex electrical student
Member
I ran into a problem with voltage comparator.
I have a LM393N low power dual voltage comparator.
I wired it up like in the picture below.
View attachment 1636
I got a saw thooth wave for my Vinput and i set Vref at 50%.
Why is my output not a square wave?
Also when i have -V supply grounded i see no wave at all on the output but when i disconnect -V supply then i see my sawtooth wave on the output. When i have my Vref a 4V i see a sawtooth wave with the top half choped off. How do i get a square wave. Is i because that i am using wrong comarator?:r:-? :-?
I have a LM393N low power dual voltage comparator.
I wired it up like in the picture below.
View attachment 1636
I got a saw thooth wave for my Vinput and i set Vref at 50%.
Why is my output not a square wave?
Also when i have -V supply grounded i see no wave at all on the output but when i disconnect -V supply then i see my sawtooth wave on the output. When i have my Vref a 4V i see a sawtooth wave with the top half choped off. How do i get a square wave. Is i because that i am using wrong comarator?:r:-? :-?