Programmable Laser Light Show -- Arduino Controlled
by TechMartian in Circuits > Arduino
5577 Views, 37 Favorites, 0 Comments
Programmable Laser Light Show -- Arduino Controlled
![UNADJUSTEDNONRAW_thumb_b73.jpg](/proxy/?url=https://content.instructables.com/FOV/XAQ7/J6WGR2KQ/FOVXAQ7J6WGR2KQ.jpg&filename=UNADJUSTEDNONRAW_thumb_b73.jpg)
![UNADJUSTEDNONRAW_thumb_b7a.jpg](/proxy/?url=https://content.instructables.com/FW4/293V/J6WGR21G/FW4293VJ6WGR21G.jpg&filename=UNADJUSTEDNONRAW_thumb_b7a.jpg)
![UNADJUSTEDNONRAW_thumb_b79.jpg](/proxy/?url=https://content.instructables.com/FF0/77JX/J6WGR2XF/FF077JXJ6WGR2XF.jpg&filename=UNADJUSTEDNONRAW_thumb_b79.jpg)
This is a laser light show made with 3 swivelling servo motors that can create unique laser effects by taking advantage of a visual phenomenon called persistence of vision.
Persistence of vision is an optical illusion that occurs when visual perception of an object does not cease for some time after the rays of light proceeding from it have ceased to enter the eye.
We use this to our advantage by moving the servo motors quickly to produce a variety of lighting effects that the human eye will see as light drawings or patterns!
Mount the Mirrors
![UNADJUSTEDNONRAW_thumb_b6e.jpg](/proxy/?url=https://content.instructables.com/FR0/J3PI/J6WGR1SU/FR0J3PIJ6WGR1SU.jpg&filename=UNADJUSTEDNONRAW_thumb_b6e.jpg)
![UNADJUSTEDNONRAW_thumb_b71.jpg](/proxy/?url=https://content.instructables.com/FG2/ZZRT/J6WGR2FN/FG2ZZRTJ6WGR2FN.jpg&filename=UNADJUSTEDNONRAW_thumb_b71.jpg)
Add a bead of hot glue at the centre of the servo motor and stick the bottom of the heart-shaped mirror onto this hole. Blow on the glue until it solidifies.
Be patient for this step, the glue takes a while to dry.
Servo Mount
![UNADJUSTEDNONRAW_thumb_b6f.jpg](/proxy/?url=https://content.instructables.com/FGQ/HYWE/J6WGR1V8/FGQHYWEJ6WGR1V8.jpg&filename=UNADJUSTEDNONRAW_thumb_b6f.jpg)
![UNADJUSTEDNONRAW_thumb_b70.jpg](/proxy/?url=https://content.instructables.com/FZ0/46AH/J6WGR2DT/FZ046AHJ6WGR2DT.jpg&filename=UNADJUSTEDNONRAW_thumb_b70.jpg)
![UNADJUSTEDNONRAW_thumb_b72.jpg](/proxy/?url=https://content.instructables.com/F5U/JY4U/J6WGR2IS/F5UJY4UJ6WGR2IS.jpg&filename=UNADJUSTEDNONRAW_thumb_b72.jpg)
Cut holes the dimensions of the bottom of the servo motors
Wiring
![UNADJUSTEDNONRAW_thumb_b7c.jpg](/proxy/?url=https://content.instructables.com/F6V/FFWJ/J6WGR29Y/F6VFFWJJ6WGR29Y.jpg&filename=UNADJUSTEDNONRAW_thumb_b7c.jpg)
![UNADJUSTEDNONRAW_thumb_b7b.jpg](/proxy/?url=https://content.instructables.com/FIK/4FZK/J6WGR256/FIK4FZKJ6WGR256.jpg&filename=UNADJUSTEDNONRAW_thumb_b7b.jpg)
* Connect the red pin of each of the servos to the red ground rail which is then connected to 5V on the Arduino.
* Connect the black pin of each of the servos to the blue ground rail which is then connected to GND on the Arduino.
* Connect the orange pin of each of the servos to the 5, 6, and 9 on the Arduino. Order does not matter.
Code
![Screen Shot 2017-08-30 at 10.49.28 PM.png](/proxy/?url=https://content.instructables.com/FQ9/C0FT/J6WGR8WF/FQ9C0FTJ6WGR8WF.png&filename=Screen Shot 2017-08-30 at 10.49.28 PM.png)
# include "Servo.h" ///replace with "" with <>
Servo servo1; Servo servo2; Servo servo3;
void setup() { servo1.attach (5); servo1.attach (6); servo1.attach (9); }
void loop() { servo1.write (random(0, 90)); servo2.write (random(90, 150)); servo3.write (random(60,120)); }
Enjoy!
![UNADJUSTEDNONRAW_thumb_b74.jpg](/proxy/?url=https://content.instructables.com/FUE/OATD/J6WGR2N9/FUEOATDJ6WGR2N9.jpg&filename=UNADJUSTEDNONRAW_thumb_b74.jpg)
![UNADJUSTEDNONRAW_thumb_b78.jpg](/proxy/?url=https://content.instructables.com/FHR/UTBE/J6WGR2X0/FHRUTBEJ6WGR2X0.jpg&filename=UNADJUSTEDNONRAW_thumb_b78.jpg)
Enjoy your beautiful light show!