lights Ladders
-
Good afternoon! In this topic, I want to share an idea with the community on how to make the automatic lighting stairs in his cottage. The idea is not new, if you want you can find a huge number of ways to implement this project. The most appropriate for me to show a project using LED driver M5450, because it requires only two legs arduino. The remaining 4 will take Ultrasonic Module HC-SR04 Distance Sensor odnin analog port and a light sensor. There is a code that is working to move like a single system to the house.Highlighting.ino lightuino5.1.6.zip
-
-
-
The problem is that education is not enough to adapt this code. Who will be able to offer something I would be very much appreciated !!!
-
If you want to have them turn on and off one after the other (like in the video), you would have to use a dimmable shift register / io expander and feed in PWM for every single light (or stair).
It might be easier to use addressable LEDs. I only know the RGB LEDs, but they are also available in white: https://www.google.de/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=ws2812b+pixel
This way you only need one line of cabling and can put power and data in from one end of the cabling. Of course, they can also be dimmed and everything you can imagine. Libraries for common languages and Arduino are available (for example @ adafruit).
-
-
Maybe you can use the parking sensor example
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
NODs stop responding, but ping works.
Troubleshooting • 8 Mar 2025, 19:47 • Marcin 8 Mar 2025, 19:47 -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58 -
Compiling Sensor code using BME280 and ESP8266
Troubleshooting • 26 Feb 2025, 00:32 • dpcons 26 Feb 2025, 06:22 -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28 -
JSN-SR04T-V3.0 Coax cable extended
Troubleshooting • 19 Mar 2025, 21:00 • bocalexandru 21 Mar 2025, 12:05