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.

Infrared Proximity Sensing Coffee Table Module & Color Changing Glowing Faucet

Infrared Proximity Sensing Coffee Table Module & Color Changing Glowing Faucet


This video can be found on youtube.
http://www.youtube.com/watch?v=h5n0rw8wo14
Check out the other one, and some other of my videos


This is merely an instructable to explain how this device operates. I hope everything is not too obfuscated.


This prototype consists of three 8x8” modules. Each module operates independently of each other. Each module consists of 4 “pixels”. Each pixel is 4 inches square and consists of 21 LEDs, two IR emitting diodes, and two IR photodiodes. The mode of sensing is active infrared.

Check out my Color Changing Glowing Faucet
http://www.youtube.com/watch?v=mBzTNcXIbWA



 
Remove these adsRemove these ads by Signing Up
 

Step 1Infrared Sensor

Infrared Sensor
The IR sensor is a simple voltage divider former by two parallel IR photodiodes which are wired reversed biased. When a photodiode is reversed biased (like an LED connected up backwards) it acts like a variable resistor which changes resistance with respect to the amount of light (mainly infrared light) falling on it. The high resistance of the second static value 1 Megohm (R2) provides a voltage divider with the dividing node rising in voltage with an increase in IR light falling onto the photodiodes(R1).

V-in is 5 volts.

 
« Previous StepDownload PDFView All StepsNext Step »
114 comments
1-40 of 114next »
Mar 15, 2012. 3:25 PMCloudhail says:
I see on your YouTube channel that you have a newer way that you have done this. One with less components. The newest video you have on there. Can you make an instructable for that one?
Sep 28, 2010. 9:40 AMDr Snick says:
hey okay you have a 470uF and a 22uF but what resistance is on the 511-L7805CV ST Linear Regulators? and on the 556-ATMEGA48-20PU that little blue resistance?
Mar 7, 2012. 6:38 PMrajarath says:
if i use an ATmega168 or ATmega328 how much will stuff have to change?
Nov 8, 2011. 8:36 PMslwthr says:
how to make the header file?
Jun 14, 2011. 3:50 AMslwthr says:
Dear Friend
Do you have compiled hex code? please if you have send it to my email.I want to try this one.
email: slwthr@yahoo.com
Regards,
Harith.
Jul 15, 2011. 11:22 AMdomdomgin says:
DID U GET THE HEX FILE I SO PLEASE GIVE ME AT domdomgin@yahoo.com
Aug 4, 2011. 8:17 AMslwthr says:
No my friend.He haven't send it yet.I don't know why. Did you try to compile his code? I tried a lot times.But the code which he given here is wrong.Its not working and even its not compiling..So many errors. Please if you got right code let me know. my email : slwthr@yahoo.com
Jul 14, 2011. 7:31 PMrtalada says:
Two words: Lite Brite!
Jun 14, 2011. 3:50 AMslwthr says:
Dear Friend
Do you have compiled hex code? please if you have send it to my email.I want to try this one.
email: slwthr@yahoo.com
Regards,
Harith.
Jun 9, 2011. 3:24 AMslwthr says:
Hello,I really want to make this one.And also I collect all the parts..And waiting to know about how to compile this code.Really I tried a lot times and it says errors and warnings too.Please can you tell me how to compile this code without any trouble.There is some errors with the functions.Please do you have any compiled hex code for this?? If you have please send it to me.
My email: slwthr@yahoo.com
Apr 10, 2011. 5:17 PMFireater989 says:
Two words: Peg board.
Apr 11, 2011. 2:17 PMFireater989 says:
I saw a related Instructable where the guy used peg board, but even if they are, I'd rather take a drill and make all of them a little bit bigger just so everything is even. I'm going to try to make this project for part of a light show I'm making for a contest. If you've ever head of Phoenix Contact, they hold a contest every year for high school kids to use their Nanoline microcontroller and any Phoenix parts to build a project. First place goes to Germany and gets their own booth at the Hanover Industrial Trade Fair in Hanover, Germany. My team won this year and I just got back Saturday :) I'm going to try to use this idea to use for the floor of the room, with frosted Plexiglass on top. I'm also going to try to make the light create a rippling effect from the point where the person steps on. Wish me luck and I can ensure you that I'll post any questions I have and a video of the finished thing, if my team decides to take the idea
Mar 20, 2011. 8:55 PMMr. GMD says:
Hello Grahmaustin,
first off, I must say that this is a great project !! Well done man !! But could you answer me one thing ? I was looking at the schematic and the board layout, and was trying to figure out if the resistor at pini1 of the Atmega48 connects to pin 7 and gets 5V(red wire) ?
2. Does pin 1 go to the coil also (purple wire)?
3. Is the pink wire connected to the coil middle pin also ?
Thanks.
Jan 31, 2011. 11:02 AMkalsara01 says:
I know how hard to do such a thing. GREAT GREAT WORK!!!!!!!!!!!!!!! no doubt about that.
i like to visit your house. that may be a electronic kingdom.

