R8 is the yellow LED resistor. At 2.3K how does it even light? unless we are talking about two different resistors.
my last post I failed o change the relay coil resistance. the posted pic was the default relay. sorry for false posting.
glad to hear you got it working.
post a finalized schematic. Oh yea we still have the relay issue to deal with.
look at the reed relay I linked to from Rapid electronics.
The 5v = .62p and the 12v are .72p
you could go with either one as the max voltage is really a wide swing.
I was going by my latest schematic (https://www.electro-tech-online.com/attachments/detector13a-jpg.36708/)
Not going to use a relay now as the circuit is working with transistors and resistors only.