This uses a BS2, PIR and will pulse when it detects motion.
Hopefully this has a positronic brain which will observe the 3 laws of robotics and not turn on me.
Step 1: Parts
Aluminum Project Box
DC Power Jack
3 Pin plug, I got one from a CPU fan
Old flashlight for the lens.
470 Ohm resistor
Step 2: Tools
Step 3: Get the Lens
I had a broken led-shake-no battery flashlight. I pulled it apart for the lens and reflector.
I cut the top off with a dremel and kept the lens and reflector assembly.
Step 4: LED Switch
I removed the white led and replaced it with a red led.
Step 5: Code
I use Mac BS2 to program my stamp. Its free and works really well.
Load the code on your stamp.
The code I used is attached.
Step 6: Breadboard It Out
The LED will get hooked up to pin 0, run a 470 ohm resistor from pin 0 to the positive of the LED.
Run the signal from the PIR to pin 15, and positive and negative to the + - terminal on the PIR.
Step 7: The Box
Now we'll start on the enclosure.
On the top find the center and mark it.
I used a punch so my drill bit wouldn't walk on the metal box.
Step 8: Hole Saw
I used a hole saw to make the hole in the box.
I also used cutting oil to make the whole cutting easier.
Step 9: Hole for the Eye
To make the hole for the lens or HAL 9000s eye, measure the center, mark and again tap with a punch so the drill bit doesn't walk.
Step 10: Power an On/off
On the back, make two holes, one for your power and one for your on/off switch.
Step 11: Glue the PIR
Glue the PIR in to place with a hot glue gun.
Step 12: Glue the Lens
Glue the lens in to place again using hot glue. You could use some other glue if you have it... I had hot glue so I used it.
Step 13: Reflector
Glue the reflector on to the lens.
Step 14: 3 Pin Plug
I grabbed a 3 pin plug from a cpu fan to connect the PIR to the BS2.
The plug had braided wire, which does not fit in a solderless breadboard very easily. So I soldered on some solid core wire to the end to make it easier.
Step 15: LED
Solder wire to the end of LED to connect to the breadboard.
Step 16: Solder the Power Jack
Solder wire to the power jack. Use a short piece for the positive as it is only going to go an inch or so to the right for the power switch.
Step 17: Solder the Switch
Solder the positive from the switch to the power jack. And then one more wire that you will plug in to the breadboard.
Step 18: Hook Up to Breadboard
Now that everything is in the project box, hook everything back up.
Positive to pin 24
Negative to 23
Resistor to pin 5
PIR Signal to pin 20
LED + to resistor
LED - to negative
PIR + to positive
PIR - to negative
Step 19: View It
The LED will pulse when the detects movement.