User Tools

Site Tools


laser_tripwire_rubber_band_shooter

This is an old revision of the document!


How it works

A laser constantly shines on a photoresistor. The Arduino constantly reads the voltage from a voltage divider made from a photoresistor and a 20k resistor. When a person interrupts the laser beam, the resistance of the photoresistor drops. The Arduino detects this as a change in voltage and sends a signal to the servo to change positions, releasing a rubber band.

Wiring Diagram

Voltage Divider Equation

Arduino Code

laser_tripwire_rubber_band_shooter.1533832475.txt.gz · Last modified: 2018/08/09 16:34 by glassgiant