Code Monkey home page Code Monkey logo

led_stairs's Introduction

LED Stairs

This is a weekend project with which you can transform your regular stairs to colorful and interesting ones.

Mode 1:
mode1

Mode 2:
mode2

Hardware

You will need:

  • LED strips
  • Controller
  • Sensors
  • Power source
  • Wires

LED Strips

You will need one LED strip per step. Also, the number of LEDs depends on how wide is each stair and how dense LED strip is.

In my case there are 15 stairs and I used WS2812B LED strip with a density of 30 LEDs/m. I've decided that's enough to cover around 80% of stair width with LEDs, so I used 26 LEDs on each stair.

Optional, but I highly recommend to use aluminum profiles for LED strips with light diffusers. If you plan to use different colors, or you have reflective stairs (like I have), I would say that it is required.

Controller

For controlling LED strips you can use Arduino/ESP/Raspberry Pi or something else.

I had Arduino Nano at home, and it is just big enough for my stairs. In some time I'll probably switch Arduino Nano for ESP32 that has more memory and I'll be able to control it with phone and home assistant.

Sensors

If you want a simple animation that will run when you power up stairs, you will not need any sensors. I've used PIR sensor on top and on the bottom of the stairs. It notices motion and triggers animation.

Power Source

Depends on how many LEDs you need to power. In my case there's a total of 390 LEDs, 390 LEDs * 0.06A = 23.4A power source.

Wires

There's no much to say, I used slim stranded wires. To hide wires use simple wire channels.

Scheme

Scheme is actually pretty basic. Connect all LED strips to power supply in parallel (beginning of each LED strip directly to power supply). Don't connect LED strips in series (the end of one LED strip to the beginning of next one) because power drop will cause LEDs to not work properly.

Connect controler to power supply, but pay attention that LED strips and controler MUST USE common GND. If you use same power supply for LED strips and controler as I did, then you should not have any issues.

scheme

Software

All software is written in Arduino studio. This project depends on FastLED.h, so make sure that you have library downloaded in Arduino studio.

Use defined values to configure number of stairs, LEDs, pins, sensors... By default code works in "Mode 1". If you want to see the rainbow, use define RAINBOW.

Behind the scenes

A lot of you had questions where are the wires and how everything is connected. So, here are a few pictures from time when I built it.

wire channels 1 wire channels 2 first working stair connecting in process everything connected all hidden

led_stairs's People

Contributors

isinek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

maxbalan corrspt

led_stairs's Issues

More photos of the project?

Hey!

This isn't an issue. But it's the forum I have to send a message, sorry :)

Would you be willing to provide more photos (daylight photos, close ups of how cables are hidden, where's the power source/controller). It looks really really great as a finished project. I would like to see the tricks, so that I can learn for a similar project I have in my mind :)

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.