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.

Cheap obstacle sensor - with Arduino!

Cheap obstacle sensor - with Arduino!
When I started with arduino, and electronics, I always wanted to do things the cheap way.


Nothing has changed.
 
Remove these adsRemove these ads by Signing Up
 

Step 1Parts

Parts
You will need:
- Infrared LED
- Infrared photodiode
- Arduino
- Wires of some sort
- Electrical tape, duct tape, even hot glue!
- Heat shrink
- Perhaps a breadboard for testing
« Previous StepDownload PDFView All StepsNext Step »
5 comments
Dec 24, 2011. 6:06 AMdiy_bloke says:
interesting.
Since the program seems to measure amount of light reflected, I presume the outcome also depends on reflection of the approaching object. Also as it is IR, a warm object wld probably give a different reading than a cold object. (I understand the code is only to test the functionality of yr sensor design)

Nevertheless an interesting set up

One wld be tempted to use the same sensor you constructed and send a pulse to the LED, measuring the time it took for that pulse to come back
Jan 2, 2012. 10:44 AMdiy_bloke says:
:-) Did not want to critcize, I understand it is just a crude (but useful thing).
It is actually even worse. Light goes 300.000 Km/sec. I think I was being a bit too academic about it
Jan 6, 2012. 7:41 PMdiy_bloke says:
OK, on an academic level: modulating the outgoing light with a lower frequency and measuring the frequency shift :-)
Hmm, better to keep it simple :-)
Oct 31, 2011. 11:45 AMsamwhiteUK says:
Great intro!

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!
23
Followers
12
Author:dunnos