HTMAA 25
home about me final projectI’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:
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!
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!
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.
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!)
// todo: test print a bunch of spirals to find the min diameter one that can still print nicely + lift ping-pong balls reliably
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
// todo: final sketches
// todo: complete CAD
// todo: make
| week | class content | final project todos |
|---|---|---|
| 12 | networking | cad, tune, and assemble a functional shooting mechanism. |
| 13 | interfaces | test out spirals for spiral lift. complete cad to dimensions based on final spiral. |
| 14 | wildcard week | mill spiral feeder. print internal supports. testing. |
| 15 | project development | testing and debugging. print and finish exterior, including decorative features. film/edit final project video. |