13
instructables How to Make a IR Proximity Sensor at Home by NEW PEW In this Instructable I show you how to make a simple infrared sensor for hobby projects and to learn how an infrared sensor works. I used an infrared sensor with one of my previous Instructables (the automatic hand sanitizer dispenser ) but I didn't know exactly how this sensor worked so I dived into it a little further. Video tutorial: Video tutorial: An IR sensor is basically a device which consists of a pair of an IR LED and a photodiode which are collectively called a photo-coupler or an opto-coupler. The IR LED emits IR radiation. The IR radiation is emitted in a beam from the IR LED. When this beam is disturbed, it widens and "hits" the photodiode. The photodiode converts the IR light into an electrical current. Because the output of the photodiode is not constant, I opted for a circuit with BC547 transistors. I will explain how this works in step 1. The appendices contain a simple diagram to keep the project clear. Supplies: IR LED Photodiode Green LED 2 BC547 transistors 100 Ohms resistor 47K resistor 9V Battery 9V Battery connector //www.youtube.com/embed/PeyQez7_p-4 How to Make a IR Proximity Sensor at Home: Page 1

How to Make a IR Proximity Sensor at Home

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

instructables

How to Make a IR Proximity Sensor at Home

by NEW PEW

In this Instructable I show you how to make a simple infrared sensor for hobby projects and to learn how an infraredsensor works.

I used an infrared sensor with one of my previous Instructables (the automatic hand sanitizer dispenser) but I didn'tknow exactly how this sensor worked so I dived into it a little further.

Video tutorial:Video tutorial:

An IR sensor is basically a device which consists of a pair of an IR LED and a photodiode which are collectively called aphoto-coupler or an opto-coupler. The IR LED emits IR radiation. The IR radiation is emitted in a beam from the IR LED.When this beam is disturbed, it widens and "hits" the photodiode. The photodiode converts the IR light into an electricalcurrent. Because the output of the photodiode is not constant, I opted for a circuit with BC547 transistors. I will explainhow this works in step 1.

The appendices contain a simple diagram to keep the project clear.

Supplies:

IR LEDPhotodiodeGreen LED2 BC547 transistors100 Ohms resistor47K resistor9V Battery9V Battery connector

//www.youtube.com/embed/PeyQez7_p-4

How to Make a IR Proximity Sensor at Home: Page 1

Step 1: BC 547 Transistors

A transistor is a device mostly used for switchingpurposes. As one of the sizable semiconductor devices,the transistor has found use in great digital applicationssuch as embedded systems, digital circuits, and controlsystems. In both digital and analog domains transistorsare substantially used for exceptional utility usage likeampli cation, logic operations, switching and so on.

In this project we use the transistors as a switch. Atransistor conducts current across the collector-emitterpath only when a voltage is applied to the base. When

no base voltage is present, the switch is o . When basevoltage is present, the switch is on. To provide the LEDwith su cient voltage, we use the rst transistor, whichis controlled with the signal from the photodiode, tocontrol the second transistor. This gives the LED powerdirectly from the battery.

Solder the emitter of transistor 1 to the base of transistor2.

How to Make a IR Proximity Sensor at Home: Page 2

Step 2: IR Led

Solder the positive connection of the IR led to the collector connection of both transistors. Cut o the other connection abit (we need space for the resistor here).

How to Make a IR Proximity Sensor at Home: Page 3

How to Make a IR Proximity Sensor at Home: Page 4

Step 3: Resistor 100 Ohm

The IR led needs a 100 Ohm resistor. Solder this to the IR LED.

It does not matter in which direction or on which side of the IR LED. A resistor works the same in both directions.

How to Make a IR Proximity Sensor at Home: Page 5

Step 4: Green LED

Bend the pins of the LED. Solder the green LED with the + side to the emitter of transistor 2.

How to Make a IR Proximity Sensor at Home: Page 6

Step 5: Resistor 47KHow to Make a IR Proximity Sensor at Home: Page 7

Step 6: Photodiode

Connect the 47K resistor between the - terminal of the LED and the BASE terminal of transistor 1.

Now the photodiode is connected across the collector and base of transistor 1. Bend the pins of the photodiode so that itts properly. Solder the connections.

How to Make a IR Proximity Sensor at Home: Page 8

Step 7: Finish Off

Bend the pin of the 100 Ohm resistor. Connect it with a rest piece to the negative connection of the green LED.

How to Make a IR Proximity Sensor at Home: Page 9

Step 8: Connecting the Power Supply

Fit a 9V battery connector to the sensor. The red cable to the positive connection, the black to the negative.

How to Make a IR Proximity Sensor at Home: Page 10

Step 9: Ready!

The sensor is ready! Connect a 9V battery to theconnector and the sensor will work.

Video tutorial:Video tutorial:

//www.youtube.com/embed/PeyQez7_p-4

If the LED stays on, the IR LED or the photodiode mayhave to be bent slightly so that the infrared beam doesnot hit the photodiode (if it is not disturbed).

Have fun with this project!

How to Make a IR Proximity Sensor at Home: Page 11

That is good project

Wow this is impressive

i have study about it in 10th standard.

Very handy circuit that can also be used to check IR remote controls. Using two transistors in thisway is known as a "Darlington" configuration, and it is a very good way to amplify tiny currents(like the current generated in the photodiode).

How to Make a IR Proximity Sensor at Home: Page 12

I'd like to recommend adding a 330 ohm resistor between the anode of the green LED and theemitter of Q2 in order to protect both devices from excessive (and destructive) current.

Made something similar a while ago:

https://www.youtube.com/watch?v=_M8FQIPi1qk

Made something similar a while ago:

https://www.youtube.com/watch?v=_M8FQIPi1qk

Thanks, I love little circuits like this

Really cool! Thanks for sharing.

How to Make a IR Proximity Sensor at Home: Page 13