In the pod behind the rear-view mirror.
I imagine it has an infrared LED and sensor.
With no rain, infrared shines out the windshield into space.
Rain drops reflect/refract it back at the sensor.
__________________
Warning: May contain traces of nuts.
|