ANTHONY NISTOR // CANNON

Stackr Cannon

A Stackr add-on built around a rack and pinion. A continuous servo loads a spring, and the stored energy is released in one fast shot.

// SYSTEM ARCHITECTURE

About the Project

In the same spirit as the Digger project I continue my exploration of the mechanical systems with a spring loaded rack and pinion arming mechanism to create a cannon add-on for Stackr. By making this project I also expanded my knowledge of servos with understanding how continuous servos work, basically a dc motor with a controller onboard.

  • Continuous Servo An MG90D continuous-rotation servo keeps turning while it is commanded, instead of stopping at one angle.
  • Rack and Pinion The servo pinion drives a toothed rack, turning rotation into a straight pull along the barrel.
  • Spring Loaded Shot The mechanism stores energy in a spring and releases it quickly.
  • Mobile App The cannon takes its commands from the mobile app (simulating a gamepad) over BLE.
// CHALLENGES

Challenges

ISSUE SOLUTION
The servo could not execute arming completely. Used a less powerful spring.
The rack was getting stuck in the sliding rails Increased the gaps between the pieces to allow for more movement.
Projectiles were getting stuck in the magazine. Solved by redesigning the projectiles and increasing the arming speed so the next projectile drops clean in the barrel
Find the right mechanism to trigger Used the rack and pinion but with a twist, pinion has a gap in teeth
// CANNON RUN

Cannon Demo

The add-on mounted on Stackr.

CANNON_DEMO.MP4 LIVE DEMO

On the Bench

The cannon on Stackr, with the RobotiX One kit behind it.

// HARDWARE & SOFTWARE

System Component Breakdown

01

Mechanical Structure

Rack and pinion is the main mechanism that allows arming the cannon. The mechanism has twist to allow shooting the projectile. The mechanism is using mechanical energy storage for faster release.

02

Continuous Servo

To actuate the mechanism a continuous servo is used. This is called a 360 degrees servo but this is nothing more than a dc motor with a PWM controller onboard.

03

Remote Control Integration

The project provides two ways of controlling the mechanical part. Using the mobile app and the adapter for the RC receiver.

04

Stackr

Stackr is used as the main platform to install the cannon as an add-on. All the software is run on the Stackr's MCU.

// PROJECT MEDIA

Build Pictures

The printed cannon, the rack and pinion, and the add-on on Stackr.

CAD Design
CLICK TO ENLARGE

CAD Design

FreeCAD exploded view of the green cannon: barrel, rack, gears, servo, magazine, and side frames.

3D Printed Parts
CLICK TO ENLARGE

3D Printed Parts

Green barrel, rack, gears, side frames, and two red projectiles laid out on the bench.

Barrel Assembly
CLICK TO ENLARGE

Barrel Assembly

Green barrel with the toothed rack lined up beside the piston blocks.

Assembled Cannon
CLICK TO ENLARGE

Assembled Cannon

Finished green cannon on its frame, with the servo, gear train, and magazine on top of the barrel.

Projectile Magazine
CLICK TO ENLARGE

Projectile Magazine

Close-up of the magazine, with red projectiles visible through the front slots.

Add-On + Stackr
CLICK TO ENLARGE

Add-On + Stackr

Cannon bolted over the white Stackr, with the Nano ESP32 on the deck and the barrel pointed forward.

Packaged For Sale
CLICK TO ENLARGE

Packaged For Sale

Clear RobotiX One kit box labeled CANNON, with the green parts inside.

// SLIDESHOW

All Project Pictures

21 photographs and drawings from this build.

20261016_164056.jpg 1 / 21
20261016_164056.jpg
// TECHNICAL SPECIFICATIONS

System Parameters

PARAMETER SPECIFICATION / VALUE
Mechanical Characteristics Rack and Pinion Mechanism
Mechanical Characteristics Mechanical Energy Storage
Servo MG90D (Continuous Servo)
CAD Software FreeCAD
Manufacturing 3D Printing
Controller Mobile App
Special Features Full Auto Shooting