In this Video I show you my DIY Smart Workshop and how to build your own smart lights using an arduino, relays, and a voice command module! Thank you so much to EVERYONE for 10,000 Subscribers and 1,000,000 Views!!
I'm standing in phase one of me turning
my garage into the engineering Workshop
of the Future featuring my very own DIY
smart lights using Arduino and voice
command hey Gary turn off the lights
turn on the lights light
[Music]
cycle in this video I'm going to show
you how I built it and how you can too
let's get into
[Music]
it
so this all started because for the
first time since becoming a quote
unquote adult I actually have a real
space to start establishing a legit
workshop with four moves and three new
jobs in the past 5 years it's felt
impossible to really get established
anywhere in words my wife will no doubt
come to regret she said I can do
whatever I want with the garage when we
got our new house and I am super pumped
about this SP it's basically a 20x20
blank slate and truly the only thing
wrong with it when we moved in was that
it was just dirty bare concrete floors
and plain white walls so the very first
thing I started by doing was getting a
super durable epoxy floor that's going
to let me be out here in Barefoot or
socks or have my son out here with me
and not worry about the dirt does it
come in black and because I truly feel
like you need to feel like you're in a
Cool Works Space to build cool stuff I
shifted to painting it with a quick coat
of Batman's favorite color down it was
time to take a look at the lighting one
big problem with the garage was that
when we moved in this was as bright as I
could get the room one dim bulb and at
Max I could add on the garage door light
which would turn off after a couple
minutes so not really that helpful
anyways and since this space is going to
do a thousand different things for me
long term I'm going to have a home gym
set up over here I'm going to have my
drum and guitars set up over here and I
want this entire wall to be tools
electronics and Engineering projects and
I also want it to be a fun spot for my
wife or son to hang out when they feel
like it so obviously I'm going to need
some pretty flexible lighting and as
with most big seemingly complicated
engineering projects it's good to just
Define your scope and spec your
electrical components in scope
definition for this project is actually
pretty straightforward Bright Lights
lots of flexibility Arduino control from
voice okay so that's actually pretty
great it's pretty easy to define a clear
scope and once we have that in mind we
can start specifying the electronic
components that we know we want
obviously for a project focused on
getting ultra bright shop lights into my
garage picking the lighting was going to
be super important and did I pick these
ultra bright LED bar lights because some
random blog online said that they were
pretty sure they're what Tony shop has
in the mechanic section of his Workshop
I need it buy it store it it's none of
your business shut up leave me alone I
actually genuinely love these lights if
you'd like to use the same lights that
I'm using here I will leave a link to
these ultra bright LED bar lights as
well as all of the hardware you use in
this project below any lights that you
spec that use standard wall outlet
voltage which this will work for 120 in
the US or 230 in the UK and abroad same
general concepts as what we're doing in
this video but all the hardware will be
linked okay so that's the lighting easy
enough and the next piece and this
should be pretty obvious is you'll need
an Arduino or a microcontroller pretty
much any microcontroller or Arduino
board will work for you and in the past
on the channel we've already talked
about the importance of a relay and
obviously if we're controlling high
voltage stuff from a low voltage source
like an Arduino we either need
transistors or relays something capable
of switching that voltage but when you
have a bunch of relays it's actually a
better idea to look into getting a relay
board this is 16 12vt relays and
honestly by the time you start looking
into buying a bunch of these
individually a board is just a more
economic option anyways and it's super
neatly organized so because I have
minimum six lights that I'm putting in
and long term I might want the space for
more I'm going to use a relay board this
thing gets powered by 12 volts so this
is actually a 12vt power supply it can
take 230 or 120 volts again you just
have to set whether it's 230 or 120 on a
dip switch on the side another really
cool feature of powering the relay board
from this is the relay board can then
power the Arduino CU obviously you're
mounting this in the field and just
bringing the outlet in is all you want
to have to do for power but that's
really it for specking our electronic
components now let's quickly take a look
at the wiring for this project I spent
Forever on the animation you're about to
watch so I hope you like it so starting
from a wall outlet where you have ground
positive and neutral run each of these
wires to a terminal jumper where you get
several more Landings and let's bring in
all of our components for this project
that means the lights the relay board
the 12volt power supply the Arduino and
our Bluetooth or voice control module
now the grounds are really easy to
visualize they just need to run directly
to each light and then we need one to go
down to our 12vt power supply and the
exact same is true for our black wire or
positive 120 now before we talk about
the neutral or white 120 wire let's talk
about the 12volt power supply which
needs plus 12vt and 0vt DC to go over to
the relay board then the relay board has
eight wires go to the Arduino six signal
wires plus 5 volts and ground Arduino
then needs to provide ground plus 5
volts and two more digital pins to our
Bluetooth or voice modules and now we're
ready for the neutral 120 signal instead
of going straight to the lights they're
going to go to the common channel of
each relay on our relay board and then
of course one run to the power supply
then depending how you want to control
this project either the normally open or
normally closed channel of the relay
board will be what you run to the actual
lights and that's it it's really not
that complicated it's a lot of simple
Concepts stacked up on top of each other
this schematic will be linked below with
all the other resources for the project
and feel free to drop a comment if you
still have any questions about what
you're seeing here one actually super
important component that we haven't
actually talked about in this video at
all yet is this voice recognition module
and the reason I'm not giving it much
time in this video is I actually just
did an entire video dedicated just to
how to use that set it up and configure
your commands and even the commands that
I'm using in this video are almost
identical to the ones I did in that
tutorial so that's the wiring and as I
install the final light on the ceiling I
have to say some special thank yous
because this week on The Master Tech we
hit 10,000 subscribers and we also hit 1
million views and for those of you who
haven't been around the channel for
super long you might not know but I
actually started L Master Tech just
because I was feeling kind of stuck at
my job and I wanted to get better at
coding and programming and I felt like I
knew how to make basic videos and so it
might be a good opportunity to do
something new get better at programming
and just break out of my rut and the
channel is done so much more than I
could have hoped including connecting me
with so many great people who are
constantly sending me super positive
messages on YouTube as well as
connecting me with my unbelievable
patreon supporters Dale and Phillip who
thank you guys so much for sticking with
me through all of the stuff we've done
on the channel I know 10,000 subscribers
is just the beginning and in my not seem
like much to many people but to me it's
unbelievable so sincerely thank you all
so much hey Gary B four on all right you
guys that is going to do it for me and
this video one of the most fun things
about this project is making it your own
programming in the functionality to make
the lights or whatever devices do
exactly what you want them to do I hope
this garage becomes the ultimate
Workshop in the next couple months and
years and so be sure to drop your ideas
for the workshop in the comments below
and maybe you'll see it built on the
channel wiring the bill materials as
well as all of my code will be
accessible from a link in the
description below so if you're trying to
build one of these yourself make sure to
check out those resources and if you
feel lost at any point in the process
just drop a comment on this video a
massive massive thank you to everybody
for 10,000 subscribers 1 million views
on the channel this week if you're not
subscribed make sure you go do that now
as always good luck with your projects
thanks for watching see you next time
bye