Bed Wetting Pad with Arduino Alarm

Connect one wire to ground and the other to an analogue input. Then connect a 10K resistor from the same analogue input to +5V.

Then read that analogue input. The reading will drop as the pad gets wet. Print out the readings so you can see where to set the threshold for your alarm.