Hello Friends,
I would like to switch a a relay when no signal coming, for that i used a PNP transistor switching circuit. In this circuit i am using same same supply voltage to the coil of relay as well as the base of transistor. Unfortunately there is some problems in the circuit. Any one can modify my circuit of suggest a new circuit for switching the relay. I am using only a DC 5 voltage supply in this circuit, the relay also can swithci n 5v. Please help me.
The two circuit i used given below

I would like to switch a a relay when no signal coming, for that i used a PNP transistor switching circuit. In this circuit i am using same same supply voltage to the coil of relay as well as the base of transistor. Unfortunately there is some problems in the circuit. Any one can modify my circuit of suggest a new circuit for switching the relay. I am using only a DC 5 voltage supply in this circuit, the relay also can swithci n 5v. Please help me.
The two circuit i used given below
