WEBVTT
Kind: captions
Language: en

00:00:00.240 --> 00:00:09.120 align:start position:19%
I have a confession to make.
I am not good at knife throwing.

00:00:07.120 --> 00:00:13.759 align:start position:19%
I just can't get them to stick into the
target. So, I figured it'd be easy to

00:00:11.840 --> 00:00:18.160 align:start position:19%
build a machine to throw the knives for
me because I'm just so darn good at

00:00:15.920 --> 00:00:21.840 align:start position:19%
building robots. But making a knife
throwing doohickey is not as simple as

00:00:19.920 --> 00:00:26.160 align:start position:19%
giving a knife to Mr. Robboto and
letting it go buck wild. That would be

00:00:24.160 --> 00:00:30.560 align:start position:19%
irresponsible of me. And it wouldn't let
go of the blade, which kind of defeats

00:00:27.920 --> 00:00:34.719 align:start position:19%
the whole purpose. In fact, making a
robot that throws knives isn't shrimple

00:00:32.719 --> 00:00:40.079 align:start position:19%
at all. And this past month has made me
seriously question what length of school

00:00:36.480 --> 00:00:43.520 align:start position:19%
bus I should be riding in. I hate you.
Now, before I show you how I got to this

00:00:41.760 --> 00:00:49.120 align:start position:19%
point, allow me to go over the goals for
the robot real quick.

00:00:46.719 --> 00:00:53.199 align:start position:19%
Okay, my first goal is to survive making
this video. My second goal is for the

00:00:51.120 --> 00:00:57.360 align:start position:19%
robot to throw lots of knives, as seen
here in my best paint work to date. It

00:00:55.600 --> 00:01:00.960 align:start position:19%
should also have an onboard live feed
camera and be able to remotely control

00:00:59.039 --> 00:01:05.680 align:start position:19%
my sphincter. But before I could design
anything, I had to start with this, the

00:01:03.520 --> 00:01:11.119 align:start position:19%
dullest knife in the world. Now, there
are many different ways to throw a

00:01:07.119 --> 00:01:17.360 align:start position:19%
knife, such as a half spin, a full spin,
a full spin into a half spin.

00:01:15.439 --> 00:01:21.600 align:start position:19%
No way. But let's be honest here. There
is a 0% chance I am smart enough to

00:01:19.759 --> 00:01:25.680 align:start position:19%
figure out how to make a robot rotate a
knife in flight for it to land point

00:01:23.600 --> 00:01:29.520 align:start position:19%
first into a target. So instead, I'll be
using a technique called flat throwing,

00:01:27.759 --> 00:01:32.640 align:start position:19%
where you begin with a pelvic thrust,
stopping on your right foot and making

00:01:31.040 --> 00:01:36.960 align:start position:19%
sure not to forget it. Then you have to
bring the knife around town, and if you

00:01:34.560 --> 00:01:40.880 align:start position:19%
let go at the right time, you'll be
astounded that that actually worked. To

00:01:39.040 --> 00:01:45.759 align:start position:19%
see if this technique would even work on
a robot that's incapable of thrusting

00:01:42.880 --> 00:01:49.680 align:start position:19%
its pelvis, I ooed a piece of wood to my
drill and hung a knife off one end, but

00:01:47.840 --> 00:01:55.280 align:start position:19%
the whole thing was a little unbalanced,
which made it kind of sketchy, so I

00:01:51.439 --> 00:01:58.960 align:start position:19%
simply balanced it with another knife.
This surprisingly worked quite well.

00:01:57.439 --> 00:02:02.719 align:start position:19%
We'll work on a better knife release
later, but for now, I want to replace

00:02:00.560 --> 00:02:07.040 align:start position:19%
the drill motor with a motor, sands the
drill, that I can control electricitally

00:02:04.880 --> 00:02:11.120 align:start position:19%
with an intelligent conglomerate of sand
to spin up the throwing arm. Thus far,

00:02:08.959 --> 00:02:14.959 align:start position:19%
I've been using Dween as robot brains
for all of my projects on this channel,

00:02:12.879 --> 00:02:19.920 align:start position:19%
but today I'm stepping into the 21st
century and learning how to use an

00:02:16.560 --> 00:02:23.760 align:start position:19%
ESP32. Now, imagine the ESP32 as a
cracked out Arduino Uno on Ozimpic, and