hats off............
Dec 12, 2010. 7:00 PMSkai says:
its this kind of instructable that makes me want to pimp out my entire life with led lights and microcontrollers
Jan 31, 2011. 9:49 AMkalsara01 says:
yaaaa..... me too. im dying to do such a amazing work !!!!!!!!!!!!!

Great gob grahmaustin !!!!!!!!!
Dec 14, 2010. 6:14 AMdomdomgin says:
where r the leds connected and ir leds..please let me know..
Nov 28, 2010. 1:20 AMjayjay110 says:
Ok, ive got a question... say that I wanted the entire thing you did, in my pocket, could i just connect the photodiodes to an LED and then to a power source, and then the same kinda thing would happen, coz im a big noob at this and dont really understand how it works?
Dec 6, 2010. 1:10 PMjayjay110 says:
ok thanks, i havnt been able to find anything yet though :(
Nov 21, 2010. 8:15 AMnouserr says:
awesome mate!really good job! i want to make ma living room table in this way :D
Oct 4, 2010. 6:13 AMPierred35 says:
Hello Grahmaustin,

Firstable, very good job. Your system works pretty well!

I would like to do more or less the same thing and I have just a question.
My project is to detect or not an object, not as yours with a distance sensing.
See this video showing you what is my expected result: http://www.youtube.com/watch?v=X60p1GwNq3Q
So when a object is detected to a fix distance, leds turn on, otherwise they are off.

You system work as below:
1) turn on IR emitter,
2) make an ADC convertion to determine how far is the object to detect,
3) turn off IR emitter,
4) turn on white leds in consequence of step 2 using a PWM command.

So, more the object is close to the IR emitter, more light is received by the IR sensor.
I would like to replace the step 2 by something that tell me if the light received is more than a certain range or not. Do you have a idea how to do that without using ADC convertion? I will use and digital I/O on my microprocesor to treat with the information and make animations as in the video.

Thanks for you answer,
Have a good day and make us dream a long time again with many new instructables of your amazing project!!!
Oct 8, 2010. 7:01 AMsyrax says:
sensacell makes capacitive touch sensor panels :) i make like this one with qprox sensor chips, but the price ..... this is the clip with IR sensors and Cap sensors:
http://www.youtube.com/watch?v=rrYaz7jAaGQ
Sep 28, 2010. 11:20 PMKronis says:
I'm starting to learn about how to use arduino and solid-state electronics. Where did you learn what you know? Thanks for the inspiration to keep learning!
Oct 2, 2010. 2:20 PMKronis says:
thank you. I'll do that.
Aug 15, 2010. 12:55 PMyalmog says:
Great project! What type of op-amp did you use? (cause 1M ohm seems like a lot to place in the input). Using my op-amp and my Green revered LED I'm unable to get a light-depended voltage.
Aug 26, 2010. 7:52 AMyalmog says:
Thanks. Do have the exact IC name? Also, what is the purpose of the 47pF capacitor?
Aug 19, 2010. 8:26 AMDr Snick says:
Really nice Project! i want to construct this with a Arduino Duemilanove Board. I hope it works
Aug 3, 2010. 5:50 AMkingchristo says:
What do you need to program the ATmega48-20PU chip thanks
Aug 21, 2010. 3:22 PMDr Snick says:
(removed by author or community request)
1-40 of 114next »

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!
58
Followers
3
Author:grahmaustin
I want to build everything