Pros:
* Easy to wire up
* It's sensitive to light (obviously)
Cons:
* None
Here's a recent project I am working on (see video and screenshots below). It's a laser trip alarm system. All of these components are available from Amazon.
Laser part:
* Laser diode (GeeBat 10pcs Mini Laser Dot Diode Module)
* 4 x AA batteries (Eneloop)
* Battery Holder (WAYLLSHINE 6 Pcs 4 x 1.5V (6V) AA Battery Spring Clip)
* Wires
Reader part:
* Rfid reader (Gowoops RFID Kit - Mifare RC522 RF IC Card Sensor Module)
* Photoresistor (SUNKEE 20pcs Photo Light Sensitive Resistor Photoresistor)
* Piezo Buzzer (Piezo Buzzer - PS1240 from Adafruit. Not from Amazon)
* NodeMcu (HiLetgo New Version NodeMCU LUA)
* Breadboard (Elegoo 3pcs MB-102 Breadboard)
Photoresistor Tip:
In order for the photoresistor to act as in input in my NodeMcu microcontroller, here's what I did
1. Wire one leg to a 3V/5V rail
2. Wire another leg to the ANALOG input of the microcontroller. It needs to be an ANALOG input!
3. Wire up one leg of a 10K ohm resistor to the GROUND rail
4. Wire up the other leg of the resistor to the leg of the photoresistor that's connected to the ANALOG input (see my screenshots)