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!
@kishorv062 ай бұрын
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.
@derrekvanee45672 ай бұрын
*Bro reads sauce cod.* I'll cat that and grep him. GitHub SK/WS and go to town. Some really cool work.
@mkpati2 ай бұрын
I was thinking the same...
@weemanling2 ай бұрын
I'm too simple to understand this
@bobthemagicmoose2 ай бұрын
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.
@kiplinght2 ай бұрын
Well first I will have to install a staircase, but after that, I'm in!
@greatscottlab2 ай бұрын
Haha go for it ;-)
@anti-popfpv46382 ай бұрын
You can barrow one for anywhere there are stairs. I don't mind... 😊
@xyz61062 ай бұрын
Or buy a house with stairs...
@johnbuchman48542 ай бұрын
To the Bat Poles!
@typxxilps2 ай бұрын
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.
@Elberto712 ай бұрын
Did my stairs around 7 years ago using addressable led tape, arduino nano and 2 pir sensors, it's still going strong today 👌🏻
@greatscottlab2 ай бұрын
Awesome :-) Hope the same for my system ;-)
@mos85412 ай бұрын
course i just flip the wall switch and like MAGIC the ceiling lite comes on!...brilliant!.. smFh
@scrampker2 ай бұрын
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.
@Cornz382 ай бұрын
@@mos8541 Bingo. You'd think bulbs and switches were something alien...
@MagneVikjord2 ай бұрын
@@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
@timderks59602 ай бұрын
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.
@andersonimes18922 ай бұрын
Agreed, the animation is not really helpful to the user.
@matikaevur6299Ай бұрын
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.
@tomvleeuwen2 ай бұрын
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.
@jonnyjuk2 ай бұрын
Don't forget he is German so he needs to over-engineer it ;-)
@MixMeMcGee2 ай бұрын
That’s a great idea
@joachimh.90002 ай бұрын
@@jonnyjuk he iss a swiss Guy, don´t mix us up just because we (sometimes) speak the (nearly) same language.
@jonnyjuk2 ай бұрын
@@joachimh.9000 He's not Swiss bro, check out mymechanics if you wanna see what Swiss guy can do ;-)
@djangelinfinityАй бұрын
What if you're going up the stairs though? 🤦♂️
@vinniemoscaritolo33182 ай бұрын
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
@itwasrightthere2 ай бұрын
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.)
@greatscottlab2 ай бұрын
Oh boy. Quite a few twists in this story.
@dbuezas2 ай бұрын
There's still hope! Light the path between bedroom and toilet like a plane's emergency exit lighting,
@itwasrightthere2 ай бұрын
@@dbuezas Great. Now I’m going to have to figure out how to hook up one of those toilets.
@RambozoClown2 ай бұрын
You can always add stairs to nowhere like the Winchester Mystery House.
@chrisdixon52412 ай бұрын
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
@MixMeMcGee2 ай бұрын
+++ to this!!
@Ni5ei2 ай бұрын
The fact that you can learn from a failure doesn't make it a succes.
@imaginitivity78539 күн бұрын
Fail Early to Succeed Sooner
@teardowndan53642 ай бұрын
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.
@maheen-2 ай бұрын
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.
@odieadog40862 ай бұрын
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.
@CLGilbertАй бұрын
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.
@timmy72012 ай бұрын
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 :-)
@ahmadhasan32582 ай бұрын
he loves soldering way too much lol, everytime i see him solder stuff rather than use a simple breadboard kills me
@koeiekop19732 ай бұрын
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!!
@trhosking2 ай бұрын
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.
@fraggdieb92Ай бұрын
Whats with all the wires? Can you Upload a picture or Video?
@trhoskingАй бұрын
@@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.
@truckywuckyuwu2 ай бұрын
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.
@MaNNeRz912 ай бұрын
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
@carddamom1882 ай бұрын
This is Germany there is no Halloween and strobe lights cause seizures...
@colin.manuel2 ай бұрын
WLED on github will do this
@MaNNeRz912 ай бұрын
@@carddamom188 you must be fun at parties...
@ikocheratcr2 ай бұрын
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.
@paulcohen15552 ай бұрын
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!
@JaenEngineering2 ай бұрын
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.
@redsquirrelftw2 ай бұрын
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.
@Twosies20Ай бұрын
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 😉
@JaenEngineeringАй бұрын
@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.
@deviantmultimedia94972 ай бұрын
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!
@kenengel6202 ай бұрын
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!
@mrkukov2 ай бұрын
So two persons in different ends will cancel each other out? Nice setup for one person at the time. :)
@greatscottlab2 ай бұрын
Haha yes, I guess. You can always change the programming though and only utilize the timer.
@Faewks2 ай бұрын
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!
@bloodninja802 ай бұрын
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.
@llejk2 ай бұрын
Or use a spare Lidar that you have laying around 😆
@Faewks2 ай бұрын
So many possibilities. I love it!
@OldCurmudgeon3DP2 ай бұрын
This looks like a cool project. Thanks for doing the heavy lifting on the research/design.
@greatscottlab2 ай бұрын
My pleasure :-)
@rayz55082 ай бұрын
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.
@Dr_ninjaboy87872 ай бұрын
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.
@drelectronics132 ай бұрын
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)
@Cornz382 ай бұрын
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.
@gordon8612 ай бұрын
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.
@tondebruijn54242 ай бұрын
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?
@rayzeek5 күн бұрын
Impressive work! It’s great to see creators exploring similar ideas. I love how you’ve brought your own twist to the concept. Our team at Rayzeek developed a similar product, the RZ016 Wireless Motion Sensor COntroller Kit, which has been getting great feedback from users. Very happy to see people getting interested in DIY projects - I also come from a product development background, and the sense of pride in creating something with your own hands is truly different. Looking forward to seeing more of your creative work !
@johnsonlam2 ай бұрын
Great job! And I think many people need this, just not me because I don't have such a large home.
@johboh2 ай бұрын
Good excuse for buying a large home!
@jlucasound2 ай бұрын
So glad you got this straightened out! What a PAIN it has been! Congrats on the 2 Million!! You'll get there. 😃
@wessss2 ай бұрын
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.
@TheRainHarvester2 ай бұрын
Yeah same for i2c lengths. I have a similar project with no uC on my channel: under cabinet lighting.
@maxexposure62532 ай бұрын
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.
@vinniemoscaritolo33182 ай бұрын
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.
@Moonlight05512 ай бұрын
Glad u finally got a working solution. Keep on teaching and entertaining us at the same time.
@allenrusselljr2 ай бұрын
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
@MartinDolan2 ай бұрын
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).
@moshguy2 ай бұрын
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_Stuff2 ай бұрын
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
@danielgstohl99932 ай бұрын
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
@nothingtoseehere932 ай бұрын
Esphome would be better option. ha will introduce latency
@Wileybot20042 ай бұрын
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.
@TrinomCZ2 ай бұрын
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.
@gregorymccoy67972 ай бұрын
Nothing ever works the first time! Great skills, Sir.
@Sonny_McMacsson2 ай бұрын
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".
@mfortneАй бұрын
This is super cool, and love that you came back to it! They look great and very useful!
@PAPO19902 ай бұрын
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.
@silverground36702 ай бұрын
well.... 🤣
@ElectricNed2 ай бұрын
Glad you got this project finished! That has to be satisfying.
@MikeOchtman2 ай бұрын
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
@Alan.livingston2 ай бұрын
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?
@FloPius2 ай бұрын
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!!! 😊
@lab4d2 ай бұрын
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) 🤟
@ViniBreda902 ай бұрын
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!
@FalkenbergoАй бұрын
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.
@jimmydelagarza32082 ай бұрын
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.
@matthewprince61572 ай бұрын
I'm glad this worked out finally! I was wondering if this project was ever going to come back. it's very cool.
@guentherclintonАй бұрын
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.
@ForYou-vi3wx2 ай бұрын
Is it necessary to change the led strip due to the memory of Mcu? We can get mcus with more memory for a cheaper price than the new led strip.
@greatscottlab2 ай бұрын
Yes. You can also use another MCU. I wanted to stick to this ATtiny series though and there 16K is the max memory.
@SBHLL2 ай бұрын
@@greatscottlab The ATtiny 1- and 2-Serias are also available with 32K memory or "simply" program it more efficient.
@whyett782 ай бұрын
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.
@MichaelKrommenАй бұрын
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.
@IXISSV2 ай бұрын
Sounds like you have a cold 😷 get better soon 🤗👍 Glad the stair lights worked in the end 🎉🥳
@xdevs232 ай бұрын
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).
@bzqp22 ай бұрын
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.
@piotrludorowski95292 ай бұрын
Nice one! I am glad that we have stairs without LEDs so I can do this one!
@TriedWhistleАй бұрын
So close to 2 million. I’m gonna fall asleep so I’ll deliver the congratulations early you deserve it 🎉
@PATRIK67KALLBACK2 ай бұрын
Perfect video! I must have this in my holiday house, where it is pitch black during the night.
@brianwood5220Ай бұрын
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.
@eric-seastrand2 ай бұрын
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.
@steffexАй бұрын
Very nice improvement on your previous video. To be honest, I like this style way better.
@roundcheesewheel2 ай бұрын
I highly recommend putting some grip material on your stairs!
@greatscottlab2 ай бұрын
Maybe one day :-)
@nocillis2 ай бұрын
@@greatscottlabThe grip material is going to feature in a future Ali Express buys epsiode right? 😉😆
@VVerVVurm2 ай бұрын
@@nocillis I think he might need a system that automatically dispenses a grip material on each next step when someone uses the stair 😆
@chaos.corner2 ай бұрын
@@greatscottlab The day after you slip and slide down the last six on your ass :)
@johanntiu41622 ай бұрын
The diode blocks the return current to the level shifters, so a pull down resistor is required.
@ChristieNel2 ай бұрын
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.
@aaaooaao99492 ай бұрын
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 :)
@Reprint0012 ай бұрын
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.
@0xbitbybit2 ай бұрын
That final result looks epic, so cool, well done!
@Alacritous2 ай бұрын
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!
@ChilliConCharliee2 ай бұрын
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.
@greatscottlab2 ай бұрын
Thanks for the feedback :-) Also sounds great
@309electronics52 ай бұрын
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
@czarekcz10972 ай бұрын
Did similar way based on ESP32, but I am using 24V addressable leds (step of few led at the time but much lower current at 7m linear lad tape.
@Rob_III2 ай бұрын
I feel that if you did this with an ESP8266 or ESP32 or similar you would've been able to update the software OTA which would allow you to make adjustments much easier. It also would've solved your memory problem and you could've used the 60 LED/m strip.
@greatscottlab2 ай бұрын
True. But I am not 100% sure whether an ESP would have fit on the PCB. Keep in mind that the PCB had to find in the aluminium LED holder.
@Rob_III2 ай бұрын
@@greatscottlab That's another thing I'd do differently: I would've used the entire length of the aluminium profile and ran a 3-wire cable in/out of it and hid the controller outside of the strip. Maybe in a separate 3D-printed box or something. You could still mount it at the ends of the profile, or put it somewhere else (as long as the sensor would work). Come to think of it, the sensors could still be in the aluminium profile and the rest moved elsewhere; you'd just need a wire or 2 extra from/to the strip. But anyway: Enjoyed your video nonetheless, as always. Keep up the good work!
@309electronics52 ай бұрын
@@greatscottlab with the bare esp chip i bet it would have fitted, although its also not really great having to solder a qfn package
@duguk2 ай бұрын
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.
@srdjan_r2 ай бұрын
This is exactly what I had been looking for, for a looong time! Thank you so much!
@jrioublanc2 ай бұрын
Good to see you get a working solution. Enjoy.
@KeritechElectronicsАй бұрын
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.
@fintux2 ай бұрын
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.
@gosdeCarrer2 ай бұрын
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!
@Conservator.2 ай бұрын
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.
@VolkerThiel2 ай бұрын
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.
@mr.taylor7112 ай бұрын
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.
@jonnyjuk2 ай бұрын
The finished product looks excellent!
@abnormaalz2 ай бұрын
Nice project. Personally, I would like the led strip to turn on/off a bit smoother with the leds fading and the speed of the "wave front" easing.
@erikdenhouter2 ай бұрын
I was thinking about wave front on, and all random off over 6 seconds, sort of twinkling finish. Probably not possible with that hard/software.
@abnormaalz2 ай бұрын
@erikdenhouter all LEDs are individually controllable and the ATtiny is probably fast enough, perhaps memory could be an issue. But I think with some clever coding you can get a lot done.
@erikdenhouter2 ай бұрын
@@abnormaalz Thanks, I am not into micro coding but that is nice to know.
@basgro2 ай бұрын
Nice video, showing not only the first time right steps. Thanks!
@greatscottlab2 ай бұрын
Glad you enjoyed it!
@innomkr2 ай бұрын
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...
@Dorff_MeisterАй бұрын
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.
2 ай бұрын
If this was a packaged product I would buy it. Exactly what I need.
@IAmZen_0072 ай бұрын
I would go for WLED in combination with a mmwave sensor
@hesspet2 ай бұрын
I did it this way.. and added it to Homeassistand.
@wthornton73462 ай бұрын
Brilliant project. Great example how the Schottky diode switching speed made a difference to the outcome.
@cheweh8422 ай бұрын
Of course I want to see your work with electronics; you don't need a red arrow in the thumbnail to entice me!
@greatscottlab2 ай бұрын
I like this style though ;-)
@bluestacks18622 ай бұрын
@@greatscottlab I love your videos, but I just checked your original thumbnail after reading this comment and TBH I likely wouldn't have clicked, in fact I probably would not have even realised it was your video (despite your thumbnail style being somewhat consistent). Anyway, I use the DeArrow extension, the thumbnail is the frame from 12:46 i.e just your stairs lit up in the dark, that told me all I needed to know to click on the video! Consider, less is more? Thx :-)
@daveh77202 ай бұрын
I really like how the LEDs light in sequence. A little easier on the eyes than having them all come on at once. I cringe at the thought of walking down polished wooden stairs in my socks though. I can almost guarantee I'd slip and fall within a week.
@martinnash007Ай бұрын
Brilliant. I want this in my house!
@MCsCreations2 ай бұрын
Brilliant work, dude! Really well done! 😃 Some day I'm going to do the same, but with an outdoors stairs! Anyway, stay safe there with your family! 🖖😊
@greatscottlab2 ай бұрын
Thanks :-)
@ut43212 ай бұрын
I just did (non-animated) LED lighting for our indoor koi pond using very similar aluminum channels but with “COB” LED strips that are completely enclosed in silicone rectangular cross section tubes. The nice thing about the COB LEDs is you cannot see the individual LEDs. You need a hefty PSU, though. You can still cut and solder, and there are inexpensive end caps with “tails” that your wire exits through. Fill the cap with silicone sealant and the whole assembly is waterproof. I will say watch out for the el-cheapo Amazon aluminum channels, as their milky white lenses are difficult to install on long runs. I went with a slightly more expensive option where the lens sides extend all the way into the channel for easy insertion.
@MCsCreations2 ай бұрын
@@ut4321 Sweet! Thanks for all the tips! 😃
@dabupk38072 ай бұрын
Great to see thos work 🎉 However I personally liked the invidual pcb for each step as they lit up more beautifully
@matschase2 ай бұрын
So happy to see a follow up! Awesome, hope my comment helps to push the video
@imbw2672 ай бұрын
An engineer always gives himself an out. Option stuffing, pullup and pulldown resistor positions are a must.
@Deja1172 ай бұрын
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
@Helli__2 ай бұрын
Great, this looks very nice! I already wondered last time why you didn't go a route with addressable LEDs.
@4bSix86f612 ай бұрын
You should try using the FastLED library as it is more lightweight. There is also this softwared called WLED and it can be installed on an ESP32 to control leds easier. 30/m is pretty ugly.