AI

The **2PE-16-R** typically refers to a specific type of **Rotary DIP Switch** or a coded rotary selector component. These parts are commonly used in industrial electronics, telecommunications, and circuit prototyping for manual configuration.
---
### 1. Key Technical Specifications
Based on standard industry naming conventions for this series (often associated with brands like ECE or generic industrial manufacturers), here are the primary specifications:
| Feature | Specification |
| :--- | :--- |
| **Component Type** | Rotary DIP Switch |
| **Number of Positions** | 16 (Hexadecimal) |
| **Output Code** | Binary Coded Hexadecimal (BCH) |
| **Mounting Type** | Through-hole (THT) or PCB Mount |
| **Contact Rating** | 100mA, 5V DC (Switching) / 250mA, 50V DC (Non-switching) |
| **Actuator Style** | Arrow / Recessed (Usually Requires Screwdriver) |
---
### 2. Functional Details
* **The "16" in the Name:** This indicates the switch has 16 distinct positions (0 through 9 and A through F).
* **Binary Coding:** As you rotate the dial, the internal contacts bridge four output pins in combinations representing binary values (1, 2, 4, 8).
* **"R" Suffix:** Often denotes **Real Code** (as opposed to Complement Code). In Real Code, position '1' closes the '1' pin circuit. In Complement Code, it would open it.
* **Size:** These are usually compact parts (approx. 10mm x 10mm) designed to save space on a Printed Circuit Board (PCB).
---
### 3. Pin Configuration (Common Standard)
For a 16-position BCH switch like the 2PE-16-R, the pinout usually consists of 6 pins:
1. **C (Common):** Usually two pins (internally connected) to provide the input signal.
2. **1 (2^0):** Least Significant Bit (LSB).
3. **2 (2^1):** Bit 2.
4. **4 (2^2):** Bit 3.
5. **8 (2^3):** Most Significant Bit (MSB).
### 4. Typical Applications
* **Address Setting:** Used in RS-485 or DMX networks to set a specific device ID (0-255 using two switches).
* **Mode Selection:** Choosing firmware operational modes without needing a screen or menu system.
* **Configuration:** Adjusting frequency channels in RF modules or industrial timers.
---
### 5. Truth Table (Real Code)
| Position | 1 (2^0) | 2 (2^1) | 4 (2^2) | 8 (2^3) |
| :--- | :---: | :---: | :---: | :---: |
| 0 | Off | Off | Off | Off |
| 1 | **ON** | Off | Off | Off |
| 5 | **ON** | Off | **ON** | Off |
| F (15) | **ON** | **ON** | **ON** | **ON** |
- ⤷What is the difference between Real Code and Complement Code in rotary switches?
- ⤷ How do I interface a 16-position rotary switch with an Arduino?
- ⤷ What are the common footprints for the 2PE series switches?