This is the case, I've got an MCP23017 IC to expand the outputs on the Raspberry Pi 2 as the others are going to be used (A0 A1 and A2 connected to 0V and RESET pin connected to 5V). Here are the problems:
When I first tested my IC today, it didn't work anymore, but 30 seconds later when I tried again, it worked correctly. This was strange and I saw that only 3.8V was delivered in total to the IC, which should be 5V. And while it was still working, 2minutes later, it changed again to 5V.
From a specific moment, everything stopped working, I tried 2 other MCP23017 ICs which also didn't work. It wouldn't show up the expander when doing:
i2cdetect -y 1
Almost an hour later, after testing everything in parts, nothing changed actually, tested it and didn't work again, then I tried again and it strangely enough worked again (again it only gave 3.8V!), one thing I noticed now is that the IC became hot so I shut down the RPi 2 correctly and turned the power of.
Other notes: when it didn't work, it also sometimes gave 3.8V and sometimes gave 5V, and the IC also became hot. And when it did work, it's exactly the same story.
This is a picture of the situation, (might the wood be giving the problem?? idk):
I hope you can help me out, as I really don't want to be struggling with this. Any hints/tips/possible explanations are very welcome!