I know this has been asked many times, because I googled "Sine wave to square wave converter." Most of the responses that appeared said something such as "use a 555" or "use a schmitt trigger." I know how to use a 555, but I'm trying to create an accurate clock and the high (20%) tolerance of capacitors makes this unsuitable for those purposes. I'm pretty sure that the 60 Hz coming from an outlet is pretty much exactly 60 Hz and not slightly off, so this seems suitable.
I'm using IC 7490 counters to store the time from a 555 (I want to convert it to an AC clock cause it's inaccurate), but I could use another IC(I forget the number) that could support mod-60 counting. Either way, after I did some Googling I found out that most of these ICs require a square wave input which oscillates from ground potential to VCC potential, not from -VCC to VCC in a sine wave.
As a result of this, I need to convert a +VCC to -VCC sine wave into a 0 to +VCC square wave. After some google I found "just use a schmitt trigger" but I could not figure out how to use one from google or from wikipedia.
Does anyone know how I can set up a circuit like this?
P.S. Is there an easy way to power the ICs using low-voltage AC or do I need a rectifier/capacitor?
I'm using IC 7490 counters to store the time from a 555 (I want to convert it to an AC clock cause it's inaccurate), but I could use another IC(I forget the number) that could support mod-60 counting. Either way, after I did some Googling I found out that most of these ICs require a square wave input which oscillates from ground potential to VCC potential, not from -VCC to VCC in a sine wave.
As a result of this, I need to convert a +VCC to -VCC sine wave into a 0 to +VCC square wave. After some google I found "just use a schmitt trigger" but I could not figure out how to use one from google or from wikipedia.
Does anyone know how I can set up a circuit like this?
P.S. Is there an easy way to power the ICs using low-voltage AC or do I need a rectifier/capacitor?