Introduction: Programmable Laser Light Show -- Arduino Controlled

Picture of Programmable Laser Light Show --  Arduino Controlled

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!

Step 1: Mount the Mirrors

Picture of Mount the Mirrors

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.

Step 2: Servo Mount

Picture of Servo Mount

Cut holes the dimensions of the bottom of the servo motors

Step 3: Wiring

Picture of Wiring

* 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.

Step 4: Code

Picture of Code
# 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));
}

Step 5: Enjoy!

Picture of Enjoy!

Enjoy your beautiful light show!

Comments

CristianS82 (author)2017-09-11

Muito legal. precisamos de mais conteúdos iguais a esse. Parabéns.

About This Instructable

1,601views

29favorites

License:

Bio: Aerospace Engineer working in Software Development with a passion for Hardware.
Add instructable to: