MCU (microcontroller) protection circuit (Patreon)
Content
Generally, the rated voltage of MCU is -0.5V to 5.5V. (e.g. Arduino nano)
Applying a voltage of ±12V from Eurorack to the MCU may damage the MCU.
To avoid breaking, a protection circuit is required for the MCU and input/output. The following is a brief summary of the types of protection circuits.
(1) Clamping with a Schottky barrier diode
This is a standard protection circuit. By using a Schottky barrier diode with a forward voltage of 0.5 V or less, the voltage is clamped so that it does not exceed the withstand voltage of the MCU.
It is safe to use, but somewhat costly.
(2) Buffer with transistor
Used in the gate circuit of mutable instruments. Since transistors have high voltage endurance, they will not break even if ±12V is applied.
However, it has a drawback that it cannot be used in CV circuits.
(3) Clamping by Zener diode
Deprecated, but used in some Eurorack modules.
Overvoltage is safely clamped at the zener voltage of 5.1V.
However, negative voltage is generated by the forward voltage of the Zener diode, Vf = 0.6V, which means that -0.6V is applied to the MCU.
Depending on the variation of the zener voltage, the clamping voltage may be 4.8V, which may result in a narrow dynamic range when receiving CV.
Therefore, I would not use this circuit.
(4) Current attenuation with a limiting resistor
There is also a protection diode inside the MCU for ESD protection. It is not recommended to use this diode actively because it will be broken if several mA flows through it.
However, if a limiting resistor of about 10 kΩ is installed, the current flowing through the diode can be reduced, allowing the MCU's internal protection circuit to be utilized.
Several modules I purchased from THONK used this circuit.
The module I designed uses (1). The reason is that it is safe to use.
Some modules use (4), but in such cases, I test them applying ±12V to see if any problems occur.
Files
Previews only