This is a demo project for the Pmod DPOT made by Digilent. This module is a digitally controlled potentiometer, and in this application it will be used as a voltage divider. To control the Pmod, an Arduino UNO is used. The Pmod is controlled through the SPI interface, the accepted input values are between 0 and 255, so in this case the, if the voltage between the A and B pins is 5V, the voltage at the W pin is x*5V/256 = x*19.5mV, where x is the input number.
Using the Pmod DPOT with Arduino Uno
Application notes for Pmod DPOT and Arduino Uno. In this app, the output voltage will go from 0 to 5 V, changing every second.
BeginnerShowcase (no instructions)1 hour1,607
Thanks to Lextronics.