3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Stairway LED lighting with IR trip sensor

Stairway LED lighting with IR trip sensor
«
  • PICT0621.JPG
  • WARNING049.gif
Ever get up in the middle of the night and go stumbling towards the hallway light only to trip over your cat and fall down your stairway and bash your head on the wall at the bottom? Neither have I! But if you're afraid of this happening, or you just want to make your friends jealous of your awesome electronics prowess, you can build this IR light trip sensor to light up your stairway (or any room in the house you'd like) when you walk past it so that you'll see that pesky cat waiting for you to trip on it.

The sensor uses a directional infrared LED beamed at a sensor that shoots past where you'll walk. When you interrupt the light from the LED, the LEDs turn on for a period of time that you can adjust. There are a lot of advantages to using IR LEDs over lasers; they're safer to work with since lasers can damage your retina if you stare at them, they're a lot easier to aim since you're pointing them at a small sensor usually across a hallway, they use really low power, and of course they emit no visible light which makes them stealthy and therefore cooler. The biggest drawback? Sunlight or incandescent lights generate infrared light, so if you put them in an area where they get hit by this light they won't turn on. I actually feel that this is an advantage as well, since it keeps them off during the day when you don't need them.

Please note: this project is designed to assume that you have at least a basic knowledge of electronics, electronic schematics, and know how to handle and mount static sensitive devices. You need to know how to solder, and more importantly how to solder on tiny chip leads that can only handle a brief hit of heat before they fry and turn into slingshot ammo.



Play the high def video. I'm a terrible cameraman so sorry if it's shaky!
 
Remove these adsRemove these ads by Signing Up
 

Step 1Tools, parts, and supplies

Tools, parts, and supplies
«
  • PICT0583.JPG
  • PICT0581.JPG
  • PICT0619.JPG
You'll need a variety of stuff to do this project. The less tools you have for working with electronics, the more you'll have to spend to make it, so either buy all the tools, or find someone that has them and buy them a nice lunch at Applebees then ask nicely if you can use their tools.

Tools you really should have:
-A soldering iron with a small point tip
-A small pair of wire cutters
-A small needle nose pliers
-Wire strippers (You'll be stripping really small gauge wire, 26 or less)
-A Dremel motor tool with a carbide cutter (for cutting the perf board and drilling holes)

Most of the electronic parts can be bought from Mouser Electronics. I'll list the supplier that I got various other supplies from for other parts. Feel free to innovate if you can find a better/cheaper place to get something, and post it here for all of us!

Supplies/parts:
-Plastic Leg Tips (Home Depot, 89105)
-1/4" coaxial cable staples (home depot psw-1650)
-Solder Wire
-Pre-punched perfboard ( Radio Shack 276-1396 A)
-50 ft PS/2 extender cable ( Monoprice p/n 2540)
-White electrical tape (Frys)
-A 5 volt power supply capable of handling at least 700 mA, or more depending on the power requirements of your light LEDs. I used a power brick from an old zip 250 drive, that puts out 1 amp at 5v.

For electronic parts, you can download the excel spreadsheet of the components I used by clicking the excel spreadsheet I linked here. To make your life really easy, create a mouser account, click here, select the second and third columns of the spreadsheet and copy and paste them into the BOM importer.

2x 940nm IR LEDs: you can get these at mouser as well, but I found the best directional LEDs I could get came from Newark Electronics. If you want to sub in another LED for these, you'll need something that operates at 940nm and is fairly directional (to prevent it from dissipating over the distance to the sensor).

You'll also need a bunch of LEDs for your stairs or whatever room you want to light up. Once you choose your LEDs, you can plug in the specs for them here to calculate what resistors you'll need and how to configure them.

Overall, you should be able to do this project for about $60 as long as you don't destroy components while building it. If you're prone to soldering chips to kingdom come, make sure to buy spares.
« Previous StepDownload PDFView All StepsNext Step »
19 comments
Jun 19, 2011. 11:05 PMjboby says:
hi ... f.y.i.
if you're considering doing this project, beware that 7 and 14 on the HEF4071B are flipped. if you follow the schematic included in this instructable to the letter, you'll have a fried chip.
May 1, 2011. 7:33 PMDonotmatthews says:
The company I work for is about to hire a deaf person. I need to rig something up so a light goes off when the door opens. I understand your circuit up until the plug for the leds. can you explain how that green plug wires in. Or a file we can download so I can see a bigger schematic? Thanks for this great instructable.
Mar 23, 2011. 4:04 AMKamiana8 says:
I'm very enthusiastic about your project's success and have gone ahead and ordered the necessary materials. However, I'd greatly appreciate a comprehensive, instructional video to help me reference my progress. thanks
Nov 11, 2010. 11:24 AMjoshbennett04 says:
Why not just wire the photodiodes together and use 1 timer?
Oct 1, 2010. 12:57 AMabbtech says:
Cool project. Almost like these http://alan-parekh.vstore.ca/project-kits-stair-light-c-1_2.html
Jul 21, 2010. 10:49 PMXOIIO says:
lol "trip" wire... hmmm
Feb 10, 2010. 1:15 PMbongodrummer says:
Very nice. Thanks for sharing this, I think I may try something similar. Ta.
Dec 30, 2009. 7:17 PMjsummerlin says:
you could take a putty knife and hide the wire underneath the carpet.
Sep 1, 2009. 9:44 PMalbylovesscience says:
I just orderd 2 free sample wall mounted enclosures should be here in a week or so
Sep 1, 2009. 7:05 AMrakuyo says:
mr. author what programming language did you use in this project? can i use tasm (turbo assembly language) ? if i can, can you give me the codes pls... i just want to try this one on how it works... i'm just curious and also a fan of your project hope you understand... thanks!
Jun 24, 2009. 4:35 AMMicroKID says:
Would it be possible to rig this up from a motion sensor of house alarms instead of making the circuit? Thanks.
May 6, 2009. 12:53 AMaronsta says:
Nice job ElJefeUno!
Jan 5, 2009. 2:24 PMXxZombiexX says:
Nicely done--I had thought about stair lighting that would activate individual stairs as you walked (stepping on 1st stair triggers 2nd and so on so that the lights selectively 'lead' you up/down) but it seemed too ambitious at the time...this is pretty great.
Jan 25, 2009. 4:16 AMTLLCUK says:
This can be done too. You would need a small microcontroller and a counter program. Basically, once the motion sensor is tripped, the controller starts to count up to the number of steps that you have. Each count lights up a step until all steps are lit when you reach the top. This can be further modified to also have a sensor at the top of the stairs and reverse the count. Or a ON delay could be set so that as you go up the stair, the steps ahead will light up, whilst the steps behind will turn off.
Jan 23, 2009. 3:13 AMstevesigma says:
To avoid this, use "Milling drill" instead ordinary drill bit.
Nov 8, 2008. 3:49 PMnanonano58 says:
nice

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
11
Followers
1
Author:ElJefeUno