detecting a switch

Do you have a ground connection between the reader and the Arduino?