00:02:22.239 --> 00:02:27.840 align:start position:19%
you'll have a pretty good idea of its
capabilities. It can yap with Wi-Fi and

00:02:25.920 --> 00:02:34.319 align:start position:19%
has Bluetooth from the factory and can
even turn on an LED. Oh, let's go.

00:02:32.800 --> 00:02:38.080 align:start position:19%
But the real reason I'm using this
little firecracker is for the cam girl

00:02:36.319 --> 00:02:42.000 align:start position:19%
version, which allows me to host a web
server and live stream a camera feed,

00:02:39.840 --> 00:02:46.560 align:start position:19%
which I can access on a browser. Now, I
can charge $10 a month for live stream

00:02:44.000 --> 00:02:50.239 align:start position:19%
access to pay for my BBL. All of that's
pretty insane for something the size of

00:02:48.239 --> 00:02:54.480 align:start position:19%
my pinky if my pinky was slightly
bigger. The next step was to interface

00:02:52.319 --> 00:02:57.760 align:start position:19%
the 30 deuce with my motor, but I can't
directly connect the two together

00:02:56.000 --> 00:03:00.800 align:start position:19%
because the wires are too short.
Instead, I'll have to use this motor

00:02:59.200 --> 00:03:04.560 align:start position:19%
driver that's chambered in a standard
NATO round as the middleman between the

00:03:02.800 --> 00:03:08.879 align:start position:19%
two. I then struggled to get the motor
to spin for an hour until I changed a

00:03:06.720 --> 00:03:14.080 align:start position:19%
one to a two, and now it works
perfectly. Boy, do I love coding. After

00:03:12.239 --> 00:03:18.159 align:start position:19%
carefully transporting the electronics
to a bigger table and 3D printing some

00:03:16.159 --> 00:03:22.080 align:start position:19%
test knives because the metal ones could
accidentally poke something important, I

00:03:20.159 --> 00:03:27.280 align:start position:19%
had the motor work the shaft in such a
way that excited the wood up to a couple

00:03:24.159 --> 00:03:31.120 align:start position:19%
binges worth of RPMs. Okay, nothing
broke until the instant I stopped

00:03:29.040 --> 00:03:35.200 align:start position:19%
filming when the shaft coupling lost its
load. But that's okay because this wood

00:03:33.280 --> 00:03:38.400 align:start position:19%
piece is an abomination and I need to
replace it with something more robotic

00:03:36.879 --> 00:03:42.400 align:start position:19%
looking such as this beautifully
maintained piece of aluminum. Now,

00:03:40.080 --> 00:03:46.959 align:start position:19%
believe it or not, I choose not to. I
don't have a mill, so I can't machine an

00:03:44.319 --> 00:03:52.480 align:start position:19%
aluminum part. And after calling around
at the local job shops to get my robot

00:03:48.959 --> 00:03:56.080 align:start position:19%
arm made, it wasn't looking good. $700?
What do you think I'm made out of? Gold?

00:03:54.640 --> 00:03:59.439 align:start position:19%
No, mine has touched me. It's just my
email address. That is until I was paid

00:03:57.680 --> 00:04:04.159 align:start position:19%
to randomly stumble upon this website
called JLC CNC, which specializes in

00:04:02.080 --> 00:04:08.640 align:start position:19%
quickly making custom CNC parts for
cheap and just so happens to be today's

00:04:06.080 --> 00:04:12.239 align:start position:19%
sponsor. This is what JLC CNC looks like
through a moninocular. And to show you

00:04:10.239 --> 00:04:16.160 align:start position:19%
how easy it is to order your own custom
CNC parts from them, I'll be attempting

00:04:14.159 --> 00:04:21.919 align:start position:19%
to order my robot arm across the room
and upside down before I pass out. Where

00:04:18.560 --> 00:04:26.720 align:start position:19%
is the mouse? JLC CNC is your trusted
CNC machining partner. Whether you like

00:04:23.919 --> 00:04:30.960 align:start position:19%
it or not. Oh yeah. They offer quick,
affordable, high precision custom parts

00:04:28.639 --> 00:04:35.440 align:start position:19%
for engineers, psychos in their garages,
businesses, your grandmother, you name

