REB-D4-R
AI

The **REB-D4-R** is an electronic component primarily associated with **Rotary Encoders**, specifically those manufactured by companies like **Noble** or used in high-end audio and industrial control equipment. It is designed to convert mechanical rotation into electrical signals.
---
### 1. Technical Specifications
The REB-D4-R is a miniature, incremental rotary encoder. Below are the typical technical parameters:
| Feature | Specification |
| :--- | :--- |
| **Type** | Incremental Rotary Encoder |
| **Resolution** | 12 to 24 Pulses Per Revolution (PPR) |
| **Output Type** | 2-bit Gray Code (Quadrature) |
| **Switch Function** | Integrated Push-Momentary Switch (Optional) |
| **Mounting Type** | Through-hole (PCB Mount) |
| **Operating Voltage** | 5V DC (Typical) |
| **Rotation Angle** | 360° (Continuous) |
---
### 2. Key Internal Components
The REB-D4-R consists of several critical electronic and mechanical parts:
1. **Code Disk/Contact Plate:** A rotating plate with conductive and non-conductive segments that creates pulses as it spins.
2. **Brushes/Wipers:** Small metal contacts that rub against the code disk to complete the circuit.
3. **Detent Mechanism:** A spring-loaded ball or clip that provides the "click" feel (tactile feedback) when turning the knob.
4. **Integrated Switch:** A tactile dome switch located at the base, activated by pressing the shaft downward.
---
### 3. Pinout Configuration
The device typically features 5 pins (3 for the encoder, 2 for the switch):
| Pin Name | Function | Description |
| :--- | :--- | :--- |
| **A** | Channel A | Primary pulse output |
| **C** | Common/Ground | Shared ground for the encoder |
| **B** | Channel B | Secondary pulse output (90° phase shift) |
| **S1** | Switch Terminal 1 | Input for the push-button |
| **S2** | Switch Terminal 2 | Output for the push-button |
---
### 4. Logic Signal Example
The encoder uses **Quadrature Encoding**. By comparing the phase of Channel A and Channel B, the system determines the direction of rotation.
```c
// Pseudo-code logic for direction detection
if (Channel_A_Rising_Edge) {
if (Channel_B == LOW) {
Direction = Clockwise;
} else {
Direction = Counter_Clockwise;
}
}
```
---
### 5. Common Applications
* **Audio Equipment:** Volume control, menu navigation, and frequency tuning.
* **Home Appliances:** Timer settings on microwave ovens or washing machines.
* **Industrial Controls:** Parameter adjustment on PLCs or digital displays.
* **Test Instruments:** Navigating menus on oscilloscopes and multimeters.
- ⤷What is the difference between an incremental and absolute encoder?
- ⤷ How do I debounce the signal from a REB-D4-R in a circuit?
- ⤷ Can this encoder be used with an Arduino or ESP32?