Introduction: Laser Gauntlet With 2 Axis Gimbal

Picture of Laser Gauntlet With 2 Axis Gimbal

It protec, but it also attac. Thus this laser gauntlet is indeed powerful.

What's more fun than shooting laser from your wrist? Shoot that laser straight with a dual gimbal balancing system.

Steadily fire laser at where your fist points with this dual gimbal wrist laser! Build your own right now with easy to find components by following this instructable!

(Do not point laser at other people or animals. Not to be used by children under the age of 13. Laser generator over certain output may be illegal in some countries.)

Step 1: BoM

Picture of BoM

* Foam Board

* Laser Pointer

* 2 Servo Motors

* Arduino

* Breadboard

* 2 Potentiometers

Step 2: Remove Paper

Picture of Remove Paper

* Cut the foam board to size so that it fits around your arm with some leeway.

* Foam board form the dollar store is very stiff, so remove the layer of paper on one side of the board so you can bend it around your arm.

Step 3: Roll It Up

Picture of Roll It Up

* Roll it up around your arm and glue the foam seems together with a hot glue gun.

Step 4: Servo Mount

Picture of Servo Mount

* Make one cutout for the servo mount on the arm.

Only one servo will be mounted onto the foam board since the other servo will sit atop the first servo to make a gimbal / turret mechanism for the laser.

Step 5: Mount Laser

Picture of Mount Laser

This powerful green laser is too heavy to be glue gunned onto the second servo motor. So we need to add some structural support.

* Apply glue onto the servo horn of the second servo motor -- the one not mounted onto the foam board yet. Stick the laser onto it, as centred (with reference to the centre of gravity of the laser) as possible.

* Tie a yarn around the laser pointer and the servo horn as it is drying so the yarn gets glued onto the servo horn as well.

Step 6: Mount Gimbal Mechanism

Picture of Mount Gimbal Mechanism

* Glue the first servo motor onto the foam board cut out.

* Glue the second servo motor's body onto the servo horn of the first servo.

Step 7: Wiring

Picture of Wiring

* Glue the breadboard and Arduino onto the foam board gauntlet

* Connect one of the outer pins of each of the potentiometer to the ground rail on the breadboard.

* Connect the other outer pin of each to the potentiometer to the power rail on the breadboard.

* Connect the power rail to 3.3V and the GND rail to GND on the Arduino.

* Connect the brown wires of each of the servo to the ground rail.

* Connect the red wires of each of the servo to the power rail.

* Connect the signal pin of each of the servos to pins 8 and 9, respectively.

Step 8: Code

Picture of Code
//include the servo library<br>#include <Servo.h>
//create the servo objects called servo1 and servo2
Servo servo1;
Servo servo2;
// declare the pins to which the servo and potentiometers is connected.
const int servoPin1 = 8;
const int servoPin2 = 9;
const int pot1 = 0;
const int pot2 = 1;
void setup() {
  //attach servo1 to pin 5 on the Arduino 101
  servo1.attach(servoPin1);
  //attach servo1 to pin 5 on the Arduino 101
  servo2.attach(servoPin2);
}
void loop() {
  // put your main code here, to run repeatedly:
  //record the value of the two potentiometers.
  int pot1Value = analogRead (pot1);
  int pot2Value = analogRead (pot2);
  // linearly scale the value of the sevo output from the 0 to 1023 range of the potentiometer
  // to the angle limits by the servo which is 0 to 180 degrees
  pot1Value = map(pot1Value, 0, 1023, 0, 150);
  pot2Value = map(pot2Value, 0, 1023, 0, 150);
  // record the now-adjusted value of the potentiometer to the servo motor
  servo1.write(pot1Value);
  servo2.write(pot2Value);
}

Step 9: Enjoy!

Picture of Enjoy!

Enjoy your awesome gauntlet!

Comments

About This Instructable

244views

3favorites

License:

Bio: Aerospace Engineer working in Software Development with a passion for Hardware.
More by TechMartian:Flying Captain America's Shield - RC PlaneWide Angle ShotsLED Ping Pong With Shift Register
Add instructable to: