2RT-16-R/B
AI

The part number **2RT-16-R/B** typically refers to a **Rotary DIP Switch**. These components are widely used in electronics for setting binary configurations, addressing, or mode selection on a printed circuit board (PCB).
---
## 1. Component Specifications
Below are the general technical characteristics for this series of rotary switches:
| Feature | Specification |
| :--- | :--- |
| **Switch Type** | Rotary DIP Switch |
| **Number of Positions** | 16 (Hexadecimal) |
| **Output Code** | Real Code (Binary Coded Hexadecimal) |
| **Actuator Style** | Arrow / Flush / Raised (Model dependent) |
| **Pitch** | 2.54mm (Standard Breadboard/PCB spacing) |
| **Voltage Rating** | 24V DC (Switching), 50V DC (Non-switching) |
| **Current Rating** | 100mA |
| **Mounting Type** | Through-Hole (THT) |
---
## 2. Part Number Breakdown
While nomenclature can vary slightly by manufacturer (such as *Redsunt* or *ECE*), the code generally breaks down as follows:
* **2RT**: Series identifier for 10mm or 7mm square rotary switches.
* **16**: Indicates the number of positions (0 through 15/F).
* **R**: Usually denotes **Real Code** (as opposed to Complement Code).
* **B**: Often refers to the packaging or terminal type (e.g., Tube or Bulk packaging, or "Blue" housing depending on the brand).
---
## 3. Truth Table (Real Code)
Since this is a 16-position switch, it uses 4 output pins (plus a common pin) to represent binary values.
| Position | Binary (1-2-4-8) | Hex Equivalent |
| :--- | :--- | :--- |
| 0 | 0000 | 0 |
| 1 | 1000 | 1 |
| ... | ... | ... |
| 9 | 1001 | 9 |
| 10 | 0101 | A |
| 15 | 1111 | F |
---
## 4. Common Applications
* **Address Settings:** Setting the ID for devices on a communication bus (like RS-485 or CAN).
* **Mode Selection:** Choosing operating modes in industrial controllers or IoT gateways.
* **Configuration:** Adjusting hardware parameters without needing a digital interface or software.
---
- ⤷
What is the difference between Real Code and Complement Code in these switches?
- ⤷ Are there Surface Mount (SMD) versions of the 2RT series available?
- ⤷ How do I wire the common pin to a microcontroller?