Read External Button with Arduino Analog Pins

What voltage is on the red and black lines?

Shouldn't you be measuring the voltage between the Yellow and black and the Green and black?

If you have a link to the datasheet for your device please post it.

In any case, tell us what the device is.

...R