logo elektroda
logo elektroda
X
logo elektroda

How to Change Resistance Value on AD5260 Digital Potentiometer via Serial Interface?

60 18
ADVERTISEMENT
  • #1 21668383
    Rachmawatha Wahyuni Surya
    Anonymous  
  • ADVERTISEMENT
  • #2 21668384
    Eugene Lisovy
    Anonymous  
  • #3 21668385
    Rachmawatha Wahyuni Surya
    Anonymous  
  • #4 21668386
    Eugene Lisovy
    Anonymous  
  • ADVERTISEMENT
  • #5 21668387
    Eugene Lisovy
    Anonymous  
  • #6 21668388
    Mark Harrington
    Anonymous  
  • #7 21668389
    Rachmawatha Wahyuni Surya
    Anonymous  
  • #8 21668390
    Rachmawatha Wahyuni Surya
    Anonymous  
  • ADVERTISEMENT
  • #9 21668391
    Eugene Lisovy
    Anonymous  
  • #10 21668392
    Eugene Lisovy
    Anonymous  
  • #11 21668393
    Rachmawatha Wahyuni Surya
    Anonymous  
  • ADVERTISEMENT
  • #12 21668394
    Eugene Lisovy
    Anonymous  
  • #13 21668395
    Rachmawatha Wahyuni Surya
    Anonymous  
  • #14 21668396
    Eugene Lisovy
    Anonymous  
  • #15 21668397
    Eugene Lisovy
    Anonymous  
  • #16 21668398
    Eugene Lisovy
    Anonymous  
  • #17 21668399
    Eugene Lisovy
    Anonymous  
  • #18 21668400
    Rachmawatha Wahyuni Surya
    Anonymous  
  • #19 21668401
    Rachmawatha Wahyuni Surya
    Anonymous  

Topic summary

The discussion focuses on programming the AD5260 digital potentiometer via a serial interface using an Arduino UNO. The AD5260 uses a simple non-addressable SPI protocol requiring correct SPI mode settings (notably SPI_MODE2 or SPI_MODE3) for proper communication. The user initially connected the device with +15V on pins A, VDD, SHDN, and PR, and ground on B, GND, and VSS, with SPI lines connected to Arduino pins 10 (CS), 11 (SDI), 12 (SDO), and 13 (CLK). Code examples using the Arduino SPI library were shared, but initial attempts failed due to incorrect SPI mode and possibly MISO line handling. After adjusting SPI mode, the device responded, but output voltage was unstable and nonlinear near maximum resistance settings, showing random fluctuations. Suggestions included verifying stable +15V supply, buffering the output with an operational amplifier follower to prevent loading effects, and confirming the device is used as a voltage divider. The internal protection of SHDN and PR pins by resistors and Zener diodes allows direct +15V connection. The user also inquired about using the AD5260 as a load for photovoltaic applications, noting that connecting PV positive to W and leaving A unconnected did not work. The discussion highlights the importance of correct SPI configuration, stable power supply, proper output buffering, and understanding device operation modes for successful programming and application of the AD5260 digital potentiometer.
Summary generated by the language model.
ADVERTISEMENT