Motion Activated Stairs

  Рет қаралды 47,596

Build It

Build It

Күн бұрын

Пікірлер: 47
@user-ys4op3ux1p
@user-ys4op3ux1p 6 жыл бұрын
That's a really creative idea, I like it! Two things to improve though: 'Laser' is an acronym and it's not spelled with a 'z'. You can refactor the redundant code by doing something like this: if(Val15 < 220){ //Check if it's nighttime digitalWrite(46, HIGH); //Turn on the lasers delay(2); int lights[14] = {32, 33, ect..}; int sensors[14] = {analogRead(A1), analogRead(A2), ect..}; //Read sensors after turning on the lasers for (int i=0; i
@dannybanks5180
@dannybanks5180 Жыл бұрын
Good approach to this. I have done similar using individually addressable RGBW LED strips, IR instead of laser and only having all the sensors powered up if someone approaches the stairs. Once built there are so many cool things you can do with the code to get some pretty amazing effects. Would recommend this project to anyone interested in doing so.
@carrizzle9586
@carrizzle9586 4 жыл бұрын
Great video!!! The intro was hilarious. 2 suggestions for simplifying the wiring though: 1) Using serial/addressable LED strips will reduce the amount of wire used. 2) Tilting the LASER at a slight angle and using a small mirror on the opposite side of the step to reflect the beam back to the photo-resistor board, that will be on the same side of the stair as the laser, will help reduce wiring as well.
@jim9520
@jim9520 4 жыл бұрын
Your are a man after my own heart.
@Cars0ndh
@Cars0ndh 6 жыл бұрын
looks pretty cool! Nice job putting this all together! code recommendations: use better variable names, e.g. DayNightSensor instead of Val15. It makes the code easier to read and edit when you need to. Another thing you could do is #define Stair1LEDs 32, #define Stair2LEDs 33, etc. so that in the code controlling them, it looks like this: digitalWrite(Stair2LEDs, HIGH); instead of the more ambiguous digitalWrite(33, HIGH); This also makes it easier to change if you need to change what pin controls which stairs. You just change it once in the #define and then everywhere that it's used it updated.
@BuildItnow
@BuildItnow 6 жыл бұрын
Thank you for the tips! much appreciated!
@Triad3DStudio
@Triad3DStudio 6 жыл бұрын
Great project! Would you be able to build a ceiling fan "fidget spinner", you know like the one's with the lights on them that you're able to program with a saying or images on it?
@BuildItnow
@BuildItnow 6 жыл бұрын
Thank you!, yeah that sounds like a fun project.
@jonahswain
@jonahswain 6 жыл бұрын
Yeah a POV ceiling fan would be sick
@ARUN-bx2ic
@ARUN-bx2ic 4 жыл бұрын
For what digital pin 47 is connected?
@karthikperiyasamy2299
@karthikperiyasamy2299 4 жыл бұрын
Hi..I got new project as same in video..for 28 steps..for do this howmuch cost will come...and can u support us
@taragoodwin5411
@taragoodwin5411 6 жыл бұрын
10/10 knew you would use that song in the beginning
@BuildItnow
@BuildItnow 6 жыл бұрын
Just seemed too fitting to not use
@kingdavid4463
@kingdavid4463 4 жыл бұрын
Best intro ever
@theepicosityofpizza
@theepicosityofpizza 6 жыл бұрын
Damn that intro go hard
@ilynd
@ilynd 6 жыл бұрын
spooked me
@BuildItnow
@BuildItnow 6 жыл бұрын
y'all get spooked easy
@dineshgajjar6419
@dineshgajjar6419 4 жыл бұрын
@@ilynd sstsms3stssr4stttsstssssssmsms baby-boomers mts3sssttsmmsssssssmtesss maintainability. Essstssmetesst.estssstrss3.estssserssettsstrssres.sessssssstsstssesesmssss.ettmess.tstsstsssttsestmmtssss.trrm.. e... . email
@zaddysquid9153
@zaddysquid9153 6 жыл бұрын
Might be a good idea to write the if statements as a function that takes 3 args
@konukuauleki
@konukuauleki 3 жыл бұрын
I would like to do something similar but with flood lights around the house.
@angelvaca9232
@angelvaca9232 3 жыл бұрын
amazing bro.. coul you share the instrucction and arduino code please
@NickGreenDC
@NickGreenDC 6 жыл бұрын
Awesome project!!!! Have you experimented with Laser Time of Flight sensors (TOF)? Might be able to get rid of the light sensor on each step and simplify the overall project. However, they are much more expensive than the laser / light diode approach. Also have you considered using WS2812B LED strips - individually addressable LED's that are RGB and run off 5v. They can make for some really cool animations!
@BuildItnow
@BuildItnow 6 жыл бұрын
haven't heard of them but ill give them a google, sound promising, thanks!
@NickGreenDC
@NickGreenDC 6 жыл бұрын
To be clear, there would still be a sensor on each step, just no need to have a transmitter AND receiver on each.
@adityamanjrekartechguyproj5162
@adityamanjrekartechguyproj5162 5 жыл бұрын
motion activated stairs using ultrasonic sensor video please
@bobmarley6970
@bobmarley6970 6 жыл бұрын
You could have easily put all of the if statements into one big if statement that checks for day or night.
@miguelnogueira8180
@miguelnogueira8180 4 жыл бұрын
The code if fine but it could be heavily optimised
4 жыл бұрын
Nice project. Ever heard of loops and functions though? 😂
@SSnoWHand
@SSnoWHand 6 жыл бұрын
Nice job!
@connor6505
@connor6505 6 жыл бұрын
This project looked like tons of fun! XD
@tom-stein
@tom-stein 6 жыл бұрын
What are you studying?
@BuildItnow
@BuildItnow 6 жыл бұрын
im not, would like to study electrical engineering though
@Allan_aka_RocKITEman
@Allan_aka_RocKITEman Жыл бұрын
@BuildItnow >>> Great video...👍
@hyped5723
@hyped5723 6 жыл бұрын
For loop would play nice in here :)
@chapp2012
@chapp2012 6 жыл бұрын
Might be easier on the eyes to have the lights fade on and off
@BuildItnow
@BuildItnow 6 жыл бұрын
Very true, im going to add that in future features
@relaymatik5984
@relaymatik5984 4 жыл бұрын
Nice
@narutoninjaleoloera5674
@narutoninjaleoloera5674 5 жыл бұрын
It's funny cause I watched dis and I don't even have stairs
@d4rp645
@d4rp645 6 жыл бұрын
why dont you just put down some stone pressure plates and some redstone lamps? xD
@BuildItnow
@BuildItnow 6 жыл бұрын
Hmmm hadn't thought of that. Will defiantly do that in the next version
@chrisroland2738
@chrisroland2738 6 жыл бұрын
Cool
@jishaanish3101
@jishaanish3101 6 жыл бұрын
First
@BuildItnow
@BuildItnow 6 жыл бұрын
Damn, missed it again
Smart Stairs Now Exist...But Should They?
18:37
I Like To Make Stuff
Рет қаралды 1,2 МЛН
EASY Motion Activated Staircase Lighting - NO PROGRAMING!!!
13:58
Chris Maher
Рет қаралды 2,8 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
Motion Activated Light Strips: My Automated Lights Set Up
6:12
Smart Home Solver
Рет қаралды 1 МЛН
Few people know! How to fix a broken -electric plug!!!
6:14
Creative Inventor
Рет қаралды 830
How to Use a PIR Sensor with Arduino (Lesson #26)
6:38
Science Buddies
Рет қаралды 36 М.
Motion activated LED stair lighting... without staircase modification!
14:05
A long time shoemaker showed me this secret! great tool.
9:19
Creation Secret
Рет қаралды 504
Motion Sensor Bed-lights (NO PROGRAMMING)
6:44
Grensom
Рет қаралды 85 М.
Stairs back-light
8:59
FireflyGlow
Рет қаралды 23 М.
13 Best Home Automation Projects using Raspberry-Pi, ESP32 & more!
8:25
ToP Projects Compilation
Рет қаралды 249 М.
Best Motion Activated Light Strips
9:08
Automated Tech
Рет қаралды 72 М.
Motion sensor RGB Led light stairs project
15:59
DIY Tech & Repairs
Рет қаралды 49 М.