Projects / Ideas / Fog visibility sensor for highways

Fog visibility sensor for highways

AdvancedSafetyIdeaReviewed
In short

How do you build a fog visibility sensor for highways?

An IR LED and photodiode set a fixed distance apart measure how much light the air scatters, estimating visibility in winter fog. You need Arduino Nano, IR LED 940 nm (5 mm), Photodiode BPW34, LM358 Op-Amp, Resistor 100 kΩ, Resistor 220 Ω and SSD1306 OLED Display.

Level
Advanced
Time
About 240 min
Parts
7
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Modulate a light source and detect it synchronously to reject daylight.

Parts list

How to build it

  1. Mount the LED and photodiode at an angle so the photodiode only sees light scattered by fog
  2. Pulse the LED at 1 kHz and measure on and off readings
  3. Subtract off from on to cancel daylight
  4. Calibrate with a kettle's steam as fake fog
  5. Map the scatter reading to Clear, Haze, Fog, Dense fog

Related projects

Common questions

What parts do I need for the fog visibility sensor for highways?

Arduino Nano, IR LED 940 nm (5 mm), Photodiode BPW34, LM358 Op-Amp, Resistor 100 kΩ, Resistor 220 Ω and SSD1306 OLED Display.

How long does the fog visibility sensor for highways take to build?

About 240 minutes for a advanced maker.