LED stair lighting based on Arduino, Part 1

01 Dec

Hi Everyone,
This post will be something different compared to the posts on this blog but it is still ralated to IT.

About a year ago I’ve found out about Arduino and really liked what can be done with it and how easy it is to use. So I’ve bought it…. Well needles to say I played around with for day or 2 and forgot about it.
Couple months ago I saw Automatic LED stair lighting posted on YouTube see the video bellow:

That looks nice isn’t it? I don’t need to light up my stairs but I know who has similar stairs and light already in place but they are using on/off switch to turn them on and that means that they are left mostly on. The lights that are used in the setup are 8 halogen 12 Volt, 10Watt bulbs which if left on all day long can generate a fair amount on a monthly electricity bill.
So decided to use my Arduino for this first project.

Here are the parts that I will use for my draft:
Arduino Duemilanove based on ATmega328
2x Infrared sensors
Light sensor
8x Leds
some cables and resistors.
Later the Leds will be replaced with proper 12volt Leds

After about an hour I had the following:

Basically I’ve connected all Leds and one infrared sensor and wrote some code witch lights up all Leds one by one when IR sensor is triggered and after some inteval switches them off one by one. I use PWM so Leds dim instead of just switch on/off.

Tags: ,

4 Responses

  1. wandy says:


    I really want to install it to my client house, can I have the wiring diagram? Where can I get it? I really appreciate if you could share the information .


  2. Lane says:

    I’m curious, what are the IR sensors that you’re using for this?

  3. That’s an interesting module Andrius. I was just looking through the data sheet and I was quite surprised at how much current the thing took (100mA at 5 volts). DO you find that it actually does consume that much power or were they just being safe in their specs?

    Great results for only an hour of coding!

Leave a Reply

IT Blog

Just another blog on Kozeniauskas.com Network