/* Components required:
Laser module
cooling fan //op
arduino uno 328p
5v buzzer
switch
9V Battery and its connector //op
mirror cutting
LDR Sensor and a cap for it
usb cable
bread board
biometeric fingerprint sensor
gsm module
lcd //op
led 4
connecting wires
*/
void setup()
{
pinMode(10,OUTPUT); //LED Pin
pinMode(7,INPUT); // LDR Sensor
}
void loop()
{
if(digitalRead(7)==LOW ) // If LDR sensor Digital LOW then LED will turn on
{
digitalWrite(10,HIGH);
delay(3000);
}
else {
digitalWrite(10,LOW);
}
}