165G-P16-R
AI

The **165G-P16-R** is a specific electronic component, typically classified as an **Incremental Rotary Encoder**. These devices are used to convert the angular position or motion of a shaft into analog or digital output signals.
---
## 1. Component Overview
The 165G series is often manufactured by companies like **Taiwan Alpha** or similar specialized electromechanical component producers. It is commonly used in audio equipment, industrial controls, and appliances.
### Key Technical Specifications
| Feature | Specification (Typical) |
| :--- | :--- |
| **Type** | Incremental Rotary Encoder |
| **Pulses Per Revolution (PPR)** | Usually 16 pulses |
| **Detents** | 16 or 32 detents (tactile clicks) |
| **Mounting Type** | Through-hole (PCB Mount) |
| **Shaft Style** | P-type (often a plastic or metal "D" shape or knurled) |
| **Terminal Configuration** | Vertical or Horizontal (R often denotes Right Angle or RoHS) |
| **Switch** | May include an integrated push-button switch |
---
## 2. Pinout and Internal Logic
A standard incremental encoder like the 165G-P16-R usually features 3 main signal pins and 2 optional pins for a push-switch.
### Pin Functionality
1. **Channel A:** Outputs a square wave as the shaft rotates.
2. **Common (GND):** The ground reference for the signals.
3. **Channel B:** Outputs a square wave offset by 90 degrees from Channel A (Quadrature).
4. **Switch Pins (Optional):** Two pins that close a circuit when the shaft is pressed down.
### Quadrature Output Logic
The direction of rotation is determined by which channel leads the other:
* **Clockwise:** Channel A leads Channel B.
* **Counter-Clockwise:** Channel B leads Channel A.
---
## 3. Common Applications
Due to its compact size and tactile feedback, this part is found in:
* **Audio Equipment:** Volume knobs, menu navigation, and frequency tuning.
* **Home Appliances:** Timer settings on microwave ovens or washing machines.
* **Testing Equipment:** Selecting parameters on oscilloscopes or multimeters.
* **Microcontroller Projects:** Interfacing with Arduino or ESP32 for user input menus.
---
## 4. Part Number Breakdown (165G-P16-R)
* **165G:** Series identifier (Physical size/model).
* **P:** Shaft type/material (Plastic).
* **16:** Resolution (16 Pulses per 360-degree rotation).
* **R:** Specific variant (often refers to Right-angle mounting or RoHS compliance).
---
- ⤷How do I interface the 165G-P16-R with an Arduino?
- ⤷ What is the difference between an incremental and an absolute encoder?
- ⤷ Does this model include a built-in push-button switch?