
Utilised an LED and a Light-Dependent Resistor (LDR) in a closed box. A divider stops the light of the LED from falling on the LDR naturally. When smoke passes through the box, it causes light from the LED to scatter and reach the LDR. LDR output is read by an Adruino Nano, which displays a warning on the screen.