DFR0520

DFR0520 Datasheet


Dual Digital Pot 100K SKU DFR0520

Part Datasheet
DFR0520 DFR0520 DFR0520 (pdf)
PDF Datasheet Preview
Dual Digital Pot 100K SKU DFR0520

Introduction

Digital potentiometer is also called "Digital Pot" in short. It is a kind of mixed signal IC, which is able to dynamically change the internal resistors through MCU like Arduino. Compared to the traditional mechanical potentiometer, the digital pot features as flexible program control , small size ICs and high reliability without mechanical parts . It can replace the tradition one in many applications. Digital pot is usually used to change the sound volume in audio devices, such as smart loudspeaker, cell phone, and music player. In addition, with a proper design op-amp circuit, the digital pot can also be applied to change some key parameters of the circuit dynamically, such as LED DC dimming output current , linear stable voltage source output voltage , oscillator frequency and amplitude , low pass filter bandwidth and differential amplifier gain .

This breakout employs MCP42100 internally manufactured with two individual 100K digital pot POT0 and POT1. Each pot has 256 taps with a resistor of It supports wide voltage supply DC 2.7V - 5.5V compatible with MCU of 3.3V and 5V. The breakout features as small size 20.0mm*18.0mm and reserves the SO pin for multiple breakouts being configured in daisy-chain connection. If you have a I/O shield in hand, this breakout can be easily connected to it with the attached 5 pin male to male cable.

Specification
• Supply Voltage DC
• Static Operation Current < 1 uA
• Potentiometer Value 100
• Resolution 8 bits, 256 taps for each potentiometer
• Number of Potentiometers 2
• Interface SPI
• Operation Temperature -40
• Dimension 20.0mm*18.0mm

Pin Definition

Pin VCC GND

SI CS SCK SO PAx PBx PWx

Dual Digital Definition

Description Power supply DC 2.7V - 5.5V

Ground Serial data input

Chip select Serial clock input Serial data output Potentiometer terminal A x=0,1 Potentiometer terminal B x=0,1 Potentiometer wiper terminal x=0,1

Resistor terminals A, B and W have no restrictions on polarity with respect to each other. Current through terminals A, B and W should not excceed ±1mA. Voltages on terminals A, B and W should be within 0 - VCC.

Tutorial

Basic Principle

This breakout employs MCP42100, which has two individual digital potentiometer POT0 and POT1 corresponding to two groups of terminals A0, B0, W0 and A1, B1, W1. Similar to the mechanical potentiometer, terminal A and B can be taken as two pins of a resistor the nominal resistance is while terminal W is the wiper. The wiper can be changed to one of the 256 positions evenly distributed between A and B. The wiper is reset to the mid-scale position Dn=128,0x80 upon power-up.

To change the position of the wiper W, two byte should be sent. The first byte is the command to determine which pot to be selected. The second byte is the data to determine the position of the wiper. This byte is also denoted as Dn. When Dn=0, terminal B is connected to W. When Dn=255, W is changed to the closest position to A. For example, to set W0 of POT0 to the position of 100, Arduino should first sends 0x11 Write data, select POT0 and then 0x64 =100, decimal through the SPI.
• The resistance of each digital pot can be calculate by the equations below.

Requirements
• Hardware DFRduino UNO Mainboard or similar x 1 Bread board x 1 IO Expansion Shield for Arduino V7.1 optional x 1 Analog Cable 5Pin male to male x 1
• Software Arduino IDE Version requirements V1.8.x , Click to Download Arduino IDE from

Hardware Connection

The module can be connected to Arduino with the attached 5 pin male-to-male cable one end bonded together and the other end separated Insert the breakout into the breadboard and plug the cable with the bonded end to the breadboard where pin VCC, GND, SI, CS, SCK lie on leave pin SO unconnected . The individual end inserts into Arduino shown as follow.

Arduino UNO Connection Diagram

IO Expansion Shield V7.1 Connection Diagram

Sample Code

If the IO Expansion Shield is used for connection, the sentence "const int CS_PIN = 10;" should be change to "const int CS_PIN = 4;" in the sample code. Because the SS pin in the SPI interface of the shield connects to D4 internally.

Dual Digital Pot 100K
0520> This example generates two triangular waves to demonstrate the basic usage of dual digital pot.

Created 2017-8-31 By Henry Zhao

GNU Lesser Genral Public License. See for details. All above must be included in any redistribution.
/***********************Circuit Connections*******************

Digital Pot | Arduino UNO R3 | Oscilloscope

D10 SS

D11 MOSI

D13 SCK

VCC,PA0,PA1 |

GND,PB0,PB1 |

CH1- CH2-

CH1+
More datasheets: L06031R0AHLTR | L0603R82AHLTR | L0603R68AHLTR | L06033R3BHLTR | L0603120FHLTR | B65811J0250A041 | 67-21/T2C-YV2W2B22/2T | 18419 | ACW106 | CY7C1049CV33-15VC


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived DFR0520 Datasheet file may be downloaded here without warranties.

Datasheet ID: DFR0520 508807