i want to merge this circuits into one, can someone help?

sghioto

Joined Dec 31, 2017
8,758
In the dark detector circuit you have Vcc pin8 on U2 at 5 volts and the LDR components at 9 volts. Why?
If the PIR will operate on 5 volts then I would suggest running both circuits on the 5 volt regulator.
 
Top