I need to mount this sensor inside an aluminum or metallic enclosure. Then the sensor will stay inside the enclosure. The enclosure will be mounted outdoors on a bridge concrete or some part I dont know.
In above figures, blue is the cable for sensor wires, gray is the enclosure. Enclosure has IP67 rating so waterproof ect.
The sensor's metallic case is not connected to sensor ground. But when I inject earth noise to the case it somehow capacitively couples as noise.
I have too option: either I will directly mount the sensor's metallic case to the enclosure or I will mount it on a wooden or plastic plate and isolate the direct contact with enclosure.
Is it better to mount the sensor as in Figure 2?