AI

The **61C-R** generally refers to a specific series of **Rotary DIP Switches** or high-reliability **Electromechanical Components** often used in industrial controls, telecommunications, and circuit prototyping.
Below is an overview of the technical specifications and electronic characteristics common to this component series.
---
### 1. General Specifications
These parts are designed to be mounted on a Printed Circuit Board (PCB) to allow manual selection of binary or decimal codes.
| Feature | Typical Specification |
| :--- | :--- |
| **Switch Type** | Rotary DIP Switch |
| **Actuator Style** | Flush, Extended Shaft, or Screwdriver Slot |
| **Number of Positions** | 10 (BCD) or 16 (Hexadecimal) |
| **Contact Rating** | 100mA at 5V DC (Switching); 250mA (Non-switching) |
| **Operating Temp** | -25°C to +85°C |
| **Mounting Type** | Through-hole (THT) or Surface Mount (SMT) |
---
### 2. Internal Electronic Logic
The "R" in the part number often denotes **Real Code** (standard binary), whereas some variations use "C" for **Complement Code**.
* **Real Code (Binary):** When set to "1", the output pins corresponding to the binary value are closed (connected to the common pin).
* **Terminal Layout:** Usually consists of 1 Common pin and 4 Output pins (representing $2^0, 2^1, 2^2, 2^3$).
### 3. Pinout Configuration
For a standard 10 or 16-position 61C-R rotary switch:
| Pin Number | Function | Description |
| :---: | :--- | :--- |
| **C** | Common | The input source (usually Ground or VCC) |
| **1** | Bit 0 | Least Significant Bit (Value 1) |
| **2** | Bit 1 | Second Bit (Value 2) |
| **4** | Bit 2 | Third Bit (Value 4) |
| **8** | Bit 3 | Most Significant Bit (Value 8) |
---
### 4. Key Applications
* **Address Setting:** Used in RS-485 or CAN bus networks to set a unique ID for a device on a bus.
* **Mode Selection:** Selecting between different firmware operating modes without needing a digital interface.
* **Configuration:** Adjusting timer settings or frequency presets in industrial hardware.
### 5. Code Example (Reading the Switch)
If you are connecting this part to a microcontroller like an Arduino, you would use the following logic:
```cpp
// Define pins connected to 1, 2, 4, 8
const int pins[] = {2, 3, 4, 5};
int readRotarySwitch() {
int value = 0;
for (int i = 0; i < 4; i++) {
// If using Internal Pull-up, logic is inverted
if (digitalRead(pins[i]) == LOW) {
value |= (1 << i);
}
}
return value;
}
```
---
- ⤷What is the difference between Real Code and Complement Code in rotary switches?
- ⤷ Can the 61C-R series be used in automated soldering processes?
- ⤷ How do I wire a rotary DIP switch to prevent signal floating?