AI

The **2RT-16-R2** is a specific model of a **Rotary DIP Switch** (Dual In-line Package). These components are used to manually set binary or hexadecimal values on a circuit board by rotating a central dial.
---
## 1. Technical Specifications
The 2RT series is typically manufactured by brands like **Copal Electronics** or **Nidec**. Below are the standard specifications for this specific model:
| Parameter | Specification |
| :--- | :--- |
| **Type** | Rotary DIP Switch |
| **Positions** | 16 (Hexadecimal: 0-9, A-F) |
| **Output Code** | Real Code (Binary Coded Decimal/Hex) |
| **Actuator Style** | Recessed (Screwdriver slot) |
| **Mounting Type** | Through-hole (PCB) |
| **Contact Rating** | 100mA @ 5V DC (Switching), 100mA @ 50V DC (Non-switching) |
| **Terminal Pitch** | 2.54mm (0.1 inch) |
---
## 2. Key Components & Construction
### A. The Actuator
The "16" in the part number indicates it has 16 distinct positions. It is adjusted using a flat-head screwdriver. Each position corresponds to a specific combination of "ON" and "OFF" states across four output pins.
### B. The Code (Binary Coded Hexadecimal)
When you turn the dial, the internal contacts bridge the "Common" pin to different output pins (1, 2, 4, 8).
* **Position 0:** All pins OFF.
* **Position 7:** Pins 1, 2, and 4 are ON ($1+2+4=7$).
* **Position F (15):** All pins 1, 2, 4, and 8 are ON ($1+2+4+8=15$).
### C. Sealing and Durability
* **R2 Designation:** Usually refers to the packaging or a specific revision involving environmental sealing (washable), allowing the PCB to be cleaned after soldering without damaging the switch internals.
---
## 3. Applications
These parts are commonly found in industrial and computing hardware where permanent settings are required but must be changeable by a technician:
* **Address Setting:** Assigning a unique ID to a device on a BUS (like RS-485 or CAN bus).
* **Mode Selection:** Choosing between different firmware operating modes.
* **Configuration:** Setting baud rates or communication protocols on legacy hardware.
---
## 4. Pinout Diagram (Top View)
The layout generally follows a standard 3x2 or 4x1 grid:
```text
[ 8 ] [ C ] [ 1 ]
[ 4 ] [ C ] [ 2 ]
(C = Common, numbers represent bit values)
```
- ⤷How do I wire a 16-position rotary switch to an Arduino?
- ⤷ What is the difference between 'Real Code' and 'Complement Code' in DIP switches?
- ⤷ Are there surface-mount (SMD) versions of the 2RT series?