[sdiy] CV input op-amp circuit

Tom Wiltshire tom at electricdruid.net
Fri Dec 4 21:07:25 CET 2020

Chris, is the -5V to 7V range a hard limit or just the “expected” input?

If it’s the expected input, the 3.3V single-supply rail-to-rai op-amp clipping is preferred, since it *can’t* go beyond what the microcontroller input can handle.

A circuit like David’s that scales and offsets is fine while the inputs are reasonable, but the output is potentially going within a diode-drop or two of the +/-15V rails which is plenty to fry the poor micro.

Another think to mention is that I’ve had good results just putting a series resistor ahead of the ADC input. The micro will have protection diodes that prevent over-0voltage, but too much current can fry them and leave the chip unprotected (=instant death) but with the resistor, the current can never get high enough to kill the diodes and the protection survives the abuse.

On the PICs I used, a 4K7 value was enough to save the input from all practical abuse. The higher the value, the slower the ADC can be read (series resistance increases the acquisition time) so be aware of that limitation.

       Electric Druid
Synth & Stompbox DIY

> On 4 Dec 2020, at 19:36, David G Dixon <dixon at mail.ubc.ca> wrote:
> Or, if you prefer, here is the same circuit with a -5V to 7V sinusoid, coming out at 0 to 3.3V (ya gotta love Multisim):
> <fart.png>        <CVShiftSmall.png>
> _______________________________________________
> Synth-diy mailing list
> Synth-diy at synth-diy.org
> http://synth-diy.org/mailman/listinfo/synth-diy
> Selling or trading? Use marketplace at synth-diy.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://synth-diy.org/pipermail/synth-diy/attachments/20201204/de6d4d4e/attachment.htm>

More information about the Synth-diy mailing list