HTMAA 25

home about me final project

final project

Thinking

Wants

I’ve built a lot of little parts for quite practical things, so I wanted to make something more “useless” and whimsical. My main want:

Some secondary wants:

Idea

I was juggling quite a few different ideas in my head, before someone suggested to me that I could make something that shoots. What’s something fun that shoots? A peashooter!

Additional Design Requirements

Designing

The overall design process can then be seen from my week 1 documentation. Here is my v1 CAD:

It’s not small, it’s barely disassemblable, but I hope it will pass physically robust - everything delicate is encased, and the shell seems easy to make sturdy.

It definitely has moving parts.

This might have to largely be 3D printed. I’m thinking I could CNC-mill the base out of wood, though, which would make it more organic (suitable for a plant) and sturdy. Leaves and other decorations I think would be cool to lasercut out of clear green acrylic, and heat-gun into shape. Ping pong balls I will purchase.

Anyways, system diagram!

Focus: Shooting Mechanism

A gear chain might have been my first idea, but it likely wasn’t going to be the best one. I also sketched out the following mechanisms:

Where the summary is that:

Turns out I still couldn’t decide. I’ve always had trouble thinking of things in the abstract, so the next step was to prototype something.

Cue 3D printing week.

The gears were stiffer and louder than I expected, but worked fairly well. The stiffness could be mitigated by using bearings instead of having a plastic-on-plastic axel, but I was still worried about force transfer and the general loudness/impreciseness of plastic meshing, especially at speeds. With this in mind, I designed the sketched out the following mechanism next:

One motor, two gears, two bands.

// todo: do math - ball speed, motor speed, wheel size

// todo: cad, print, assemble, and test new shooting mechanism (with bearings!)

Focus: Spiral Lift

// todo: test print a bunch of spirals to find the min diameter one that can still print nicely + lift ping-pong balls reliably

Focus: Electronics

My input devices week implements and tests a distance-sensing system. My output devices week links these sensors to my chosen motors. Building on what I did there, I wrote the following code to activate the spiral lift whenever the shooting channel is empty and to shoot whenever someone comes within shooting range:

#include <Wire.h>
#include <VL53L1X.h>

#define RED 17
#define GREEN 16
#define BLUE 25

#define MOTORA 0
#define MOTORB 1

#define IRLED 26
#define PHOTOTRANSISTOR 27

// todo

Putting it all together

// todo: final sketches

// todo: complete CAD

Making

// todo: make

Plan to completion

weekclass contentfinal project todos
12networkingcad, tune, and assemble a functional shooting mechanism.
13interfacestest out spirals for spiral lift. complete cad to dimensions based on final spiral.
14wildcard weekmill spiral feeder. print internal supports. testing.
15project developmenttesting and debugging. print and finish exterior, including decorative features. film/edit final project video.