Hi everybody,
I'm having problems trying to control a digital potentiometer MCP4151 with my Arduino.
I've tried and checked everything, the card is OK, I tested a hundred different codes, but the resistance on the wire just won't change. I tested the voltage on the POW pin and it gets stuck at 0,025V or 2,5V or 0,71V (depending on his mood I guess because I don't change the program).
here's the datasheet of the chip https://cdn-reichelt.de/documents/datenblatt/A200/MCP4151_MIC.pdf
and you can find my code and schematic view of electronique assembly.
Thanks a lot for your Help ! You're my last hope !
test_SPI.ino (552 Bytes)