Skip to content

IAM3DUF/Turret-Code

Repository files navigation

Tank Turret Code

This project creates a remote-controlled turret that shoots Nerf Rival rounds. The turret is built on a tank-like wheelbase and uses two brushless motors to launch rounds and two servo motors to control turret orientation. The system is powered by two ESP32 microcontrollers, enabling wireless communication between the remote and the turret.

Features

  • High-speed launch system: Two brushless motors spin rapidly to shoot Nerf balls at high speeds.
  • Remote control: Separate remote control unit communicates with the turret over radio, offering flexible operation.
  • 360° movement: Dual servos allow full control over the turret's left-right and up-down movement.
  • Tank-style mobility (future goal): Mounted on a wheeled base for full maneuverability.

Components

  • ESP32 Microcontrollers (2): One on the turret and one in the remote, communicating wirelessly.
  • Brushless Motors (2): Spin to launch Nerf balls.
  • Servo Motors (2): Control the turret’s angle and direction.
  • Wheeled Base (optional): Planned feature for tank-like movement.

Usage

  1. Power up the turret and remote ESP32 units.
  2. Connect to the turret's Wi-Fi (if set to a local network mode) or pair through Bluetooth if enabled.
  3. Control the turret: Use joystick or button commands on the remote to aim and shoot.

Future Improvements

  • Mobile Base: Attach a motorized wheeled base to allow tank movement.
  • Advanced targeting: Integrate camera for computer-vision-based targeting.
  • Battery Power System: Upgrade for increased operational time.

Contributing

Feel free to fork the repository and submit pull requests for new features, optimizations, or bug fixes!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages