Decorative lighting for stairs. Part one. "Iron"

I live in my house. Until recently, our whole big friendly family huddled on the first floor of a two-story house. Time passed, and the floor did not want to turn into a residential one. There were always other, more important things to do. And it would have dragged on for a long time (probably), if the spouse hadn't said at one point - I want my room! As you might guess, after a while the floor began to come to life. And as soon as that happened, the question arose of how to make the staircase lighting. I did not like the options to put pass-through switches or to highlight them with emergency lighting right away. Too simple and obvious. What about show off? Where is the wow effect here? I wanted to do something unusual. The best solution was to make the backlight using LED strips. This is where the freedom of creativity is in the presence of imagination!





Choosing a solution

. , – . ( , ), , – . , , , . :





  • . ( ) . .





  • , , . .





  • , .





, , . : + + . ( ), . <a href="https://habr.com/ru/post/142685/"></a> , , .  





, - . - ( , ) , «» . . , .





, , .  -, :





  • «» () ( ). , .





  • ( ).





-, . , ! . , , .





, . . , ? . - .





Block diagram of a single-channel module
- -

- . :





  • - - ( )





  • , , . . . !





  • . , . .





– . , – . , . , , .





. , .





1.  





Time-of-Flight (TOF) sensor VL53L0x
Time-of-Flight (TOF) VL53L0x

, , . , Time-of-Flight (TOF) VL53L0x. 2- . , 1-1.2. . AliExpress 150.









.





2.  





Light sensor MAX44009
MAX44009

  MAX44009. . , , -  AliExpress. , GY-49.









.





3.  





That's how much I have left!
!

. , - LPC11C14. , , !









.





4.   LED-





Also left over from old projects

.   . , . , . . «» . 









.





5.  





, , . – CAN-. -, CAN . . , realtime – .









6.  





. ( ). 





Simplified wiring diagram





, , TOF VL53L0x. .





Intersection sensor layout (rear view)
( )
Intersection sensor layout (front view)
( )
Layout in action

. - . () . . ! (25 ) – 50 . ! . . . , .





. . , STM. STM - «simple». , vl53l0x. , . , LPC11C14.     





, – !





. « - » .





Schematic diagram of a single-channel module
-
CAN bus driver schematic diagram
CAN-

LPC11C14. DA1 – ( ). DD2 – LED-. SW1 – CAN. , , , . DA4 – CAN-. XP14 – ( , ).





The approximate cost of the main components of the module (Chip-Dip prices):





  • LPC11C14 - 200r





  • TPS3828-33DBVR - 47r





  • AMS1117-5.0 - 16r





  • AMS1117-3.3 - 21r





  • TJA1042T / 3 - 55r





  • PESD1CAN - 12p





  • TXB0102DCU - 80r





  • 15EDGRC-3.81-04 - 21r





  • 15EDGK-3.81-04 - 35 rubles





  • ABM8G-12.000MHZ-18-D2Y - 170r





  • Small things - 50r





Total: 707r





Board tracing

There was a desire to make a simple cheap two-layer board, but ... it was just before the New Year and the Chinese friends had an action. Four layers x10 pieces almost free (500r)! It turns out that the fee was 50 rubles.





And I could not resist and did it humanly. Excuse me…   





3D model of a single-channel module
3D model of a single-channel module

What is the bottom line at the moment. The boards have been ordered, the software is being prepared. To be continued…








All Articles