You shouldn't need more memory with more leds! The library you used is not appropriate for this, it works by keeping a sort of "frame buffer" in memory (byte pixels[NUMLEDS * 4]) and sending it out all at once to the leds. This is useful if you are making a display with the leds and let's say wanna play a game on it so you draw your game board, characters, etc, maybe even on top of each other (and not sequentially) and when it's done it updates the display. You don't need this, you just turn leds on, sequentially one after another so you don't need to "draw" it first, you can just "draw" it while sending it, requiring no memory. This way you can use any number of leds with the same amount of memory!
@kishorv06Ай бұрын
Came here to look for this. There is no need to keep the state of each LED in memory. Just loop through the index and turn it on or off with a short delay.
@derrekvanee4567Ай бұрын
*Bro reads sauce cod.* I'll cat that and grep him. GitHub SK/WS and go to town. Some really cool work.
@mkpatiАй бұрын
I was thinking the same...
@weemanlingАй бұрын
I'm too simple to understand this
@bobthemagicmooseАй бұрын
But the total cost difference is like $2 and it would probably take at least half an hour to use a different library. So unless he’s making a million of these or values his time at less than $4/hour (or would have fun doing unnecessary optimizations) then I think he made the right choice.
@kiplinghtАй бұрын
Well first I will have to install a staircase, but after that, I'm in!
@greatscottlabАй бұрын
Haha go for it ;-)
@anti-popfpv4638Ай бұрын
You can barrow one for anywhere there are stairs. I don't mind... 😊
@xyz6106Ай бұрын
Or buy a house with stairs...
@johnbuchman4854Ай бұрын
To the Bat Poles!
@typxxilpsАй бұрын
no, you need to build house with a second level first and then get a staircase after that to light it up. So buy a property and some concrete first and get dirty hands.
@timderks5960Ай бұрын
Personally, I'd suggest adding a more gentle shutdown of the lights. I.e. slowly dimming all of them together, or slowly dimming them from the starting point toward the end. It's a lot more comfortable to slowly loose light (if for some reason the lights turn off while you're still on the staircase) then to suddenly be in darkness. A slower and more gentle startup would probably also be nicer on the eyes.
@andersonimes189229 күн бұрын
Agreed, the animation is not really helpful to the user.
@matikaevur629928 күн бұрын
i use few of that kind of modules in my house - (Probably can't paste direct link, "SMD DC 12V Waterproof LED Modules" search, you get the idea.. :) I use 2x2 modules .. interestingly also mostly near stairs .. or in basement. Good to have at night when bright light is not needed, some have been on for 24/7 for 5+ years. Most soft-white, some amber, one red, depending on need of illumination and how much brightness would disturb at night.
@Elberto71Ай бұрын
Did my stairs around 7 years ago using addressable led tape, arduino nano and 2 pir sensors, it's still going strong today 👌🏻
@greatscottlabАй бұрын
Awesome :-) Hope the same for my system ;-)
@mos8541Ай бұрын
course i just flip the wall switch and like MAGIC the ceiling lite comes on!...brilliant!.. smFh
@scrampkerАй бұрын
I know you (and all of us as well,) love the complex electronics projects, but I was curious why not take the approach of using a proximity sensor and a WLED-controlled RGBW strip. An Everything Presence One, or Aqara FP2 would make quick work on this. The response time is surprisingly good, plus you can adjust the position and range of the presence sensor to make it have instantaneous response. I use an FP2 (not connected to Internet,) in every room. Hallways etc I make the light follow the person. No reason this couldn't work with staircases.
@Cornz38Ай бұрын
@@mos8541 Bingo. You'd think bulbs and switches were something alien...
@MagneVikjordАй бұрын
@@Cornz38these projects are fun. Plus, you may not want to turn on all the lights at night, because it messes with your night vision, wake you up etc
@tomvleeuwenАй бұрын
Nice result, but in my opinion it's a bit complicated to have both sides control the LED strip. I would just let the top board send a signal to the bottom board whenever a person is detected, and have the bottom board handle all the logic.
@jonnyjukАй бұрын
Don't forget he is German so he needs to over-engineer it ;-)
@MixMeMcGeeАй бұрын
That’s a great idea
@joachimh.9000Ай бұрын
@@jonnyjuk he iss a swiss Guy, don´t mix us up just because we (sometimes) speak the (nearly) same language.
@jonnyjukАй бұрын
@@joachimh.9000 He's not Swiss bro, check out mymechanics if you wanna see what Swiss guy can do ;-)
@djangelinfinity28 күн бұрын
What if you're going up the stairs though? 🤦♂️
@vinniemoscaritolo3318Ай бұрын
One more thing I appreciate is that you actually did it. A lot of people complain about what the right way of the wrong way is but you actually went out and did it , great work
@itwasrightthereАй бұрын
I’m moving to my new house this week! I saw this video and it came at a perfect time. (And then I remembered that it doesn’t have stairs.)
@greatscottlabАй бұрын
Oh boy. Quite a few twists in this story.
@dbuezasАй бұрын
There's still hope! Light the path between bedroom and toilet like a plane's emergency exit lighting,
@itwasrightthereАй бұрын
@@dbuezas Great. Now I’m going to have to figure out how to hook up one of those toilets.
@RambozoClownАй бұрын
You can always add stairs to nowhere like the Winchester Mystery House.
@chrisdixon5241Ай бұрын
NO! Your previous project was not a failure since you (and we) all learned from it. Congratulations on achieve the goal you were aiming for, but every misstep that teaches you something helps you move forward
@MixMeMcGeeАй бұрын
+++ to this!!
@Ni5ei29 күн бұрын
The fact that you can learn from a failure doesn't make it a succes.
@maheen-Ай бұрын
Wow, this is the first time I started feeling what you were going through when designing, troubleshooting and finally makeing it works, Because my first Microcontroller project with ESP32 was finished last day. I spend days for finding the codes that match my intended circamstances, And last day I succeeded and finished the project. Now it is working perfectly.
@teardowndan5364Ай бұрын
With a plain addressable RGBW LED library, you could have kept the original LED strip by programmatically generating values to bit-bang out to the LEDs instead of using a bunch of memory. That would have produced more even lighting. Another option would have been to modify the RGBW library to repeat pixel inputs or interpolate between them, then you'd need 1/Nth as much memory to hold input patterns and 1/Nth the control resolution.
@timmy7201Ай бұрын
Looks amazing! Just one tip... Putting in connectors instead of soldering everything together on the staircase, is usually a huge quality of life improvement. This means you can temporarily setup and debug the system from a comfy chair, instead of an uncomfortable staircase ... It's usually a massive time-saver as well! Was also planning of doing something similar to my staircase, but still busy completing some other projects around the house :-)
@ahmadhasan3258Ай бұрын
he loves soldering way too much lol, everytime i see him solder stuff rather than use a simple breadboard kills me
@odieadog4086Ай бұрын
Combining two signals into one line with diodes requires a pull down resistor. The 1N4148 were fast enough. The reason why the schottky diodes then worked, was not because of their speed, but rather, because they pass more current, when reverse biased, and thus they acted as a weak pull down when pulled to ground. However, too weak, so you still got some problems, until adding a proper pull down resistor.
@CLGilbert22 күн бұрын
Even without 2 signals the problem is the same. Another way which might be more common is instead to have a pull up and reverse the diodes. Then it's like an open collector circuit.
@truckywuckyuwuАй бұрын
What you need is EL wire. I have put it all around the house. It emits very little light, but in the middle of the night it's all you need. Consumes very little power as well. LEDS work too, but EL wire is simple.
@koeiekop1973Ай бұрын
So happy that you film everything, even when things go wrong. This makes the entire maker scene happy... My projects NEVER work in one go. There's always something. Love the endresult!!
@trhoskingАй бұрын
I used a different approach. I have a break-beam sensor on each stair using an IR LED and receiver pair. All the LEDs are on the same parallel circuit so they can be modulated from a single pin. each receiver has it's own ATTiny85 which also acts as an I2C slave. I can illuminate stairs either side of the one you are standing on. This can handle more than one person on the stairs and also illuminate stairs with lurking cats on them (that feature times out after a minute of no activity). I have since figured out a way for each ATTiny85 to have a dynamically allocated I2C address so that I don't have to program the address differently for each one, but I'll probably save that idea for another project.
@fraggdieb9214 күн бұрын
Whats with all the wires? Can you Upload a picture or Video?
@trhosking14 күн бұрын
@@fraggdieb92 I'm afraid I can't do that for a while as I'm travelling. Basically though, down one side of the stairs there's two wires driving 14 IR LEDs in parallel from a single pin of an ESP32 which handles the modulation. You can't just leave the LEDs on constantly as the receiver only detects 38 kHz to filter out ambient signals. On the other side of the stairs I run an I2C bus. Each stair has a receiver controlled by an ATTiny85 to detect a broken beam and notify the ESP32. Each ATTiny has a unique I2C address programmed in. It occurred to me that I have one spare IO on each ATTiny. If I used that with a transistor to turn on power to the next module in the chain, I could power up each module in sequence and dynamically assign I2C addresses by polling existing devices.
@paulcohen1555Ай бұрын
You started with the idea of how to make things as complicated as they could be. Thank god that someone put all the complicated logic (and debugged IT) in a small IC/package!
@ikocheratcrАй бұрын
The diode on the output does not allow the push pull output stage of the level shifter to lower the signal, the level shifter "tries", but diode block the current to bring the LED side down.
@rayz5508Ай бұрын
I did a similar install but pointed the led strip down instead of forward to eliminate glare. I cut a groove on lthe underside of the trim board. I also installed the strips on both sides of the staircase. I just added the strip control to Home Assistant to turn on the strips at sunset and off at sunrise.
@drelectronics13Ай бұрын
I hv been working with ws leds for a long time My suggestion are 1) use esp8266/32 it have more memory and wifi option 2) such long led strips need to b given power from both ends if possible in middle too. To avoid voltage drop and colour change. 3) needs to use relay to switch off whole led strips as each led has ws ic and consumes a lot of power even when the leds are off 4) we can use wled firmware ( it have option and mods for sensors)
@Cornz38Ай бұрын
You could alter the current limiting option in WLED and do away with the power injection. Lets be honest, its only needed at night so it wouldn't need much illumination anyway.
@gordon861Ай бұрын
Use 12v LEDs and you can do 200 over 10m without any colour shift, I'm using pebble strings around my room for general lighting.
@tondebruijn5424Ай бұрын
Not a bad suggestion but the attiny is ( i have not checked the data sheet) less power hungry than the esp solution unless you go into deep sleep maybe?
@kenengel620Ай бұрын
Great video. Glad you got everything working! One suggestion: you may want to consider using an open collector configuration on your data line. This will eliminate the need for the diodes and simplifies adding anything else to the communications bus later on. Keep up the good work!
@JaenEngineeringАй бұрын
Just a thought, but rather than trying to map the whole strip, could you not proceedurally generate the data stream? For example you create two packets. One that turns on the white led for one pixel and one that turns off the white led for one pixel. To turn on the leds, send the on packet once (turning on the first led), then after a delay, send it twice keeping the first led lit and turning on the second led), then three times etc. to turn on all the leds then do the opposite, send an off command, then two, three, etc. That way, instead of keeping a map of every pixel, you just need a counter to keep track of how many pixels you have left to turn on/off and just keep adding on/off commands to the string until the counter hits zero.
@redsquirrelftwАй бұрын
I was thinking the same thing, not too sure how these leds work, are they basically like a shift register? Should be possible to write code that works with any amount without needing to allocate them all to memory.
@Twosies2026 күн бұрын
Yeah, it should be possible, but he'd have to write a lot of code that currently the library is handling for him. It is an electronics rather than software channel after all 😉
@JaenEngineering26 күн бұрын
@redsquirrelftw that's pretty much exactly how they work. You create a packet of sequential of 4-byte frames (one byte each for RGBW) and you feed the packet to the first LED. It reads the first 4-byte frame and strips it from the packet before sending it on, so the second frame now becomes the first. The second LED does the same, reads the first frame it receives, strips it and passes it on. @@Twosies20 I appreciate that this channel is mostly geared towards electronics, but when using Arduino and other micros, the software becomes a lot more integral to the project. If anything, this isn't really an electronics project given the hardware is pretty much plug and play and all the heavy lifting is in the code.
@MaNNeRz91Ай бұрын
Would be cool if they dimmed when they shut off. You could add twinkling effects or a strobe one for Halloween or parties would be funny. Orange for autumn red for Christmas etc. looks great though
@carddamom188Ай бұрын
This is Germany there is no Halloween and strobe lights cause seizures...
@colin.manuelАй бұрын
WLED on github will do this
@MaNNeRz91Ай бұрын
@@carddamom188 you must be fun at parties...
@TrinomCZАй бұрын
Good job! You made it! And it looks good. Only thing, I would change is the turn off delay. I would add some, so you have enough time to do couple more steps, before it shuts off.
@maxexposure6253Ай бұрын
From a novice perspective, NICE WORK! I've been wanting to do the same with my staircase. I'm saving this to my playlist for later so that I can replicate your work.
@deviantmultimedia9497Ай бұрын
Utility, aesthetics, novelty, mood booster- it checks all the boxes. Definitely worth it. If a success is gonna be hard-fought it should at least remind you of the success part every now and then. I can't think of a better reminder than that!
@johnsonlamАй бұрын
Great job! And I think many people need this, just not me because I don't have such a large home.
@johbohАй бұрын
Good excuse for buying a large home!
@vinniemoscaritolo3318Ай бұрын
You did an outstanding job. Absolutely well done and thank you for describing the steps you had to go through to debug. There’s always room for improvement in a software. The good news now is that your hardware looks pretty solid and you can always update it. Another interesting application for this is driveway lights. Imagine turning on the lights to a driveway as you enter it and shutting off as you leave. I’m gonna look into that now that you have blazed a path.
@MartinDolanАй бұрын
That's awesome. I built a similar system but decided on making the lights red as it doesn't disable your eyes' night vision. Mine was only for 5 stairs. (split level loungeroom).
@ViniBreda90Ай бұрын
you should get quadrature encoding to this, basically add two sensors at each side to get the direction of movement. If someone is going up and another person goes up, it refreshes the timer. If one goes up and the other goes down, the timer stays as is. You'd be able to get both boards to talk to sense if someone wend down while another was going up and differenciate it from one person going up and not finishing the set of stairs!
@OldCurmudgeon3DPАй бұрын
This looks like a cool project. Thanks for doing the heavy lifting on the research/design.
@greatscottlabАй бұрын
My pleasure :-)
@jlucasoundАй бұрын
So glad you got this straightened out! What a PAIN it has been! Congrats on the 2 Million!! You'll get there. 😃
@Dr_ninjaboy878729 күн бұрын
I'm really glad you stuck with it. Ive been working on a personal project and have had quite a few fails, this gave me the motivation I needed to keep going, thank you.
@allenrusselljrАй бұрын
That's awesome. Now I need to hope my wife doesn't somehow see this video. I'm way too new at learning electronics to pull this off. In all honesty you have a marketable product (kit) that I think could be a great seller. Awesome video, I never fail to learn something from each of your videos. Thanks
@MikeOchtmanАй бұрын
I built the similar project almost 3 years ago, arduino nano, radar motion detectors top and bottom, and an ambient light sensor using 10kOhm LDR. During the day it is purely decorative, morning and evening twilight shows a cycling rainbow travelling up or down stairs, and nighttime has the chasing leds moving away from the detecting motion sensor. Works wonderfully, my lights are under the bannister railing
@guentherclinton27 күн бұрын
I’ve been using JLC for years - love them. I’ve not finished the video just yet, but one might mention the *HTML BOM Plugin* for JLC. It’s not just a neat feature, but a game changer when it comes to hand assembly.
@gregorymccoy6797Ай бұрын
Nothing ever works the first time! Great skills, Sir.
@whyett78Ай бұрын
i did a comission for someone recently for a cosplay, and I had a string of 300 RGBW leds, I used a arduino nano for the controller and used the FastLED and an addon for RGBW, the LED drivers were not nativly supported by fast led, but I got it to work. I had a similar progressive chain but over 10 lengths of 30 leds that all started at the same time, it in the end takes 4238 bytes, after I finished the project I realized I could have done the wiring a different way to cut down the programing and the storage. but hey it worked. The way I programmed it is nested for loops to get what I needed. in the end being happy with the result is all that matters, and the client was quite happy with it.
@lab4dАй бұрын
Great project thanx for sharing!! I was gonna build something like it using 2 PIR and one Wemos D1, but i might order some of these and try first : ) Pro tip to avoid using a Logic Level Shifter: I use the Diode trick all the time and works great, albeit on WS strips but it should work here too. You can use a diode to drop the voltage to an acceptable level for the ATTiny (and arduinos) just for the first LED. These chips can work at 3.3 or 5 v, you can trick it with a middle value so the first LED understands 3.3 yet the output will be high enough to be shifted to 5V by the second LED onward. A small diode will drop about ~0.7v and being powered by only ~4.3V it automagically understands 3.3v signal. You than power the second LED (and the rest) with 5v and it can perfectly understand the 4.3v signal and will output 5V data as its powered by 5v. So you cut the first LED out (or i just cut out the 5V rail between first and second LED), you wire Ground and Data normally from your microC to the first LED but wire its 5V through a diode, and than 5V directly to the second LED. ** So data and ground are normal, but the first LED gets power through a diode (~0.7v drop) and the second gets normal 5V. Note: This makes the first LED be a little bit dimmer as its not powered at 5V but its barely noticeable, specially with dense strips. Diodes are simple to wire, take very little space and are super cheap : ) As i mentioned i just cut out the 5V trace between first and second LED, and hide the diode under the shirk tube at the beginning, drag a short 5V wire to the second LED V+ trace and it basically take no space at all. Hope it helps someone : ) Also for longer strips, i usually get the (b) variants that have double traces and i usually dont need to power the end of the strip as two traces dont drop as much. (ex. WS2812b are my go to) 🤟
@Falkenbergo16 күн бұрын
Wow, thanks again for another great video, Scott! I wanted to discuss something you've mentioned before: you often say that you don't think you're very good at coding. However, I've been thinking about why you don't consider using AI tools like ChatGPT. Embracing AI in coding can not only improve your work but also help you get your ideas and projects done much faster. I understand that you might feel it takes away from your personal contribution, but I encourage you to look at it differently. I use AI every day, primarily to help me write and modify code. When you already have the knowledge to understand how things work, you can guide the AI to achieve your desired outcomes. You'll still need to debug the code, and that process can teach you a lot in itself. Since I started using AI, I've learned significantly more and much faster because we tackle tasks together. It's also incredibly convenient to get detailed answers to quick questions. I genuinely want to hear your thoughts on this or if you've already started using AI in your projects. Thanks for an inspiring show! As both an electrician and an electrical engineer, I believe that having expertise in both areas makes one a more effective engineer.
@PAPO1990Ай бұрын
might be good to have a single LED stay on at all times at each end of the strip, that way you can see the edge of the stairs before triggering it.
@silverground3670Ай бұрын
well.... 🤣
@xdevs23Ай бұрын
It's really nice what you did there and it's extremely satisfying to watch something self-made like that work. I'm really impressed! For a practical use case, I would rather use an LED strip (maybe in combination with something like ESPHome, depending on whether I want the effect you've implemented or not) and two motion sensors connected to Home Assistant. This would also make it very easy to modify the setup and requires no soldering (usually).
@wessssАй бұрын
If the distance between the 3v3 logic and the start of the LEDs is short, it will work fine. The data signal is rebroadcast at full voltage from the first led. I've setup wled on esp8266 & esp32 without a level shifter without issue. You can also power the esp with the same power as the strip.
@TheRainHarvesterАй бұрын
Yeah same for i2c lengths. I have a similar project with no uC on my channel: under cabinet lighting.
@ChristieNelАй бұрын
I'm glad you got it working. Addressible LEDs is probably the right choice considering price and simplicity. I suspect the memory problem is simply a result of how it is done. The code should be able to generate the data on the fly, requiring almost no memory. I would have liked to have sensors all the way up the stairs so it can track your movement speed and follow you. But it's pretty good as it is now. Nice job.
@Reprint001Ай бұрын
I use 2 very small battery powered motion sensor lights stuck to the side of the stairs. The batteries last months and it's far easier than making your own. I appreciate that's not what the channel is about, but sometimes I look at a home project and think, I could do something fancy myself or I could buy something more cheaply and just as practical.
@bzqp2Ай бұрын
I'd add a more gradual fade-in and fade-out. Such sudden turning on can be pretty glaring when your eyes are adjusted to the dark. Perhaps something like 2s for each LED to reach full brightness? Also the timeout turn off mode can be even longer, perhaps something like 20s for the whole strip at once. I think that would look quite cool.
@moshguyАй бұрын
Great job! If I needed this in my house, I would have used Home Assistant and WLED. Though, I do like the fact that yours runs without the need of HA to trigger it.
@Leroys_StuffАй бұрын
This is the correct answer I started with wled then added home assistant and I’m in way better shape and have way more things
@danielgstohl9993Ай бұрын
this is the way. you could potentially even implement the logic entirely in ESPHome. but having the logic in HA makes it a lot easier and more flexible
@nothingtoseehere93Ай бұрын
Esphome would be better option. ha will introduce latency
@Wileybot2004Ай бұрын
If you used a ESP32 and a MQTT server to communicate between HA and the Lights you could probably have it operate independently and report its status to the MQTT server alongside being able to order it to turn off/on, if everything is working then both trigger methods works if the server is down or the internet stops working you only loose the remote control, the built in sensors could still work.
@jimmydelagarza3208Ай бұрын
Great project, glad you finally worked it out. One recommendation would be to use the data line itself to transmit the remote microcontroller states so you could eliminate the shielded data wire altogether, or the signal from the LED. Doing this would even let you insert more mc boards in between longer runs for chaining these down long hallways which is how I plan to use these in the future.
@Sonny_McMacssonАй бұрын
Way back in the day we used to have something to put in these dim areas of concern for safety. It was called a "night light".
@eric-seastrandАй бұрын
This is so freaking cool. Why isn’t this a commercial product yet? The state of smart home today calls for crazy stuff like wireless sensors communicating over a network. I love how this is self contained.
@Moonlight0551Ай бұрын
Glad u finally got a working solution. Keep on teaching and entertaining us at the same time.
@matthewprince6157Ай бұрын
I'm glad this worked out finally! I was wondering if this project was ever going to come back. it's very cool.
@ElectricNedАй бұрын
Glad you got this project finished! That has to be satisfying.
@TriedWhistle29 күн бұрын
So close to 2 million. I’m gonna fall asleep so I’ll deliver the congratulations early you deserve it 🎉
@steffex28 күн бұрын
Very nice improvement on your previous video. To be honest, I like this style way better.
@brianwood522023 күн бұрын
That looks Great Scott. Oh, sorry. But it truly does, if I had stairs I would be ordering some of your PCB's. You always come up with something interesting. Thanks for sharing.
@Alan.livingstonАй бұрын
I like that he said that "nobody in their right mind" would want to copy his last design, while probably being totally aware that half his audience are in fact not in their right mind. Who would get into this hobby if they were?
@KeritechElectronics22 күн бұрын
I once had a similar noise problem at work, with connecting a bunch of modules with WS2811 chips and RGB LEDs. The diodes went erratic and couldn't be controlled anymore. Terminating the inputs with parallel 1K resistors did the job.
@aaaooaao994929 күн бұрын
Thanks - I've been looking for a sensor for ages - my implementation sees each individual stair step as its own µC with communication to the neighboring steps (sort of 'here is someone, I am 1) - the neighboring step receives the 'I am 1' and sends to the other neighbor 'I am 2' and so on. Depending on the number - i.e. the distance to the stair climber, the LED does something different - 100% ON, dimming up/down, random flashing or off. I programmed ATtiny45 for this via Arduino IDE (... years ago - PIR sensors are installed on the experimental plug-in boards) Ordered two CVNLs from faraway China ... maybe I'll get my stairs illuminated after all :)
@piotrludorowski9529Ай бұрын
Nice one! I am glad that we have stairs without LEDs so I can do this one!
@mrkukovАй бұрын
So two persons in different ends will cancel each other out? Nice setup for one person at the time. :)
@greatscottlabАй бұрын
Haha yes, I guess. You can always change the programming though and only utilize the timer.
@FaewksАй бұрын
Or add a radar sensor to the ceiling that is capable of detecting multiple persons ;) Might just add a little bit of complexity ^^ I really love this project. I'm happy to see this follow up video and that you found a solution!
@bloodninja80Ай бұрын
Could you program a check for time between the on and off signal that is about the fastest time it would take a person to go up or down? That way, a 2nd person at the other end wont turn it off.
@llejkАй бұрын
Or use a spare Lidar that you have laying around 😆
@FaewksАй бұрын
So many possibilities. I love it!
@gosdeCarrerАй бұрын
The operating voltage of the Attiny is 1.8V to 5.5V, so you could work at 5V for everything, I think. And for a couple of cents of difference, you can choose always the attiny with 32KB, for the same amount of pins (1 or 2 series). By the way, programming these little and simple MCU's directly (without the arduino stuff) is a lot of fun. Nice project!
@mfortne24 күн бұрын
This is super cool, and love that you came back to it! They look great and very useful!
@VolkerThielАй бұрын
Awesome project! Now try that with a u-shaped staircase (like mine). Here's what I did: below each stair I have mounted a 50cm wide (or long? 🤔) diffusor with an equally wide SK6812 LED strip inside. I soldered the same kind of connectors that the strip originally comes with to each of the 15 segments to be able to replace one segment at a later point in time if needed. My driver board is an Esp32 (yes, it's probably overpowered, but my IC programming skills are weak) to which I'v flashed WLED. Instead of a distance sensor I'm using two simple PIR sensors. One is aimed at the bottom of the stairs, one at the top (the whole assembly sits at the top) but due to the u-shape of my staircase this works just the same I'd say. I also inject power at both the top and the bottom of the strip, but data only goes in one-way.
@MichaelKrommen6 күн бұрын
Don't know if it was already mentioned in other comments. I had a lot of noise on the IN port when turning on the LEDs, so the board was switched off immediatly after turning on. Maybe it is related to an old WS2812B I am using, but an additional 100n capacitior between IN and GND helps. Thanks for the great project.
@ChilliConCharlieeАй бұрын
Did my stairs about a year ago with some govee LED strips and two motion sensors, worked great and wouldn't be the same without it.
@greatscottlabАй бұрын
Thanks for the feedback :-) Also sounds great
@309electronics5Ай бұрын
Also sounds great! Are they cloud connected or do they also have an option to run Totally local (thus not cloud bound like other iot leds from govee) Cause i have a HA system at home and wanted to integrate some and i hate cloud bound devices
@wthornton7346Ай бұрын
Brilliant project. Great example how the Schottky diode switching speed made a difference to the outcome.
@IXISSVАй бұрын
Sounds like you have a cold 😷 get better soon 🤗👍 Glad the stair lights worked in the end 🎉🥳
@Pepe-ry8pmАй бұрын
En mí país, España decimos: "El que la sigue, la consigue". En inglés vendría a ser: He who perseveres, succeeds 💪 Muchas gracias por compartir, esquema, pcb y código de tu proyecto 🙂
@PATRIK67KALLBACKАй бұрын
Perfect video! I must have this in my holiday house, where it is pitch black during the night.
@johanntiu4162Ай бұрын
The diode blocks the return current to the level shifters, so a pull down resistor is required.
@dugukАй бұрын
Brilliant explanation! I love the distance/light sensor, that's such a clean way to do it. I did something similar but used pressure pads on each step. I was able to get 'pressure mat alarms' which fit my stair treads. I wish I'd documented it better, but it was a lot of cabling. It's been running for years now on an Arduino, and each step lights up ahead of me, and even triggers a midi interface for musical stairs. The LEDs can use quite a lot of current if you have a lot of stairs. For a long time, I was using a PC PSU and triggering it to turn on/off via the Arduino to save power.
@fintuxАй бұрын
I've thinking about installing some LED strip to my stairs as I have the same problem. i wouldn't need any animation even, just a static light would be enough. But the incorporation of a proximity and light sensor is a good idea! I've actually even thought about some phosphor strips, as most of the use for the stairs happens only for about an hour after the ligths are off, like forgetting to bring something from downstairs when going to sleep etc.
@Conservator.Ай бұрын
Scott’s soldering technique is . . . ‘interesting’ Other people might do it like this: - Heat up the two parts to be soldered, - Add solder and let it flow, - Remove heat. - hold until solder solidifies.
Ай бұрын
If this was a packaged product I would buy it. Exactly what I need.
@saschageier23 күн бұрын
sweet. I choosen a ES32 Controller with more capability. Lighten up every step. but to do it all alone is a big RESPECT.
@mr.taylor711Ай бұрын
Ive got this planned as a winter project for our hallway, but will be using ToF sensors to make follow-me lighting and will change the colour depending on the available light at the time of activation.
@501isaАй бұрын
I just stuck a 5W EM spotlight above my staircase, the single green LED charge light does the job and if there is a power outage the 2X 3cell NICD packs are around 9AH in total giving it about 6 hours of runtime during a power outage. It would be interesting if you could intergrade a 7.4V LifePO4 as EM power so you wont be stumbling around in the dark during a power outage.
@FloPiusАй бұрын
Das ist echt eine witzige Lösung! Gefällt mir gut! Muss mal überlegen, ob ich sowas bei uns auch umsetzen will. Danke für das Projekt und die investierte Entwicklungszeit!!! 😊
@roundcheesewheelАй бұрын
I highly recommend putting some grip material on your stairs!
@greatscottlabАй бұрын
Maybe one day :-)
@nocillisАй бұрын
@@greatscottlabThe grip material is going to feature in a future Ali Express buys epsiode right? 😉😆
@VVerVVurmАй бұрын
@@nocillis I think he might need a system that automatically dispenses a grip material on each next step when someone uses the stair 😆
@chaos.cornerАй бұрын
@@greatscottlab The day after you slip and slide down the last six on your ass :)
@Dorff_Meister28 күн бұрын
I used ws8212b LED strips connected to a WLED install, which can be controlled by my instance of Home Assistant. To trigger the lights, I use two ESPHome devices each connected to a Time of Flight sensors (I could/should have done this with one ESPHome device). Home Assistant does the coordination. When you break the ToF beam on top or bottom, it turns on the LEDs (to my desired effect) for 15 seconds. It won't re-trip if it is currently showing the effect. Yeah, lots of parts but it's easy to control and using WLED gives me TONS of options for effects, etc.
@imbw267Ай бұрын
An engineer always gives himself an out. Option stuffing, pullup and pulldown resistor positions are a must.
@dabupk3807Ай бұрын
Great to see thos work 🎉 However I personally liked the invidual pcb for each step as they lit up more beautifully
@philip_fletcher14 күн бұрын
A very interesting watch as I have recently converted my addressable LED strips from self written FFT code to WLED. A side benefit was the zero effort Home Assistant integration.
@Helli__Ай бұрын
Great, this looks very nice! I already wondered last time why you didn't go a route with addressable LEDs.
@Deja117Ай бұрын
You could also try an IR distance sensor at the top or bottom of the stairs. You can get cheap ones, but they'll only do up to 4 metres, with the likes of the TF mini lidar doing 12 metres, and the lidar lite doing up to 40 metres. Obviously, range goes up with price (in most cases), but with an IR sensor you could just flick it on when someone is in view, and then depending on where they are, light up the strip. Your idea of using an animation is quite smart too, especially with how you've set it to go off when you reach the end of the stairs, the only concern is if a pet or other person triggers the sensor on the other end before you get to it. :P
@BoomixDeАй бұрын
I would place a mmWave sensor at the top of the Stairs. Mesuring the distance of the people walking up and with this value you can light up the LED's for example using FastLED code
@perdonomai8060Ай бұрын
Lovely! I wish I had your knowledge with electronics so I could create my 48v battery off-grid house (9-60v high efficiency dc-dc converters for DALI led drivers, USB/PoE outlets etc.)!
@ptma9352Ай бұрын
Strain Gauges on every over step gives you accurate presence sensing, enables organic response and no need for timing in code
@JesemanuelRamirezАй бұрын
12:47 awesome dude
@AlacritousАй бұрын
Never forget, CNLohr's efforts with the ESP8266 to work out the timing for the WS2812 LEDS so long ago that have brought light to so many projects. Raise your glass to CNLohr!
@omgImGermanАй бұрын
Dude that's awesome. I might try replicate something way less sophisticated than that using home assistant (and maybe an ESP32? dunno never tried anything like that before). I wish I could do half you can do :) Mach so weiter, ich liebe quasi jedes deiner Videos!
@hesspetАй бұрын
Homeassistant, ESP32 und WLED und und 2 fertige Bewegungssensoren mit Wlananbindung
@0xbitbybitАй бұрын
That final result looks epic, so cool, well done!
@fr0z3n.flam3Ай бұрын
You could use the peltier module on each stair to control the light accurately. So when someone goes on the stairs, the peltier will send a signal to the controller and it lights up until the next peltier module gives another signal
@brucehanson4147Ай бұрын
I like the results, never thought to have two separate control signals isolated with the diodes.
@jonschulman5754Ай бұрын
Depending on the surface finish of the diffuser, a piece of clear tape (packing tape, scotch tape, etc.) placed on the textured side will make that part of the diffuser almost totally clear. If it works with your diffusers, you could keep the electronics totally hidden, with just a small price of tape over the sensor to let enough light in.
@jonnyjukАй бұрын
The finished product looks excellent!
@hesspetАй бұрын
Great project, but I miss a follow-up idea. If it's already clear on the staircase landing that someone is walking, then it seems obvious that lights should also be switched on before and after the stairs, or for example, the bathroom lighting could be activated at night, etc. :-) I built something similar using ESPs and pass the triggers to the home automation system. Since this is quite a central point in the house, it allows for some exciting possibilities. After a certain time of night, our hallway is also dimly lit because the home automation was already set up, so it was an obvious solution. BTW: To control the stripe I simply use the OpenSource WLED Implementation. No additional conding needed.
@vinniemoscaritolo3318Ай бұрын
In this case, I like the idea of having a human presence sensor pointing up the stairs so that if someone stands there or even if multiple people come up and down, the system stays on.
@IAmOrionАй бұрын
Love this! The only "shame" compared to your previous design idea, is that you couldn't animate each step as you pass it - so in other words, only the step you're on (and perhaps one in front and one behind) get's lit as there's no way to know your position other than either bottom or top. But still a great design and project that I'll be having a go at once I've downloaded and ordered your PCBs :)
@innomkrАй бұрын
Great to hear you made it working! Since the beginning of this projects, I have wondered why didn't you choose the Neopixels in first place...