00:04:32.880 --> 00:04:38.880 align:start position:19%
it. Anyone can get in on the action.
Whether you have commitment issues and

00:04:36.960 --> 00:04:41.680 align:start position:19%
just want a single prototype, or if
you're looking for a long-term

00:04:40.080 --> 00:04:46.400 align:start position:19%
relationship filled with thousands of
passionate parts, JLC CNC loves you and

00:04:44.800 --> 00:04:50.960 align:start position:19%
will treat you right with competitive
prices and no hidden setup fees.

00:04:48.479 --> 00:04:54.240 align:start position:19%
Tolerance, uh, medium's good with me.
Don't matter. It ain't that deep. How

00:04:52.320 --> 00:04:57.440 align:start position:19%
much is that? 60 bucks, 40 bucks. I
already got my quote. Heck yeah. It's

00:04:56.000 --> 00:05:01.680 align:start position:19%
that easy. And once you order your part,
JLC CNC can deliver it to your front

00:04:59.360 --> 00:05:06.160 align:start position:19%
door in as fast as three business days,
which is just insane. Don't miss out on

00:05:03.520 --> 00:05:10.720 align:start position:19%
JLC CNC's special offer of $70 worth of
coupons, which could make your custom

00:05:07.680 --> 00:05:15.280 align:start position:19%
CNC parts cost as little as $1. And once
my beautiful aluminum arm arrived a mere

00:05:12.960 --> 00:05:18.880 align:start position:19%
6 days after I ordered it, I immediately
learned that aluminum loses to rock,

00:05:17.280 --> 00:05:23.360 align:start position:19%
which makes you appreciate the raw power
of paper that much more. But aluminum

00:05:21.280 --> 00:05:27.039 align:start position:19%
does beat wood in this case, just not my
wood. Wait a minute. Were you not going

00:05:25.120 --> 00:05:30.320 align:start position:19%
to explain whatever that is? Remember
how this robot is supposed to throw

00:05:28.560 --> 00:05:33.759 align:start position:19%
knives? Well, to do that, it needs a
controlled way to release them. So, I

00:05:32.000 --> 00:05:37.840 align:start position:19%
made this thingabob that holds six
knives and can release one at a time by

00:05:35.759 --> 00:05:41.759 align:start position:19%
pulling a bubble thing back a secretive
amount each time. I turned this into a

00:05:40.000 --> 00:05:45.280 align:start position:19%
pack and renan system, but needed
something to mount it to. So, I made

00:05:43.280 --> 00:05:48.800 align:start position:19%
this disgustingly ugly print that only
your mother could love. And after

00:05:46.800 --> 00:05:52.400 align:start position:19%
stealing a servo to drive the gear,
mating everything together, and loading

00:05:50.560 --> 00:05:57.520 align:start position:19%
the knives, I made sure to get a good
angle to see if it would work.

00:05:55.199 --> 00:06:01.120 align:start position:19%
Is it working?
I did a good job of hiding it here, but

00:05:59.440 --> 00:06:04.720 align:start position:19%
I was actually pretty excited that it
worked. And now that we're all caught

00:06:02.639 --> 00:06:08.479 align:start position:19%
up, I began the arm installation process
by carefully mounting the arm coupler to

00:06:06.639 --> 00:06:13.840 align:start position:19%
the shaft and then attempted to mount my
finger to the coupler.

00:06:11.840 --> 00:06:17.919 align:start position:19%
I then coupled the arm to the coupler of
arms and then put the whole thing on the

00:06:15.600 --> 00:06:21.919 align:start position:19%
motor. Next, I installed the knife
holder assembly onto the throwing arm

00:06:20.000 --> 00:06:26.000 align:start position:19%
even after I dropped my nut. And you
refused to help me look for it, which I

00:06:23.840 --> 00:06:29.199 align:start position:19%
did not appreciate. Where'd it go? Can
you see it? Point it out for me.

00:06:27.520 --> 00:06:32.800 align:start position:19%
Finally, everything was ready for a spin
test to see if the motor could even move

00:06:31.039 --> 00:06:39.680 align:start position:19%
all of this proverbial junk in the
trunk.

00:06:35.730 --> 00:06:43.039 align:start position:19%
[Music]
It was kind of janky and it looked like

00:06:41.520 --> 00:06:46.639 align:start position:19%
some biblically accurate plane
propeller. So, I cranked up the speed to

