I'm trying to setup a simple program (labview) to use a digital potentiometer as a variable resistor and then read the voltage. I have preciously used an SPI dpot with success however I am having issues when switching to an i2C controlled dpot.
Following the datasheet found here ( http://www.analog.com/media/en/technical-documentation/data-sheets/AD5241_5242.pdf ) I have made the following connections.
 A1 -> 5V
 W1 -> Analog Input
 B1 -> DGND
 Vdd -> 5V
 SHDN -> Vdd (5V)
 SCL -> I2C SCL
 SDA -> I2C SDA
 AD0 -> 0V analog output
 AD1 -> 0V analog output
 DGND -> DGND
 Vss -> DGND
[12-14] -> No connections
When I make these connections and run my program, I end up reading a constant voltage which does not change with variation of the 8bit input. Furthermore, I am experiencing some chip overheating if the program runs for too long which shouldn't be occurring.
There are several areas which I think the error may be arising from:
- Pinout connections outlined above are incorrect.
- The slave address is incorrect. I am unsure whether I should be sending analog or digital outputs to the AD pins to define the slave address. the datasheet states " Package pin programmable address bits. Must be matched with the logic states at Pin AD1 and Pin AD0." I hav e set both to a logic low (I think) and therefore assume that AD0 and AD1 are 00. So the slave address bit is 01011 then 00 whch is 255. I have also tried setting both to boolean false with a digital output but I experience the same problems.
- Incorrect soldering. The chip is a SOIC chip and I have hand soldered it onto an adaptor board (winslow w9502RC) so that I can sit it into my breadboard.
Does anyone have an idea what the problem/s might be?