A great educational tutorial on making your own laser tripwire with Raspberry Pi. via raspberry.org
In this resource you will make a laser tripwire, using a laser pointer and a Raspberry Pi.
What You Will Learn
By creating a laser tripwire with your Raspberry Pi, you will learn:
How to use GPIO pins
How to create a circuit on a breadboard
Controlling GPIO pins with Python code and GPIO Zero
How to use a capacitor to get readings from analogue sensors
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!