In this project, implemented using an Arduino Uno board, we have used a photoresistor (photocell) and a red laser LED. The analog values from the photocell are read through analog pin A0. If the sensor value on pin A0 is less than 800 (which indicates an obstacle blocking the laser beam — this threshold was determined using the Serial Monitor), pin 13 of the Arduino, which is connected to an LED and a buzzer, will be activated. Otherwise, pin 13 remains off. The sensor data is also printed through the serial port, allowing us to monitor the status of pin A0 at any given moment.
Team Perfect Duo:
Comments