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 -
Getting system time from the controller
Troubleshooting ā¢ 27 Feb 2025, 01:39 ā¢ dpcons 3 Mar 2025, 01:00 -
Raspberry Pi 5: invalid GPIO 9
Troubleshooting ā¢ 27 Aug 2024, 13:20 ā¢ igo 27 Aug 2024, 13:20 -
Ghost Child
Troubleshooting ā¢ 23 days ago ā¢ FcNanoLed 20 days ago -
Compiling Sensor code using BME280 and ESP8266
Troubleshooting ā¢ 26 Feb 2025, 00:32 ā¢ dpcons 26 Feb 2025, 06:22 -
Can not compile MySensors on esp8266
Troubleshooting ā¢ 24 Aug 2024, 15:35 ā¢ TheoL 29 Aug 2024, 20:47