User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
laser_tripwire_rubber_band_shooter [2018/07/16 16:58]
glassgiant created
laser_tripwire_rubber_band_shooter [2018/08/09 16:34]
Line 1: Line 1:
 +====== How it works ======
 +A laser constantly shines on a [[https://​​wiki/​Photoresistor|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 ====== ====== Wiring Diagram ======
Line 6: Line 8:
 {{:​workshops:​rubber_band_shooter:​511968d9ce395f7c54000000.png?​400|}} {{:​workshops:​rubber_band_shooter:​511968d9ce395f7c54000000.png?​400|}}
 +====== Arduino Code ======
laser_tripwire_rubber_band_shooter.txt · Last modified: 2018/08/09 16:38 by glassgiant