

A varistor is a voltage-dependent resistor that changes its resistance based on the applied voltage. It is primarily used to protect electronic 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.








Varistors are typically two-terminal devices with no polarity. Below is a general description of the pins:
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | Terminal 1 | Connects to one side of the circuit |
| 2 | Terminal 2 | Connects to the other side of the circuit |
To protect an Arduino UNO from voltage spikes on its power supply line, you can use a varistor with a clamping voltage of around 18V. Here's how to connect it:
// Example code for Arduino UNO to demonstrate normal operation
// This code does not directly interact with the varistor but assumes
// the varistor is protecting the power supply line.
void setup() {
pinMode(13, OUTPUT); // Set pin 13 as an output
}
void loop() {
digitalWrite(13, HIGH); // Turn on the LED
delay(1000); // Wait for 1 second
digitalWrite(13, LOW); // Turn off the LED
delay(1000); // Wait for 1 second
}
// Note: The varistor will protect the Arduino from voltage spikes
// on the power supply line, ensuring stable operation.
Varistor Fails to Protect the Circuit:
Varistor Overheats or Fails:
Circuit Still Experiences Voltage Spikes:
By following these guidelines, you can effectively use a varistor to protect your electronic circuits from voltage surges and spikes.