AD5259BRMZ5-R7
AI

The **AD5259BRMZ5-R7** is a high-performance digital potentiometer manufactured by Analog Devices. It is designed to replace mechanical potentiometers in electronic circuits, offering higher reliability and the ability to be controlled via software.
---
### 1. Key Technical Specifications
| Feature | Specification |
| :--- | :--- |
| **Resistance** | 5 kΩ |
| **Resolution** | 256 Positions (8-bit) |
| **Interface** | I²C Compatible |
| **Memory** | Non-Volatile (EEPROM) |
| **Supply Voltage** | 2.7V to 5.5V |
| **Package** | 10-Lead MSOP |
| **Temperature Range** | -40°C to +125°C |
---
### 2. Core Electronic Characteristics
#### A. Non-Volatile Memory (EEPROM)
One of the most critical features of the AD5259 is its integrated EEPROM. Unlike volatile digital pots, this device can store its "wiper" position. When the system is powered off and back on, the device automatically restores the last saved resistance value.
#### B. I²C Serial Interface
The device uses a 2-wire I²C interface, which allows multiple devices to be controlled on the same bus using address pins (AD0 and AD1). This minimizes the number of GPIO pins required from a microcontroller.
#### C. Resistance Tolerance
The device features a nominal resistor tolerance of ±20%. While the absolute resistance may vary, the **voltage divider ratio** (matching between internal resistor segments) is extremely precise, making it ideal for ratiometric applications.
---
### 3. Pin Configuration and Functions
| Pin Number | Name | Description |
| :--- | :--- | :--- |
| 1 | **W** | Wiper terminal (the "moving" part of the pot) |
| 2 | **A** | Terminal A (High side) |
| 3 | **B** | Terminal B (Low side/Ground) |
| 4 | **Vdd** | Positive Power Supply |
| 5 | **GND** | Ground |
| 6 | **SCL** | I²C Serial Clock |
| 7 | **SDA** | I²C Serial Data |
| 8 | **AD0** | I²C Address Bit 0 |
| 9 | **AD1** | I²C Address Bit 1 |
| 10 | **WP** | Write Protect (Hardware protection for EEPROM) |
---
### 4. Typical Applications
* **Mechanical Potentiometer Replacement:** Ideal for systems where manual adjustment is difficult or prone to wear.
* **Variable Gain Amplifiers:** Used in the feedback loop of Op-Amps to adjust gain digitally.
* **Sensor Calibration:** Fine-tuning offset and sensitivity in analog sensor circuits.
* **LCD Contrast Control:** Adjusting the bias voltage for displays.
---
### 5. Programming Example (Conceptual)
To set the resistance via I²C, the controller typically sends a command byte followed by the data byte (0-255).
```c
// Example pseudo-code to set wiper to mid-scale (128)
I2C_Start();
I2C_Write(AD5259_ADDRESS); // Send Device Address
I2C_Write(0x00); // Instruction: Write to RDAC register
I2C_Write(128); // Data: 50% of 5k ohms
I2C_Stop();
```
- ⤷
How do the AD0 and AD1 pins determine the I2C address?
- ⤷ What is the difference between the 5k
- ⤷ 10k
- ⤷ and 100k versions of this chip?
- ⤷ Can this device be used in high-voltage AC signal paths?