Arduino Controlled Turret

by TNT in Circuits > Gadgets

348 Views, 1 Favorites, 0 Comments

Arduino Controlled Turret

Screen Shot 2023-09-09 at 11.23.37 AM.png
Screen Shot 2023-09-09 at 11.23.27 AM.png
Screen Shot 2023-09-09 at 11.23.20 AM.png
Screen Shot 2023-09-09 at 11.23.03 AM.png
Screen Shot 2023-09-09 at 11.23.12 AM.png

this battery shooting turret is fully controlled and moved by Arduino. It requires very dangerous work and supplies

that can steal your life. So I have one word: BE CAREFUL!!!

Supplies

Screen Shot 2023-09-09 at 11.26.20 AM.png

you will need:

  • a ball bearing
  • an m-80 or m-90 firecracker
  • glue
  • Arduino mega or uno
  • micro servo
  • 23A 12V battery
  • a strip of paper
  • two wires

The Tube

Screen Shot 2023-09-09 at 11.26.02 AM.png
Screen Shot 2023-09-09 at 11.26.08 AM.png

apply glue to one end of the strip. put the battery at the other end and roll it up completely.

make sure the battery fits very snugly in the tube.

Fillament

Screen Shot 2023-09-09 at 11.25.51 AM.png
Screen Shot 2023-09-09 at 11.25.14 AM.png
Screen Shot 2023-09-09 at 11.25.36 AM.png
Screen Shot 2023-09-09 at 11.25.09 AM.png

make a filament at the end of the wires then secure the filament inside the tube.

TNT

Screen Shot 2023-09-09 at 11.25.01 AM.png
Screen Shot 2023-09-09 at 11.24.45 AM.png
Screen Shot 2023-09-09 at 11.24.50 AM.png
Screen Shot 2023-09-09 at 11.24.54 AM.png
Screen Shot 2023-09-09 at 11.24.37 AM.png
Screen Shot 2023-09-09 at 11.24.14 AM.png
Screen Shot 2023-09-09 at 11.24.26 AM.png

be very, very careful. this step could end your life. gently pry open the top of the firecracker and dump out the contents.

carefully put the powder into the tube and seal it with very quick drying epoxy.

Servo

Screen Shot 2023-09-09 at 11.23.51 AM.png
Screen Shot 2023-09-09 at 12.21.14 PM.png
Screen Shot 2023-09-09 at 12.26.51 PM.png
Screen Shot 2023-09-09 at 11.23.46 AM.png
Screen Shot 2023-09-09 at 11.24.02 AM.png
Screen Shot 2023-09-09 at 11.24.08 AM.png

Glue the ball bearing to the tube. Then attach the servo to the bearing with tape. add the filament wires to 5V and gnd pins on the Arduino. connect the servo to the Arduino

Code

// Include the Servo library
#include
// Declare the Servo pin
int servoPin = 3;
// Create a servo object
Servo Servo1;
void setup() {
// We need to attach the servo to the used pin number
Servo1.attach(servoPin);
}
void loop(){
// Make servo go to 0 degrees
Servo1.write(0);
delay(1000);
// Make servo go to 90 degrees
Servo1.write(90);
delay(1000);
// Make servo go to 180 degrees
Servo1.write(180);
delay(1000);
}

Test It, and You're Done

Screen Shot 2023-09-09 at 11.22.32 AM.png
Screen Shot 2023-09-09 at 11.22.38 AM.png
Screen Shot 2023-09-09 at 11.22.52 AM.png

Test It, And You're Done!!! And stay safe