I am trying to get a signal (called "Control A1-II") from my MiniDisc deck into a 3.3V circuit I'm building. According to various non-authoritative sources on the web, the signal is supposed to be a 5V TTL level signal, but I'm measuring something closer to 3V. Since I don't think anybody has the real spec, maybe that's expected from my relatively new deck.
The signal is relatively slow with a clock of about 1.6kHz.
Anyway, given that I did not want to get surprised by 5V signals when plugging in other equipment, I am designing the input circuit to work with varying signal levels. Using the parts I had lying around at that moment, I built a comparator using a rail-to-rail OpAmp. I attached GND and 5V as the voltage rails, set the comparator threshold at about 2V with some hysteresis using simple resistor dividers, and divided the 5V output of the OpAmp down to about 3.2V. That signal finally either goes into the second OpAmp input, set up as voltage follower (for buffering) or, alternatively, I could use the 3.3V 74HCU04SN Schmitt Trigger Inverter I also have on the board.
It works, but the problem I have is that this solution needs a 5V supply, when previously I only needed a 3.3V supply. How can I accept varying voltage inputs up to 5V, while keeping the same threshold voltage, without a 5V supply? Solutions I thought about:
- Use 3.3V as rail and supply on the OpAmp and let it just clip everything over 3.3V. But Absolute Maximum Ratings of the OpAmp say that signal levels must lie between the lower rail minus 5V, up to the upper rail.
- Use a resistor divider directly on the input, into a buffer. But won't I need to take the signal's output impedance into account? Also, a 3V signal would be divided down as well, and therefore effectively have a different threshold.
- Use a clamping or zener diode or something of sorts. You can tell by how I phrase it that I'm enough of a beginner to not even haven't used anything like that yet, so I have no idea whether that's viable and sensible here.
Any suggestions welcome!