Ah. Yes you are correct there, I thought it was the other way round
HiHere are the two circuits I've described.
1 - has the same operating polarity as described in post #1.Q1 acts as an emitter follower, not a saturated switch, so its Vbe is in series with the relay coil. This is why you must be sure the relay will operate reliably with only 4 V on its coil.
2 - is operationally the same as #1, but in this circuit the relay driver transistor Q3 is acting as a saturated switch, so almost the entire 5 V appears across the relay coil. A variation of this circuit uses two identical NPN transistors, but is much less efficient in the off state.
ak
View attachment 225917
Thanks for the info, the ir receiver I have has 3 leads , not sure how they fit to the drawings you have posted !.
Spike