That wont be it mate, take the lid off the brake fluid and make sure the float is working ok, check the wires on the top, wiggle the handbrake and watch the light to check for a lose connection, other than that do your pads have wires coming from them (wear indicators) check these wires
sounds like a lose connection somewhere to me