Interface 5 v to 12 dc volts relay

Thread Starter

minh

Joined Nov 24, 2010
41
Dear All ....
I use this circuit to detect the passing steel ball, (please see photo)but when power on the IR detector gets hot and dies. So please help me to fix it . Many thank you.1 send.jpg
 

crutschow

Joined Mar 14, 2008
38,316
You are applying 12V to the IR sensor output through the transistor base-emitter junction, which is likely causing the over-heating.

Does the R1k next to the transistor base connection indicate a 1kΩ resistor in series with its base?

Do you need the relay powered when the IR sensor Out signal is low or can it be on when the Out signal is high?
 

sghioto

Joined Dec 31, 2017
8,633
May have to add a second buffer transistor.
The output from the module is 5 volts when no object is detected.
I suspect the 5 volt regulator is not connected correctly.
The IR transmit LED on those modules draw 37ma at 5 volts.
Use 2N7000 for Q1
1688423911336.png
Edit: Changed Q1 to 2N7000 mosfet.
 
Last edited:

crutschow

Joined Mar 14, 2008
38,316
You still need a resistor between the IR output and the base.
Not really, see post #6
I think this is the schematic of the sensor (below), which uses a LM393 as noted by sghioto, that has an open-collector output:
So you would indeed need a resistor in series with the transistor base (≥20kΩ) if you want the LED to be essentially off when the output is high (LM393 output transistor off).

If you don't mind the LED being on all the time, then you don't need the resistor.

1688422102396.png
 
Last edited:

MisterBill2

Joined Jan 23, 2018
27,164
Is it intended that the relay be energised most of the time? or de-energised most of the time. What I see is that the IR sensor module is sinking a large amount of base current, probably exceeding the current rating.
 

sghioto

Joined Dec 31, 2017
8,633
Is it intended that the relay be energised most of the time? or de-energised most of the time. What I see is that the IR sensor module is sinking a large amount of base current, probably exceeding the current rating.
The relay is intended to be normally OFF.
Which circuit are you referring to?
Post #6 has the final edited schematic.
 
Top