00:06:44.880 --> 00:06:49.880 align:start position:19%
see if it would smooth out and hopefully
hold together.

00:06:50.479 --> 00:06:56.880 align:start position:19%
Okay. Okay. Everything was working
suspiciously well. And now I wanted to

00:06:55.199 --> 00:07:00.319 align:start position:19%
start throwing knives. But those who
don't have this plane on their second

00:06:58.400 --> 00:07:03.919 align:start position:19%
monitor may have noticed the servos are
connected to air, which isn't a great

00:07:02.160 --> 00:07:07.759 align:start position:19%
conductor unless the electricity gets
angry enough. Luckily, these servos are

00:07:05.919 --> 00:07:11.680 align:start position:19%
mildmannered, but if I connect directly
to the microcontroller, the wires will

00:07:09.520 --> 00:07:17.599 align:start position:19%
just get tangled and snap. Don't believe
me? Check this out.

00:07:13.780 --> 00:07:20.720 align:start position:19%
[Music]
Believe me now. And I could have sworn

00:07:19.360 --> 00:07:24.560 align:start position:19%
there was an invention that could be
stationary on one side but rotate and

00:07:22.720 --> 00:07:28.160 align:start position:19%
pass signals through on the other, but I
can't remember what it's called. Well, I

00:07:26.560 --> 00:07:31.759 align:start position:19%
couldn't remember. So instead, I bought
this slip ring that's pretty fun to play

00:07:29.919 --> 00:07:37.199 align:start position:19%
with. But the inside better be made of
actual gold because I paid $62 for this

00:07:35.280 --> 00:07:41.280 align:start position:19%
glorified fidget toy. But how does a
slip ring even work? To help answer

00:07:39.280 --> 00:07:44.479 align:start position:19%
that, I've got two pieces of wire and a
bearing. If you loop the first wire

00:07:42.960 --> 00:07:48.000 align:start position:19%
through the bearing and connect it to
itself, and then take the second wire

00:07:46.319 --> 00:07:51.840 align:start position:19%
and throw it away, you'll understand.
And I have no idea how these things

00:07:49.759 --> 00:07:55.680 align:start position:19%
work. And once I connected it to the arm
and neutered the robot by removing the

00:07:53.759 --> 00:07:59.440 align:start position:19%
scary metal knives and replacing them
with their plastic counterparts, I was

00:07:57.680 --> 00:08:06.120 align:start position:19%
certain that some knives were about to
be thrown.

00:08:02.479 --> 00:08:06.120 align:start position:19%
Okay, now release.

00:08:08.000 --> 00:08:15.120 align:start position:19%
Yes. Yes, it worked. Hold on to that
happiness, bud, because where you're

00:08:12.879 --> 00:08:18.800 align:start position:19%
headed, it's in short supply. Right now,
the knives release when the urge to do

00:08:16.800 --> 00:08:22.720 align:start position:19%
so calls. But the next challenge is to
get them to release at a specific point

00:08:20.560 --> 00:08:26.800 align:start position:19%
so I can actually hit targets. To do
this, the robot requires omniscience of

00:08:25.039 --> 00:08:30.960 align:start position:19%
the speed of the arm, the position of
the motor, and servo actuation time. The

00:08:29.360 --> 00:08:34.159 align:start position:19%
speed of the arm is pretty simple to
find. And I'll just measure the

00:08:32.240 --> 00:08:38.000 align:start position:19%
rotations per second and inform the
robot so it can adjust accordingly.

00:08:36.159 --> 00:08:41.839 align:start position:19%
These motors are actually stepper motors
which know its position by counting the

00:08:39.919 --> 00:08:46.160 align:start position:19%
steps. And if you listen closely, you
can hear each step as it rotates. Step.

00:08:44.480 --> 00:08:50.320 align:start position:19%
And by tickling these motor driver
switches just the right way. I set up

00:08:48.160 --> 00:08:54.480 align:start position:19%
the motor to do about 350 steps per
revolution, which is a lot harder than

00:08:52.160 --> 00:08:58.160 align:start position:19%
you may think. Finally, we arrive at
servo actuation time and then

00:08:56.240 --> 00:09:01.839 align:start position:19%
immediately depart because at this point
I just guessed with the three key

