Head office, Rana Pratap Bagh, Delhi011 2721 1512+91 97116 99511

Science project idea

Flame sensor store room alarm with a small sprinkler pump

An infrared flame sensor module detects the flicker and wavelength of a flame from a metre away. The Arduino sounds an alarm and runs a 5 V submersible pump through a relay so a tiny sprinkler sprays water on the model store room.

What it shows

An infrared flame sensor module detects the flicker and wavelength of a flame from a metre away. The Arduino sounds an alarm and runs a 5 V submersible pump through a relay so a tiny sprinkler sprays water on the model store room.

The science

A flame gives off strong infrared light near 760 to 1100 nm. The sensor is a photodiode filtered for that band, with a comparator that pulls its digital pin low when the light passes a level set by the on-board screw. The Arduino reads that pin, and the analog pin gives a rough distance. Because the pump motor draws more current than a pin can supply, a relay switches it. A short confirmation delay avoids triggering on a sunlit window or a camera flash.

Materials

Cost: under Rs 1,500. Many items come from home or from waste; spare parts such as LEDs, motors and wire are in the store.

  • An Arduino Uno clone and USB cable
  • An IR flame sensor module (single or 5-way)
  • A 5 V submersible mini pump with plastic tube
  • A 5 V relay module
  • A buzzer and a red LED with a 220 Ω resistor
  • A plastic tray, a small water tub and a cardboard model room
  • Jumper wires

Safety

For this project: Test the sensor with a candle held by an adult, at arm's length, over a metal tray, and keep water away from the Arduino. Never leave the candle unattended. The pump runs on 5 V only.

Never use mains electricity: power models with cells, batteries or a low-voltage adapter. Sharp and hot tools, flames and lab chemicals need an adult or your teacher beside you. Keep magnets, button cells and small parts away from young children, and wash your hands after making.

All the safety rules

Step by step

9 steps. Do them in order, and test each part before you go on to the next. Write what you notice in a notebook as you go.

  1. Wire the flame sensor: VCC to 5 V, GND to GND, DO to pin 2, AO to A0.

  2. Wire the buzzer to pin 5, the LED through its resistor to pin 6, and the relay IN to pin 7.

  3. Connect the pump through the relay COM and NO terminals to a separate 5 V source such as a power bank, with grounds joined.

  4. Place the pump in the water tub and run the tube to a pinholed cap above the model room as the sprinkler.

  5. Write a sketch that reads DO; if it stays low for 300 milliseconds, start the buzzer, LED and relay for ten seconds.

  6. Print the A0 value so you can show the reading rising as the candle comes closer.

  7. Turn the sensor screw until a candle at about 50 cm triggers it but a bright ceiling bulb does not.

  8. Have an adult bring a candle near the model: the buzzer sounds, the pump sprays, and the candle usually goes out.

  9. Add a reset button on pin 3 that silences the alarm after the pump cycle.

What you should see

A candle flame within about half a metre triggers the alarm and a ten-second spray; room lighting and a torch do not.

Viva questions

A teacher or a judge will ask how it works. Try to answer each question before you open it, then compare.

1Why does an ordinary bulb not trigger the sensor?

The filter passes only near infrared and the threshold is set above the small amount a bulb gives at that distance.

2What does the on-board screw change?

The reference voltage of the comparator, which sets how much infrared is needed to pull the digital pin low.

3Why wait 300 milliseconds before acting?

To ignore brief flashes such as a camera or reflection; a real flame stays detected.

4Why keep the pump supply separate?

The motor draws current spikes that could reset the Arduino if they share the USB 5 V line.

Free ebook: Viva Questions for Science Projects

Take it further

Use a 5-way flame sensor array and turn a servo so the sprinkler points towards the strongest reading.

Change one thing, measure what happens, and add a table or chart of your readings: that is what turns a model into your own investigation.

Free ebooks for this project

WhatsApp us