Could it be a vibration sensor for a car alarm? Just a guess but I've noticed the location you're referring to seems to be a favorite location for a "tilt" or vibration sensor, and the three leads would support that. But then again I may be all wrong, what color are the wires?
|