Looking at the "light PIR 9v Reg circuit, I believe the critical components are going to be R3 and R4, REG1 and R6, R7 and R8? the 339 simply "compares". the "PIR" circuit simply "sends" the current?, R3 and R4 divide the voltage to the base of Q1? The "REG" is a little tricky for me as it is a shunt? however R6, over R7 and R8, ALSO work as a voltage divider? That regulate voltage output? I use a trim for R2 but HOW do I figure that into the equation, as it is "variable" and there is the added fact that power comes off #2 of the comparator.