And now everything is connected together.
I had to change some values on the resistors.
R6 = 10k and C4 = 10 nF gives 2.5 seconds ON time. I also changed the sensitivity from 4 s to 0.05 Seconds, I am considering changing this a bit to some greater value to increase the time some.
[image: 1467401532879-20160701_211141_resized.jpg]
I also need to do some changes to the Arduino board as the on led is always on and i think i should remove the regulator to save some more power.
[image: 1467401646837-20160701_211414_resized.jpg]