Proximity Sensor Switch Using BC517 Darlington Transistor

9,490 views

The proximity sensor switch works such that there is a blockage due to a person or object in between the circuit. the circuit contains an LDR, transistors, and relay as main components. The relay can be connected to any external circuitry to turn it ON for a set amount of time.

BC517-NPN-Darlington-Transistor

Hardware Components

The following components are required to make Proximity Sensor Switch Circuit

S.noComponentValueQty
1.Transistor2N44011
2.Transistor BC5171
3.LDR1
4.Diode 1N40071
5.Relay12V1
6.LED1
7.Battery12V1
8.Variable resistor1KΩ1
9.Resistors 390Ω, 1KΩ, 47KΩ, 470KΩ1,2,1,1
10.Electrolytic capacitor10µF1

BC517 Pinout

BC517-Pinout

For a detailed description of pinout, dimension features, and specifications download the datasheet of BC517

Proximity Sensor Switch Circuit

proximity-switch-with-ldr-led-Circuit-Diagram-Schematic

Working Explanation

The circuit contains three parts; the first one is the bright LED circuit, the second one has an LDR connected with two transistors and the third one is the relay switch operated through the Darlington pair transistor.

In order to set the circuit up, place the LED at a distance of 5-10m from the placement of LDR. The distance is such that LDR keeps on receiving light from the LED. As the LDR principle goes, when light strikes the LDR it will turn OFF the circuit connected to it. Hence, as long as there is no blockage between LED and LDR, the circuit containing the relay switch remains in the OFF state. Adjust the sensitivity of the circuit using a 1KΩ variable resistor.  

When a blockage is it a person or an object comes in between LED and LDR, the LDR passes through the electrical current. This electrical signal is received by the two transistors 2N4401 where it is amplified. This amplified signal, thus, goes through the electrolytic capacitor of 10µF whose value is set such that the relay ON time is adjusted. Further increasing the value of the capacitor say 1000µF and 2200µF the relay switch ON time can be increased to 5 min and 10 min, respectively.

The Darlington pair does both the amplification of current and the switching of relay. Thereby, activating the relay switch. The relay switch remains ON until the set time.

Application

  • Automation system of a house