The code will help to control the machinary when human approach close to it. It will generate alarm ...