IT Blog

LED stair lighting based on Arduino, Part 1

by on Dec.01, 2010, under Arduino

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
Breadboard
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.

:,

4 Comments for this entry

Leave a Reply