Electronic Components Datasheet Search
  English  ▼

X  

DFR0520 Datasheet(PDF) 9 Page - DFROBOT

Part # DFR0520
Description  Dual Digital Pot (100K) SKU: DFR0520
PDF  13 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  DFROBOT [DFROBOT]
Direct Link  https://www.dfrobot.com/
Logo DFROBOT - DFROBOT

DFR0520 Datasheet(HTML) 9 Page - DFROBOT

Back Button DFR0520 Datasheet HTML 5Page - DFROBOT DFR0520 Datasheet HTML 6Page - DFROBOT DFR0520 Datasheet HTML 7Page - DFROBOT DFR0520 Datasheet HTML 8Page - DFROBOT DFR0520 Datasheet HTML 9Page - DFROBOT DFR0520 Datasheet HTML 10Page - DFROBOT DFR0520 Datasheet HTML 11Page - DFROBOT DFR0520 Datasheet HTML 12Page - DFROBOT DFR0520 Datasheet HTML 13Page - DFROBOT  
Zoom Inzoom in Zoom Outzoom out
 9 / 13 page
background image
}
}
void DigitalPotWrite(int cmd, int val)
{
// constrain input value within 0 - 255
val = constrain(val, 0, 255);
// set the CS pin to low to select the chip:
digitalWrite(CS_PIN, LOW);
// send the command and value via SPI:
SPI.transfer(cmd);
SPI.transfer(val);
// Set the CS pin high to execute the command:
digitalWrite(CS_PIN, HIGH);
}
Experiment Results
Two triangular waves out of phase can be observed from the oscilloscope. If we zoom in a section of
the wave, the triangular wave is actually made up of many steps. Each steps correspond to one
wiper position. The width of the step is about 1ms, because the program delay for 1ms between
every wiper changes. The upstairs half cycle and the downstairs half cycle consist of 256 steps
each, therefore the period of the triangular wave is 256*2=512ms. The digital pot can quickly change
the wiper position and the settling time can up to micro seconds (18μs, typical).
Experiment Results



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com