Hussainb
Member level 2
- Joined
- Mar 18, 2011
- Messages
- 46
- Helped
- 8
- Reputation
- 16
- Reaction score
- 8
- Trophy points
- 1,288
- Activity points
- 1,622
Did you measure the voltage at the parallel out before connecting the 12V supply?
If the voltage is close to ground, then BC547 is likely shorted between collector and emitter.
Did you measure the DC resistance of the relay?
Kerim
and the dc resistance of relay is 0 .... no resistance in the coil..
That is not right at all, there should be a resistance of at least 100 ohm.
Make sure that you are using the correct relay pins.
Was this a 12v relay?
I hope it isn't a shorted coil.
Sorry... I didn't get what you mean that the DC resistance of the relay is 0 !!!
On the other hand, 3V at the input means that the port is ON and not off . The base current of BC547 is:
Ib= (3-1.4)/4.7 = 0.34 mA
Though it is somehow small but it might be enough to turn on your relay.
Kerim
The datasheet says that the resistance of you coil is 400 ohm.
Are you sure that you are not getting a wrong measurement because of the diode?
It is natural that your relay will be on as soon you apply on it 12V.
The base current is about 0.34mA and the relay current is 30mA.
The gain required:
30/0.34 = 88 which lets the saturation voltage be about 1V leaving 11V to the relay.
Kerim
Added:
Could you turn off the port by software so that its voltage be lower than 1.2V?
As we saw earlier... in this case the relay should be turned on as soon as the 12V supply is connected.the voltage at parallel out before connecting the supply is above 3 volts dc...
The port output voltage in off state has been reported to be 0.17 V. Under this condition the relay should be clearly off. Also with a coil resistance of 400 ohm, there is no risk to overload the BC547 switch transistors. Thus the circuit behaviour still can't be explained. Some kind of wiring error must be expected.
To narrow the problem down, you should measure Vbe and Vce in control states on and off.
The port output voltage in off state has been reported to be 0.17 V. Under this condition the relay should be clearly off. Also with a coil resistance of 400 ohm, there is no risk to overload the BC547 switch transistors. Thus the circuit behaviour still can't be explained. Some kind of wiring error must be expected.
To narrow the problem down, you should measure Vbe and Vce in control states on and off.
Something is definitely wrongly wired. Mixing up emitter and collector of the transistors may be an explanation.
Should look like below:
well, i have done the wiring refering the datasheet of the transistor...
But i rechecked and its ok...
Its dark here now,need to do other things..
Thank you for your time, will get back later.
Sounds completely wrong.corrected readings of Vbe are
OFF state 7.61v
ON STATE 6.78v
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?