Picture of Intelligent Solar Garden Light - Part 2
Continuing from part 1

In this part I'm adding a PIR sensor.
Remove these adsRemove these ads by Signing Up

Step 1: PIR - modification

Picture of PIR - modification
I wanted to make the garden light PIR activated, so have added this PIR sensor from SparkFun.

Although the sensor has an input voltage of 5V to 12V DC, it actually runs at 3.3V. So, if you bypass the voltage regulator it will run using the battery in the garden light control unit. I powered the PIR up using 5V and then using my multimeter verified where to attach the new power feed.

Step 2: Attach PIR

Picture of Attach PIR
I've wired the positive power to the switch builtin to the light controller. The ground wire goes directly to the negative side of the battery bay. The original positive power wire for the PIR sensor is taped up so that it doesn't short anything out. The analog output from the sensor goes to analog input A1 on the Wee. On this particular sensor, it goes low (<1V) when motion is detected.

Step 3: Enclosure

Picture of Enclosure
Now I just need to work out what sort of enclosure to put the PIR in.
wierd idiot6 years ago
A bright idea! :P Lights up the darkness. One question, how much does the whole thing consume when on stand by?
about 35mA maybe :) the MCU power. I see this is arduino code I think is possible to put MCU is sleep mode and this will eat less power