Nothing has changed.
Remove these ads by
Signing UpStep 1Parts
- Infrared LED
- Infrared photodiode
- Arduino
- Wires of some sort
- Electrical tape, duct tape, even hot glue!
- Heat shrink
- Perhaps a breadboard for testing
| « Previous Step | Download PDFView All Steps | Next Step » |











































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
Interesting idea with the pulse but I don't know if that would be that easy... light travels at 300 000 m/s so the reading would be too fast for your average microcontroller.
If you try, make a picture :)
It is actually even worse. Light goes 300.000 Km/sec. I think I was being a bit too academic about it
Hmm, better to keep it simple :-)