Homemade HAL9000
After watching 2001 A Space Odyssey I decided I needed my own HAL 9000- except less evil.
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.
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.
Parts
BS2
PIR
Aluminum Project Box
Solderless Breadboard
DC Power Jack
3 Pin plug, I got one from a CPU fan
Switch
Old flashlight for the lens.
Red LED
470 Ohm resistor
PIR
Aluminum Project Box
Solderless Breadboard
DC Power Jack
3 Pin plug, I got one from a CPU fan
Switch
Old flashlight for the lens.
Red LED
470 Ohm resistor
Tools
Tools:
Soldering Iron
Drill
Screwdriver
Wire Stripper
Glue Gun
Soldering Iron
Drill
Screwdriver
Wire Stripper
Glue Gun
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.
I cut the top off with a dremel and kept the lens and reflector assembly.
LED Switch
I removed the white led and replaced it with a red led.
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.
Load the code on your stamp.
The code I used is attached.
Downloads
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.
Run the signal from the PIR to pin 15, and positive and negative to the + - terminal on the PIR.
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.
On the top find the center and mark it.
I used a punch so my drill bit wouldn't walk on the metal box.
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.
I also used cutting oil to make the whole cutting easier.
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.
Power an On/off
On the back, make two holes, one for your power and one for your on/off switch.
Glue the PIR
Glue the PIR in to place with a hot glue gun.
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.
Reflector
Glue the reflector on to the lens.
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.
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.
LED
Solder wire to the end of LED to connect to the breadboard.
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.
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.
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
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
View It
Check it out.
The LED will pulse when the detects movement.
The LED will pulse when the detects movement.