Flame Sensor and Relay

Video of module functioning:https://www.youtube.com/watch?v=Vot8DkMpY0c

The circuit displayed in the video is ran by the Arduino board and operates three separate pieces to conditionally control a fan. The purpose of this is to detect a flame and trigger the fan to extinguish it. The first piece of the unit is the flame sensor which we modified to detect light instead of temperature. This measures light and reports it to the Arduino. The Arduino interprets those measurements across a range of values. When the flame sensor detects more light and the value crosses a threshold, that I determined, a signal is sent to the relay module. That signal instructs the relay module to close the normally open switch and completes the circuit connected to the fan.