You could set this up as a voltage divider network and us the ADC to read the voltage.

By the time you work it all out though I bet you could have the shift register shipped to you