00:09:00.000 --> 00:09:05.120 align:start position:19%
ingredients now stewing in the robot
brain. I cheated a little bit and

00:09:03.519 --> 00:09:11.120 align:start position:19%
physically pointed out where the knife
should go, which probably made it easier

00:09:07.040 --> 00:09:15.440 align:start position:19%
for the robot to do this.
Now, as cool as that looked, it was pure

00:09:13.120 --> 00:09:19.760 align:start position:19%
luck. I ran the exact same test again in
most slow and this time the robot power

00:09:17.519 --> 00:09:23.360 align:start position:19%
slammed the knives into the concrete. I
decided to blame arm slippage for this

00:09:21.519 --> 00:09:26.480 align:start position:19%
war crime against the knife people. So I
began to make a better test setup by

00:09:25.200 --> 00:09:30.160 align:start position:19%
installing everything on this
conveniently branded box. It looked a

00:09:28.640 --> 00:09:33.760 align:start position:19%
lot cooler now, but the arm was going to
hit the non-turning table. So I mounted

00:09:31.920 --> 00:09:37.680 align:start position:19%
a yes turning table to the bottom and
then put it all on a little test stand.

00:09:35.760 --> 00:09:41.040 align:start position:19%
And since it already swivels, I might as
well install a motor into the test stand

00:09:39.440 --> 00:09:44.640 align:start position:19%
and then put them together. But that
still wasn't tall enough to clear the

00:09:42.480 --> 00:09:48.560 align:start position:19%
table. So, I handcrafted another box and
stacked it up. It was kind of wobbly,

00:09:46.800 --> 00:09:52.399 align:start position:19%
though. So, I printed these L brackets,
installed them, and realized I

00:09:50.399 --> 00:09:56.399 align:start position:19%
accidentally made the whole robot. My
bad, player. The final piece to this

00:09:54.160 --> 00:10:00.080 align:start position:19%
awful puzzle was this awesome hat. But
these holes ain't here just for looks,

00:09:58.320 --> 00:10:04.240 align:start position:19%
they're for looking. The round hole is
for the ESP32 camera to gander through,

00:10:02.560 --> 00:10:08.320 align:start position:19%
while the round hole is for the visible
laser I bought because lasers are cool

00:10:06.160 --> 00:10:11.839 align:start position:19%
and robotlike, and I just blinded you.
My bad, pimp. But just what's going to

00:10:10.080 --> 00:10:15.839 align:start position:19%
go in these round holes? the world's
smallest pair of binoculars. Don't be

00:10:13.920 --> 00:10:19.920 align:start position:19%
ridiculous. You know, I need you to
understand it's just a LAR sensor. I

00:10:17.760 --> 00:10:24.000 align:start position:19%
then partok in six hours of what a snake
technician must feel like. But once they

00:10:21.600 --> 00:10:27.680 align:start position:19%
were all caged, they behaved correctly.
And after checking that the LAR sensor

00:10:25.760 --> 00:10:32.600 align:start position:19%
was detecting the right range, it was
finally time to take the robot for a

00:10:29.600 --> 00:10:32.600 align:start position:19%
spin.

00:10:34.000 --> 00:10:39.440 align:start position:19%
[Music]
Now I just needed to throw the knives at

00:10:37.040 --> 00:10:45.120 align:start position:19%
the target. That should be really easy,
right? Welcome to the next 87 hours of

00:10:42.959 --> 00:10:48.560 align:start position:19%
my life. I don't have any snow cones.
Sorry. At first, it was just being a

00:10:46.880 --> 00:10:52.320 align:start position:19%
greedy little freak and wouldn't let go
of the knives. Then I whispered sweet

00:10:50.480 --> 00:10:55.839 align:start position:19%
nothings into its processor and it let
go of a single one in the wrong

00:10:53.839 --> 00:11:01.760 align:start position:19%
direction. Next, it got angry, threw
some knives, and just stopped spinning.

00:10:59.600 --> 00:11:05.440 align:start position:19%
This thing has one nasty attitude, but I
was determined to beat my fingies into

00:11:03.600 --> 00:11:09.760 align:start position:19%
the keyboard for as long as it took to
get this thing working.

00:11:07.440 --> 00:11:13.040 align:start position:19%
I tried and tried and even tried again,
but for the life of me, it would not

