ND3FR16H-R
AI

### Overview of ND3FR16H-R
The **ND3FR16H-R** is a specific type of **DIP Rotary Switch** manufactured by NKK Switches. It is a compact, PCB-mounted component used to set parameters or select addresses in electronic circuits.
---
### Key Technical Specifications
| Feature | Specification |
| :--- | :--- |
| **Manufacturer** | NKK Switches |
| **Logic Type** | Hexadecimal (0-F) |
| **Number of Positions** | 16 Positions |
| **Output Code** | Real Code |
| **Actuator Type** | Screwdriver Slotted (Flatted) |
| **Mounting Type** | Through-Hole (Right Angle) |
| **Contact Rating** | 100mA @ 5V DC |
| **Operating Temperature** | -25°C to +85°C |
---
### Detailed Part Analysis
#### 1. Functionality
The switch functions as a digital encoder. By rotating the dial, it opens and closes a combination of four internal contacts. These contacts correspond to binary-weighted values (1, 2, 4, 8), allowing the device to output a **Hexadecimal code** ranging from 0 to 15 (0 through F).
#### 2. Structural Features
* **Right Angle Orientation:** The "H" in the part number signifies a horizontal (right-angle) mount, meaning the dial is accessible from the side of the PCB rather than the top.
* **Sealed Construction:** The ND3 series is typically process-sealed, meaning it can withstand automated soldering and washing processes without internal contamination.
* **Gold Contacts:** It utilizes gold-plated contacts to ensure high reliability and prevent oxidation, which is critical for low-voltage logic signals.
#### 3. Common Applications
* **Address Setting:** Assigning unique IDs to devices on a BUS (like RS-485 or CAN bus).
* **Mode Selection:** Choosing between different operational programs in an embedded system.
* **Configuration:** Setting hardware parameters on industrial controllers without needing a digital interface.
---
### Logic Table (Real Code)
| Position | Binary Output (1-2-4-8) | Hex Character |
| :--- | :--- | :--- |
| 0 | 0000 | 0 |
| 1 | 1000 | 1 |
| ... | ... | ... |
| 9 | 1001 | 9 |
| 10 | 0101 | A |
| 15 | 1111 | F |
---
### Example Schematic Connection
```cpp
// Logic representation for reading the switch
int pin1 = digitalRead(BIT_1);
int pin2 = digitalRead(BIT_2);
int pin4 = digitalRead(BIT_4);
int pin8 = digitalRead(BIT_8);
int hexValue = pin1 + (pin2 * 2) + (pin4 * 4) + (pin8 * 8);
```
- ⤷
What is the difference between 'Real Code' and 'Complement Code' in these switches?
- ⤷ Are there surface-mount (SMD) versions of the ND3 series available?
- ⤷ How do I interpret the '-R' suffix in the NKK part numbering system?