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.
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.
| 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 |
The add-on mounted on Stackr.
The cannon on Stackr, with the RobotiX One kit behind it.
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.
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.
The project provides two ways of controlling the mechanical part. Using the mobile app and the adapter for the RC receiver.
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.
The printed cannon, the rack and pinion, and the add-on on Stackr.
FreeCAD exploded view of the green cannon: barrel, rack, gears, servo, magazine, and side frames.
Green barrel, rack, gears, side frames, and two red projectiles laid out on the bench.
Green barrel with the toothed rack lined up beside the piston blocks.
Finished green cannon on its frame, with the servo, gear train, and magazine on top of the barrel.
Close-up of the magazine, with red projectiles visible through the front slots.
Cannon bolted over the white Stackr, with the Nano ESP32 on the deck and the barrel pointed forward.
Clear RobotiX One kit box labeled CANNON, with the green parts inside.
21 photographs and drawings from this build.
| 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 |