Hi! Purple Oranji here.
Today I'm going to play with lasers and make a security alarm for my room
In another video, I made an electronic door lock
out of Mindstorms LEGO
So if you haven't seen it you can check it out here, or here
I think everyone occasionally wants to keep a nosy sibling
or parent out of their room
Building on what I learned on that project
I wanted to make something more complex
So I wanted to make an alarm that would trigger
when someone tries to sneak in
Today I'll show you how I made my own laser
PEW PEW PEW
security alarm out of LEGO Mindstorms
For this project I'll be using a Lego Mindstorms EV3 brick
Mirror tiles
A red laser diode
breadboards
well a breadboard
coin battery and its holder
pin wires
As always I'll have deatiled links in the description
But first, a warning
lasers can be really dangerous so remember to be cautious and always use
the right safety glasses
so let's begin
Wow! Everything is so blue
First I started with testing the laser diode
I connected the diode to my breadboard
I tested to make sure that everything worked
I used a red 5 milli watt laser diode for this project
because is relatively low cost
and are safer than the other colors
I used a breadboard so that we can quickly test and change things as needed
I didn't spend too much time on making this look nice
because it was just a prototype
for future versions
I would like to make a better housing
next it's on to the laser platform
because small vibrations could cause the aim of the laser to be off
I made a platform out of LEGO
to hold the laser steady and also used for aiming
I used lego Digital Designer
to make and create the instructions
that I needed to build it in real life
with the laser base built
All I have to do is add the laser and test it out
For the coding, I started off by making a simplest looping alarm
once I had that, I added other enhancements
like a countdown
warning messages and an information display
I created a custom block for the countdown
so that I could easily reuse it in different places if needed
With everything loaded into the EV3
it's time to test it out
how the alarm works is by reading the light intensity
of the laser with the color sensor
the code will wait until there is a change in intensity
when the intensity changes
the alarm will trigger
I can press a button on the top
to stop and re-arm the alarm so it's ready again
Now that system works
it's time to install it somewhere fun
I decided to install it in the doorway of my room
anyone the breaks beam will trigger the alarm
Well thats it
My very own laser alarm system for my room
this is only the first version
there are many other things I can add to make it better
but it was still fun figuring out how it all worked
If you like this video, please give me a like and subscribe to my channel
PURPLE ORANJI
also click the little bell icon to get a reminder of my new videos
Well, thats all for now
see you next time
Bye!!!
Không có nhận xét nào:
Đăng nhận xét