

The геркон, or reed switch, is an electromagnetic switch that operates in response to a magnetic field. It consists of two ferromagnetic contacts enclosed in a hermetically sealed glass tube. When a magnet is brought near the switch, the contacts close, allowing current to flow through the circuit. This simple yet effective mechanism makes the геркон a versatile component in various applications.








Below are the key technical details of a typical геркон (reed switch):
| Parameter | Value |
|---|---|
| Contact Type | Normally Open (NO) or Normally Closed (NC) |
| Operating Voltage | 3V to 250V |
| Switching Current | 10mA to 3A |
| Contact Resistance | 50mΩ to 200mΩ |
| Insulation Resistance | >10⁹Ω |
| Operating Temperature | -40°C to +125°C |
| Response Time | 0.5ms to 2ms |
| Glass Tube Dimensions | Typically 10mm to 50mm in length |
The геркон has two leads (pins) extending from the glass tube. These leads are the electrical contacts of the switch.
| Pin | Description |
|---|---|
| Pin 1 | First contact of the reed switch |
| Pin 2 | Second contact of the reed switch |
Note: The polarity of the pins does not matter, as the геркон is a non-polarized component.
The following example demonstrates how to use a геркон with an Arduino UNO to detect the presence of a magnet.
// Геркон (Reed Switch) Example with Arduino UNO
// This code reads the state of the геркон and turns on an LED when a magnet is detected.
const int reedSwitchPin = 2; // Pin connected to the геркон
const int ledPin = 13; // Built-in LED pin on Arduino
void setup() {
pinMode(reedSwitchPin, INPUT_PULLUP); // Set reed switch pin as input with pull-up
pinMode(ledPin, OUTPUT); // Set LED pin as output
Serial.begin(9600); // Initialize serial communication
}
void loop() {
int reedState = digitalRead(reedSwitchPin); // Read the state of the геркон
if (reedState == LOW) { // If the геркон is activated (magnet present)
digitalWrite(ledPin, HIGH); // Turn on the LED
Serial.println("Magnet detected!");
} else {
digitalWrite(ledPin, LOW); // Turn off the LED
Serial.println("No magnet detected.");
}
delay(100); // Small delay for stability
}
The геркон does not activate when a magnet is near:
The геркон remains closed even when the magnet is removed:
The circuit behaves erratically:
Q: Can the геркон handle high currents?
A: No, the геркон is designed for low to moderate currents. For high-current applications, use the геркон to control a relay or transistor.
Q: How do I increase the activation distance of the геркон?
A: Use a stronger magnet or a геркон with higher sensitivity.
Q: Can the геркон be used in AC circuits?
A: Yes, as long as the voltage and current ratings of the геркон are not exceeded.
Q: Is the геркон affected by temperature?
A: The геркон operates reliably within its specified temperature range (-40°C to +125°C).