How do we track fire using 8 Channel Flame Sensor that will be driven by servo motor?
The workflow of this fire tracking is the reading of 8 Channel Flame Sensor simultaneously, and then searched for the smallest flame value using the MIN function of the Arduino. Why do we use the smallest? Because the closer the source of flame, the smaller the value will be generated.
After searching for the smallest value, it will then look for the position on which the Flame Sensor detects the flame, which will serve as the reference point of movement of the servo motor. If the first flame sensor is read, then the servo movement will go to 180 degrees. If the 8th flame sensor is read, then the servo will move to 0 degrees.”