Hello,
I have a problem using an LM339N - I'm not familiar with this device, so I'm hoping it's just a configuration mistake.
I'm attempting to convert a 3Vrms sine-wave at 600Hz to a square-wave between 0V and 5V.
I've set up an LM339N with a 5V and 0V supply (to pins 3 and 12) and have an a.c. signal source connected to one of the device comparator's inputs with 10k current limiting resistors on both inputs. The output of the comparator has a 10k pullup resistor to the +5V supply and a 10k current limiting resistor.
When I measure the output, instead of the 0V to 5V square wave I'm expecting, I'm getting 2.5V to 5V.
Can somebody explain to me why it's doing this, please?
Thanks
I have a problem using an LM339N - I'm not familiar with this device, so I'm hoping it's just a configuration mistake.
I'm attempting to convert a 3Vrms sine-wave at 600Hz to a square-wave between 0V and 5V.
I've set up an LM339N with a 5V and 0V supply (to pins 3 and 12) and have an a.c. signal source connected to one of the device comparator's inputs with 10k current limiting resistors on both inputs. The output of the comparator has a 10k pullup resistor to the +5V supply and a 10k current limiting resistor.
When I measure the output, instead of the 0V to 5V square wave I'm expecting, I'm getting 2.5V to 5V.
Can somebody explain to me why it's doing this, please?
Thanks