INTRODUCTION
This report has the objective of planning a project, that uses the utility of ARDUINO. This project consists in the construction and the programming of a machine in wood that has got two DC motors, flame sensor module, and a buzzer sensor. The task of this machine is to go straight at constant speed a flame sensor module that catches the flame and a buzzer gives the alarm.
PROGRAMMING ARDUINO
The following sketch allows you to start up the relay, except in the case that "val" result HIGH, there is a flame. In this case the relay is disabled and the buzzer makes a sound until "val" doesn't come back to be LOW.