Measure small capacitances with ATtiny85 (Digispark board)
The reason this doesn't work is that PB5 is pulled high (as it's used as -RESET pin on the board). The code can be rewritten to use only one ADC pin though.