Simple IR proximity sensor with Arduino

Hello guys! In this instructable I’ll teach you how to make a very simple proximity sensor using infrared LEDs and Arduino.

Simple IR proximity sensor with Arduino
After several times trying to optimize it, I finally came up with something that is quite simple e precise. Just like my first instructable, this project is perfect for beginners in the arduino’s world, with a few components anyone can make it. I hope you all enjoy it.

For this instructable you are gonna need:
– Arduino
– 1 IR LED receiver (photodiode with 2 pins, not the phototransistor with 3 pins)
– IR LED emitters (as much as you can get, but at least 2)
– 100K resistor (brown black yellow)
– Jumper wires
– Breadboard
– Electrical tape
– Buzzer(optional)

Be careful to don’t mix up the LED receiver with the LED emitter, they all look the same.

Before mount it, we should prepare the IR LED receiver to don’t receive light from the sides, so than the sensor is more directional.
I use electrical tape to make it, but you can use a straw or anything that blocks the light from the sides.

Cut a small piece of electrical tape and wrap it around the IR LED receiver, forming a tube. Trim the edge with a pair of scissors until it’s about 1cm long.
Have a look at images to see how I made it with electrical tape.


For more detail: Simple IR proximity sensor with Arduino

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top