AI

The **AZ2B-R** is a specific type of **Rotary Pulse Switch** (also known as a rotary encoder switch) commonly used in consumer electronics for volume control, menu navigation, and parameter adjustments.
Below is a detailed breakdown of its electronic components, specifications, and pin configuration.
---
### 1. General Specifications
The AZ2B-R is designed for low-power signal switching rather than high-power load switching.
| Feature | Specification |
| :--- | :--- |
| **Component Type** | Incremental Rotary Encoder |
| **Output Type** | 2-Phase A/B (Quadrature) |
| **Push-Switch Function** | Integrated (Momentary) |
| **Rated Voltage** | 5V DC |
| **Rated Current** | 10mA |
| **Operating Life** | 15,000 to 30,000 cycles |
| **Detents** | 12, 20, or 24 clicks per revolution |
---
### 2. Pin Configuration and Internal Parts
The AZ2B-R typically features a **5-pin layout** (3 pins on one side for the encoder, 2 pins on the opposite side for the push-button).
#### Pinout Table
| Pin # | Label | Description |
| :--- | :--- | :--- |
| 1 | **Phase A** | Output signal for rotation direction sensing |
| 2 | **Common (C)** | Ground (GND) connection for the encoder |
| 3 | **Phase B** | Output signal (90° offset from Phase A) |
| 4 | **Switch 1** | Terminal for the integrated push-button |
| 5 | **Switch 2** | Terminal for the integrated push-button |
---
### 3. Key Electronic Components
The internal construction of the AZ2B-R consists of several critical mechanical and conductive parts:
1. **Contact Rotor:** A metallic disc with a specific pattern of conductive and non-conductive areas.
2. **Contact Brushes:** Spring-loaded metal wipers that slide across the rotor to complete or break the circuit.
3. **Detent Mechanism:** A spring and ball (or notched wheel) that provides the physical "click" feeling.
4. **Momentary Switch:** A tactile dome switch located at the base of the shaft that activates when the shaft is pressed downward.
---
### 4. Logic and Signal Output
The device uses **Quadrature Encoding**. By monitoring which phase (A or B) changes state first, the microcontroller can determine the direction of rotation.
```arduino
// Example Logic (Arduino/C++ Concept)
if (Phase_A_State != Last_Phase_A_State) {
if (Phase_B_State != Phase_A_State) {
// Rotated Clockwise
} else {
// Rotated Counter-Clockwise
}
}
```
---
### 5. Application Circuit Requirements
To use the AZ2B-R effectively in a circuit, you must include:
* **Pull-up Resistors:** Usually 10kΩ, connected between the signal pins (A, B, and Switch) and VCC (5V/3.3V).
* **Debouncing Capacitors:** 0.01µF to 0.1µF capacitors are recommended to filter mechanical "bounce" noise that occurs during rotation.
- ⤷
What is the difference between the AZ2B-R and a standard potentiometer?
- ⤷ How do I implement hardware debouncing for this specific encoder?
- ⤷ What are the mechanical dimensions for PCB footprinting?