A fan is attatched to a relay, battery, flame sensor, and arduino. When the flame sensor senses a flame or in this case a light the arduino triggers the relay on and the fan then is turned on to blow out the flame that is sensed. This is coded using an “if” and “else” statement that is determined by the reading that the flame sensor takes.

https://youtube.com/shorts/ZmIkZp7K9w8