Help with the SparkFun PIR sensor

I've attached the photo. I'm using the sketch here: http://itp.nyu.edu/physcomp/sensors/Reports/PIRMotionSensor

The analogRead on the alarm pin is showing 1023 without any change. The PIR sensor is connected to 5V. I tried replacing the short brown connection to the VIN pin but that didn't help.

Am I missing something really obvious?