Arduino UNO Fingerprint scanner door lock

Edit: When i connected the diode and it loaded my finger it works for 30 sec then its off, just like its in program