[MUSIC PLAYING]
Welcome to DIY tryin.
What are you looking at?
I'm Patrick Norton.
I'm Michael Hand.
And I'm Tara Long.
Uh oh.
I have a little bit of a
task for you guys, as related
to hard science.
I need you to make
me some puppets.
Puppets?
Puppets?
And I need those puppets
to be made out of meat,
and I need that meat
to be Anthony Carboni.
OK.
Remote control Anthony is
basically what you want.
Basically.
I want to make Anthony dance
in a way that's semi-dangerous.
Ah, I think we can do that.
Totally.
Yeah?
OK, excellent.
This week we're going to make
a media-controlled shocking
device.
Press a note, get a shock.
A face organ, if you will.
Should be simple.
So the way we're
doing it, it actually
is going to be pretty simple.
We got these things called
TENS units from Amazon.
I think they were
like $12, maybe.
And TENS is a lot easier to say
than transcutaneous electrical
nerve stimulation, which
basically means sending voltage
through the skin, and used
in physical therapy, managing
chronic pain.
And it's a really
space-age sort of work-out
you usually see in
Bruce Lee biopics.
Yeah.
Basically they just send
a bunch of electricity
through your muscles
and make them contract.
You ever played with
an electric fence?
You pretty much know what
we're talking about here.
So we don't really want to
accidentally kill anyone,
or even pump enough
juice into say, Anthony,
to make him collapse
like we tazed him,
no matter how much Tara might
pay us to make that happen.
So we're not going
to modify these.
No.
But we are going to take
advantage of the Arduino
relay board controller
setup you put together
a couple weeks ago.
Yeah, so we showed this
off , I think in DIY 18,
something like
that, two weeks ago.
Anyway, we're going to do
the same thing, where we're
going to interrupt the line
so that when they're hooked
into the relay board,
and the switch is off,
you don't get shocked.
But if the switch
is on, then you
do get shocked, because
it's closing the connection.
Shock.
No shock.
Shock.
No shock.
Shock.
No shock.
Really simple.
Just what we did last week.
So how did you get the piano
to control the shocking?
I can totally-- this is what
Tara's going to be like,
dance Anthony!
Dance little puppet boy!
Exactly.
So the piano part involves
a bit of software,
this is just a straight
MIDI controller.
And then the MIDI
commands are then
interpreted by some
software on my computer.
So I can show that off.
Cool.
Let's see it.
As far as the Arduino
side of things goes,
it's the exact same setup
that we had last week,
that it's looking for, the
number 1 will turn on relay 1,
number 2 will turn on
relay 2, sort of thing.
So that is exactly the same.
That's the Arduino side of it.
On the MIDI side,
I have this program
that I found called MidiPipe.
So, musical instrument
digital interface,
it's about a billion years old,
because I can remember using it
when I was still in college.
And it allows you to
basically take digital signals
and use them to trigger
other things, a light show
at a concert, synthesizers,
keyboards, it's kind of like,
if, then, then that,
without the internet.
But now with more
USB than old school.
Which makes it much easier
than-- trust me, USB good.
All right, so there's a couple
of different ways to do this.
Because I'm using a Mac,
this MidiPipe program
makes things very simple.
Basically it looks
for a MIDI signal,
and then you can modify
the signal in some way,
and then it spits it back out.
And one really nice function
is that it has AppleScript
triggers.
Oh.
So, I know the Arduino is
basically looking for numbers,
like keyboard inputs.
Yeah, and that's exactly
what I'm sending.
This is probably not the
cleanest way to do it,
but I'm creating a
shell script, and then
echoing the number
3, the number 2,
to the serial port
on the Arduino.
Elegant or not, it does work.
Because if I press-- well--
do we start with middle C,
I guess?
I have it set up so you can
play "Mary Had a Little Lamb"
right now.
Perfect.
Yeah, that's about
all that there is.
I'm just echoing a number
to the serial port,
and then the relay's opening.
So, key press, USB cable,
MIDI interpretation,
signal to Arduino, which
turns the power on and off
to a relay, which basically
will light Anthony's nerve
endings up, and cause
his muscles to contract.
That's the theory.
We haven't tested it out yet.
This is going to suck.
So we have like, electrode pads,
and we've applied Signa Gel.
Highly-conductive,
multipurpose electrolyte
for professional-- it really
does say, for professional use
only.
We're professionals.
Anyway, we have
everything hooked up.
I guess we just need
to test it out now.
Oh hey!
Did someone say, torture?
Not even once.
Well I'm here now, and
you can't get rid of me.
You're looking
entirely too happy.
We thought it
would be fun to try
everyday tasks with
electrodes hooked up.
And Tara will play
us a nice song.
Yes.
You're going to write, I'm
going to try to pour cereal,
and apparently you're
just going to grin
like a feral, happy
little animal.
Oh my goodness.
Not looking forward to this.
Tell me when.
When.
OK.
This is great Tara.
Breathe, breathe
through the pain.
audiblepodcast.com/DIY.
Get your free audio
book, because I'm
feeling like the first
part of Quicksilver
in Neal Stephenson's trilogy,
where basically, well there's
animal testing in the
beginning of the science.
Check it out.
audiblepodcast.com/DIY.
Get a free book.
Tara.
You can stop now.
Because I'm a bad
ass apparently.
All right.
I guess I've had enough.
Well.
That was lovely.
We'll pass this whole
setup off to you, Tara.
Thank you.
And in case we're in
prison after whatever Tara
does to Anthony, please
subscribe, we'll do some--
Sorry, I was just testing to
make sure it was still on.
youtube.com/diytryin.
Or DIYTryin.com.
Please comment down below
if you're on YouTube.
Please subscribe, no
matter where you are.
And check out Tara's
show, Hard Science.
youtube.com/hardscienceshow.
She will be torturing Anthony
by putting these on his face.
Yes.
Even more dangerous.
It really is going
to be a face organ.
It really is.
Oh my goodness.
I'm-- I'm Patrick Norton.
I'm Michael Hand.
Tara.
Good-bye.
There it is.
I don't think it's on right now.
You're sure it's not on?
Am I having placebo
effect issues?
I think so.
This should be middle C. Oh.
Yeah.
No.
Nothing?
This is C.
Maybe I have it backward.
Ow!
I guess that was it.
It was E.