00:11:11.519 --> 00:11:19.440 align:start position:19%
throw the knives where they should go,
and I was starting to lose my cool. It's

00:11:15.680 --> 00:11:22.480 align:start position:19%
going the wrong way. I hate you. Why is
it rotating the wrong way? All of a

00:11:20.640 --> 00:11:27.920 align:start position:19%
sudden, I haven't changed anything.
Well, on and that's when I finally

00:11:25.839 --> 00:11:31.760 align:start position:19%
realized maybe the plastic knives are
the issue. So, I constructed a little

00:11:29.920 --> 00:11:36.120 align:start position:19%
box for the bot, loaded up the metal
knives, and hid away in a corner.

00:11:37.770 --> 00:11:40.990 align:start position:19%
[Music]

00:11:44.800 --> 00:11:49.920 align:start position:19%
Now, that was promising, but I'm pretty
sure the knife tip isn't supposed to

00:11:48.240 --> 00:11:53.839 align:start position:19%
look like that. So, after beating the
tip back into place, I loaded the bot

00:11:52.079 --> 00:11:58.240 align:start position:19%
back up and hopefully could stick a
knife this time.

00:11:56.480 --> 00:12:03.440 align:start position:19%
But from there on out, it looked like a
1.0 GPA students report card. It was

00:12:00.959 --> 00:12:09.200 align:start position:19%
fail after fail after fail. A small
lecture. Look, look. This is how you do

00:12:05.839 --> 00:12:14.079 align:start position:19%
it. Oh, see. Boom. That's all you need
to do. That is literally all you need to

00:12:11.920 --> 00:12:20.600 align:start position:19%
do. Addressing down and then right back
to failing again. I tried everything

00:12:17.120 --> 00:12:20.600 align:start position:19%
until finally.

00:12:23.120 --> 00:12:28.560 align:start position:19%
Now, it may not look very impressive,
but I have been cowering behind this

00:12:26.399 --> 00:12:32.320 align:start position:19%
stupid piece of plexiglass for so long
that I would have been happy if the

00:12:29.920 --> 00:12:38.320 align:start position:19%
knife stuck in me instead. I did get the
knives to stick a few more times and

00:12:34.079 --> 00:12:42.639 align:start position:19%
even got this cool double stick,
but the robot was super unreliable, and

00:12:40.480 --> 00:12:46.320 align:start position:19%
I tried everything to fix it. I measured
the servo actuation time, reviewed

00:12:44.560 --> 00:12:49.279 align:start position:19%
slow-mo footage of the knife release in
flight path, I printed these spacers

00:12:48.160 --> 00:12:52.240 align:start position:19%
because the knives were coming out
wobbly. I made sure the arm wasn't

00:12:50.959 --> 00:12:56.800 align:start position:19%
slipping, but there was something
inherently wrong with the robot because

00:12:54.399 --> 00:13:01.120 align:start position:19%
even if I changed nothing at all, the
outcome was drastically different.

00:12:59.040 --> 00:13:04.240 align:start position:19%
Besides, the webcam wasn't even working.
And I knew that I was going to have to

00:13:02.399 --> 00:13:08.480 align:start position:19%
rebuild this thing from the ground up to
make a proper knife throwing robot. But

00:13:06.480 --> 00:13:14.360 align:start position:19%
for old times sake, I booted the robot
up for one last test. And then it

00:13:11.360 --> 00:13:14.360 align:start position:19%
happened.

00:13:21.040 --> 00:13:26.399 align:start position:19%
This war crime against the knife people.
The knife people. The war crime. Ah, I

00:13:25.040 --> 00:13:29.600 align:start position:19%
decided to blame the arm slappage for
the war crime against the knife people.

00:13:27.760 --> 00:13:34.240 align:start position:19%
Huh. Hey, this is why I don't trust this
AI garbage. Look at this. Knife speeds

00:13:31.519 --> 00:13:38.160 align:start position:19%
14 to 50. Uh, professional baseball can
reach about 40 mph. Hold on, that seems

00:13:36.480 --> 00:13:42.560 align:start position:19%
a little slow. Let me look up the
baseball speed of a fast throw. Oh, 95

00:13:40.560 --> 00:13:44.959 align:start position:19%
miles per hour. Yeah, great job, Google.
you.

