Homemade HAL9000
![100_4223.JPG](/proxy/?url=https://content.instructables.com/FB1/WCKF/FWYHRU9Y/FB1WCKFFWYHRU9Y.jpg&filename=100_4223.JPG)
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
![100_4187.jpg](/proxy/?url=https://content.instructables.com/F68/ETN5/FWYHRUAO/F68ETN5FWYHRUAO.jpg&filename=100_4187.jpg)
![100_4172.jpg](/proxy/?url=https://content.instructables.com/FQA/P2LR/FWYHRUAP/FQAP2LRFWYHRUAP.jpg&filename=100_4172.jpg)
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
![WES51_300.jpg](/proxy/?url=https://content.instructables.com/F0R/TAZN/FWYHRUBS/F0RTAZNFWYHRUBS.jpg&filename=WES51_300.jpg)
Tools:
Soldering Iron
Drill
Screwdriver
Wire Stripper
Glue Gun
Soldering Iron
Drill
Screwdriver
Wire Stripper
Glue Gun
Get the Lens
![100_4173.jpg](/proxy/?url=https://content.instructables.com/FXP/4CJV/FWYHRUC6/FXP4CJVFWYHRUC6.jpg&filename=100_4173.jpg)
![100_4174.jpg](/proxy/?url=https://content.instructables.com/FTO/6FLT/FWYHRUC5/FTO6FLTFWYHRUC5.jpg&filename=100_4174.jpg)
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
![100_4175.jpg](/proxy/?url=https://content.instructables.com/F7A/82NS/FWYHRUCM/F7A82NSFWYHRUCM.jpg&filename=100_4175.jpg)
I removed the white led and replaced it with a red led.
Code
![macbs2.jpg](/proxy/?url=https://content.instructables.com/F5O/74AV/FWYHRUD4/F5O74AVFWYHRUD4.jpg&filename=macbs2.jpg)
![100_4205.jpg](/proxy/?url=https://content.instructables.com/FAD/A1A8/FWYHRUD2/FADA1A8FWYHRUD2.jpg&filename=100_4205.jpg)
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
![100_4179.jpg](/proxy/?url=https://content.instructables.com/F3L/MOEZ/FWYHRUDK/F3LMOEZFWYHRUDK.jpg&filename=100_4179.jpg)
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
![100_4189.jpg](/proxy/?url=https://content.instructables.com/FW2/DLQE/FWYHRUDX/FW2DLQEFWYHRUDX.jpg&filename=100_4189.jpg)
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
![100_4193.jpg](/proxy/?url=https://content.instructables.com/FSX/4N9F/FWYHRUE3/FSX4N9FFWYHRUE3.jpg&filename=100_4193.jpg)
![100_4190.jpg](/proxy/?url=https://content.instructables.com/FL8/CX4H/FWYHRUE4/FL8CX4HFWYHRUE4.jpg&filename=100_4190.jpg)
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
![100_4195.jpg](/proxy/?url=https://content.instructables.com/FG2/HNEU/FWYHRUEM/FG2HNEUFWYHRUEM.jpg&filename=100_4195.jpg)
![100_4196.jpg](/proxy/?url=https://content.instructables.com/FRF/H4ES/FWYHRUEL/FRFH4ESFWYHRUEL.jpg&filename=100_4196.jpg)
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
![100_4197.jpg](/proxy/?url=https://content.instructables.com/F34/BU9S/FWYHRUF3/F34BU9SFWYHRUF3.jpg&filename=100_4197.jpg)
On the back, make two holes, one for your power and one for your on/off switch.
Glue the PIR
![100_4198.jpg](/proxy/?url=https://content.instructables.com/FW6/52WB/FWYHRUFA/FW652WBFWYHRUFA.jpg&filename=100_4198.jpg)
Glue the PIR in to place with a hot glue gun.
Glue the Lens
![100_4199.jpg](/proxy/?url=https://content.instructables.com/FCS/PG4E/FWYHRUFH/FCSPG4EFWYHRUFH.jpg&filename=100_4199.jpg)
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
![100_4200.jpg](/proxy/?url=https://content.instructables.com/FAA/SVUG/FWYHRUFR/FAASVUGFWYHRUFR.jpg&filename=100_4200.jpg)
Glue the reflector on to the lens.
3 Pin Plug
![100_4201.jpg](/proxy/?url=https://content.instructables.com/F19/CYKZ/FWYHRUFZ/F19CYKZFWYHRUFZ.jpg&filename=100_4201.jpg)
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
![100_4202.jpg](/proxy/?url=https://content.instructables.com/FKM/5NDV/FWYHW4PI/FKM5NDVFWYHW4PI.jpg&filename=100_4202.jpg)
Solder wire to the end of LED to connect to the breadboard.
Solder the Power Jack
![100_4203.jpg](/proxy/?url=https://content.instructables.com/FWX/7NEC/FWYHW4PO/FWX7NECFWYHW4PO.jpg&filename=100_4203.jpg)
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
![100_4204.jpg](/proxy/?url=https://content.instructables.com/FWN/BNJF/FWYHW4PY/FWNBNJFFWYHW4PY.jpg&filename=100_4204.jpg)
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
![100_4207.jpg](/proxy/?url=https://content.instructables.com/F2K/CBLR/FWYHW4Q5/F2KCBLRFWYHW4Q5.jpg&filename=100_4207.jpg)
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
![100_4220.jpg](/proxy/?url=https://content.instructables.com/FW9/XTPM/FWYHW4QQ/FW9XTPMFWYHW4QQ.jpg&filename=100_4220.jpg)
Check it out.
The LED will pulse when the detects movement.
The LED will pulse when the detects movement.