Double Jump

Jan 2024

GOAL: Use gear reduction to run a stepper motor for 200 steps, but move a character (e.g Mario) from 90 to 180 degrees 

SKILLS: Gear Design, CAD (OnShape), python programming (event detection), using a limit switch, using a stepper motor, wiring, assembly, laser cutting, use of single board computer (Raspberry Pi), design, collaboration

This Super Mario Bros-themed gear mechanism is designed to transmit a full 360 degree rotation of the pinion gear (200 steps from a stepper motor)) to a 90 degree rotation of the final gear. The arc of the 90 degree rotation makes the Mario attached to the gear appear to be jumping up onto a ledge.

The system uses a Raspberry Pi 4, L298N motor driver, limit switch, 9V battery, and a stepper motor.

Design Constraints

Video

Gear Design

To design the gears I used equations to calculate things like base diameter, root diameter, outer diameter, pitch, filet radius, etc. 


The calculations are below:

Two different strategies were used to draw the involute curve and create a gear tooth shape that allows the contact point to move smoothly and facilitate smooth meshing. 


One of the strategies was to plot the equation in Desmos, and graph vertical lines that intersect to get the cartesian coordinates of the involute (see "involute with equation" folder above or screenshots below)

Wiring

DJ.py Code

Double Jump FINAL CODE.pdf

Code Summary

CAD

Testing Result

90 degrees on the dot! Yay!

Things to adjust in the future: