

A varistor, also known as a voltage-dependent resistor (VDR), is a passive electronic component that changes its resistance based on the applied voltage. It is primarily used to protect circuits from voltage spikes and surges by clamping excess voltage to a safe level. Varistors are commonly found in power supplies, surge protectors, and electronic devices to safeguard sensitive components from transient overvoltages.








Below are the key technical details of a typical varistor. Note that specific values may vary depending on the model and manufacturer.
Varistors are typically two-terminal devices with no polarity. Below is a table describing the pins:
| Pin Number | Name | Description |
|---|---|---|
| 1 | Terminal 1 | Connects to one side of the circuit to be protected |
| 2 | Terminal 2 | Connects to the other side of the circuit to be protected |
To protect an Arduino UNO from voltage spikes on its power supply, you can connect a varistor across the input voltage terminals. Below is an example circuit and code:
No specific code is required for the varistor itself, as it operates passively. However, here is an example of monitoring the Arduino's input voltage:
// This code monitors the input voltage on the Arduino's analog pin A0
// and prints the value to the Serial Monitor for debugging purposes.
const int voltagePin = A0; // Analog pin connected to the voltage divider
float referenceVoltage = 5.0; // Reference voltage of the Arduino (5V for UNO)
int adcResolution = 1024; // ADC resolution (10-bit for Arduino UNO)
void setup() {
Serial.begin(9600); // Initialize serial communication at 9600 baud
}
void loop() {
int sensorValue = analogRead(voltagePin); // Read the analog input
float voltage = (sensorValue * referenceVoltage) / adcResolution;
// Print the voltage to the Serial Monitor
Serial.print("Input Voltage: ");
Serial.print(voltage);
Serial.println(" V");
delay(1000); // Wait for 1 second before the next reading
}
Varistor Overheating:
Frequent Varistor Failures:
Circuit Not Protected from Surges:
Q: Can I use a varistor in a DC circuit?
A: Yes, varistors can be used in both AC and DC circuits. Ensure the voltage rating is appropriate for the DC operating voltage.
Q: How do I know if a varistor is damaged?
A: A damaged varistor may show physical signs like discoloration, cracks, or bulging. It may also fail to clamp voltage spikes effectively, leading to unprotected circuits.
Q: Can I use multiple varistors in parallel?
A: Yes, multiple varistors can be used in parallel to increase energy absorption capacity. However, ensure they have identical ratings for balanced operation.
Q: Do varistors have a polarity?
A: Most varistors are non-polarized and can be connected in either direction. Always check the datasheet for specific models.