Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

DFR0520 Datasheet(PDF) 13 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) 13 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
 13 / 13 page
background image
DigitalPotWrite(POT0_SEL, POT0_Dn);
//set the resistance of
POT0
DigitalPotWrite(POT1_SEL, POT1_Dn);
//set the resistance of
POT1
//DigitalPotWrite(BOTH_POT_SEL, BOTH_POT_Dn);
//set the resistance
of both potentiometers
//DigitalPotWrite(POT0_SHUTDOWN, POT0_Dn);
//put POT0 into shu
ntdowm mode, ignore the second parameter
//DigitalPotWrite(POT1_SHUTDOWN, POT1_Dn);
//put POT1 into shu
ntdowm mode, ignore the second parameter
//DigitalPotWrite(BOTH_POT_SHUTDOWN, BOTH_POT_Dn);
//put both potentio
meters into shuntdowm mode, ignore the second parameter
}
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);
}
FAQ
For any questions, advice or cool ideas to share, please visit the DFRobot Forum.
 
                             https://www.dfrobot.com/wiki/index.php/Dual_Digital_Pot_(100K)_SKU:_DFR0520 12‐8‐17 



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