I'm not exactly sure when I stopped being any fun, but I kind of hate Halloween. With this in mind I have created the anti-Halloween House. The Anti-Halloween House is an automated system that turns off all of the front lights of my house any time a trick-or-treater approaches. After all, nothing says "GO AWAY!" like having all of the lights turn off on you whenever you approach. The best part is that this allows me to be a grinch without even having to get up from the couch to do it.

I did consider that this may result in angry mobs of children at my doorstep and have decided to counter this problem with another anti-Halloween innovation, a remote controlled Flamethrowing Jack-O'-Lantern. With one of these strategically placed in conjunction, I can easily keep all of the trick-or-treaters at bay.

Step 1: Make the transmitter

To make the motion-sensing transmitter you will need:

- An Arduino (Uno preferable)
- A wireless SD shield
- XBee Series 1 transceiver
- Copper foil
- SPST 3A solid state relay
- 5" x 2.5" x 2" project enclosure
- Outlet socket adapter
- A plug in socket
- 3-pin female header
- 9V battery snap
- Parallax PIR sensor
- Lamp replacement cord
- 220 ohm 1/4 watt resistor
- Tiny 1/2" nut and bolt (don't know exact size, but must fit through PIR mounting holes)
- A light bulb
- Epoxy
- Shrink tube or electrical tape

Step 2: Arduino

Plug in the XBee into the Wireless SD shield.

Plug the Wireless SD shield into the Arduino.

Step 3: Copper

Cut a long thin strip of copper foil that is the width of one of the prongs of the plug in outlet.

Fold the end into a small tab that fits snugly between the prong and the case.

Solder it the prong that makes contact with the outer metal case of the light bulb.

Step 4: Drill

Drill an 1/8" hole into the bottom of the socket next to the prong with the copper foil attached.

Step 5: Rewire

Carefully place a little bit of epoxy at the base bottom and top of the metal connector inside of the light bulb socket. Wait for it to dry.

Pass a lamp cord wire in through the hole you drilled and solder it to the upper part of this connecter.

Cut the connector in half such that the upper part is connected to the wire and the bottom part plugs into the wall (and the two parts are no longer touching).

Carefully place some more epoxy on each side to hold them better in place and better keep them from touching. Make sure the epoxy won't interfere with the light bulb coming into contact with the metal tab on the side of the socket.

Step 6: Solder

Solder the other lamp cord wire to the copper tab.

Insulate this connection with shrink tubing and/or electrical tape.

Step 7: Zip tie

Zip tie any loose wires firmly to the body of the socket.

Step 8: Plug it in

Plug the socket into the socket plug adapter.

Epoxy them together.

Step 9: Drill

Drill a 5/8" hole in the side of the case.

Step 10: Pass the cord

Trim the lamp replacement cord so that there is about 3 feet of cable coming from the socket adapter you just made.

Pass the loose end of cable through the hole in the side of the case and make a knot so that it can't get pulled back through.

Step 11: Relay

Solder the relay to the perfboard in such a way that none of the terminals are connected.

Step 12: Circuit

Solder the each one of the lamp cord wires to one of the output terminals on the relay.

Connect a 220 ohm resistor to the positive DC voltage input and connect a red wire to the other end of this resistor.

Connect a black wire to the negative connection.

Step 13: Drill a hole

Drill a hole in the center of the project enclosure's lid with a 7/8" spade bit.

Step 14: Mark, drill, and mount

Place the dome of the PIR sensor through the hole that you just drilled.

Take a drill bit that will fit through the mounting holes of the PIR sensor. Pass it through each of the holes and twist it about a little bit to make drilling marks.

Remove the PIR sensor and drill through each of the spots that you marked.

Fasten the PIR sensor to the lid using the tiny nuts and bolts.

Step 15: Socket

Solder a red, green and black wire to each of the female socket pins. Make sure that red is in the center.

Plug the PIR module into the socket such that the ground pin lines up with the black wire.

Step 16: Program

Toggle the switch on the Wireless SD Shield to USB and then plug in.

Program the Arduino with the following code:

When you are done, unplug the Arduino and toggle the switch to "micro SD"

Step 17: Connect it together

Connect the green wire from the PIR module to digital pin 3 on the Arduino.

Connect the red wire from the relay to digital pin 13 on the Arduino.

Connect all of the black wires to ground.

Connect the remaining red wire from the PIR module to +5V.

Step 18: 9V plugs

Twist apart the M-type plug and slide the terminal cover onto the wires from the 9V snap (so that after you solder it, you can twist it back on).

Solder the red wire to the center terminal and the black wire to the outer terminal.

Twist the cover back on.

Repeat twice more (or however many times you find necessary. See step 21).

Step 19: Plug it in

Plug the M-type connector into the Arduino and connect a 9V battery.

It is now powered up.

Step 20: Case closed

Fasten the lid onto the project enclosure.

Step 21: Make the receivers

The number of receivers that you make should be based on the number of rooms you have in the front of your house. In my case, there were two rooms without outward facing windows, so I need to make two.

Here are the parts that you would need to make a single receiver:

- Arduino (preferably Uno)
- Wireless SD shield
- XBee Series 1 transceiver
- 7" x 3" x 5" project enclosure
- Mounting panel (cut from the template file attached below)
- (x2) Wall mount power sockets
- Replacement lamp cord
- SPST 5A solid state relay
- 220 ohm resistor
- M-type male plug
- 9V battery snap
- 9V battery holder
- (x8) 6-32 x 1/2" bolts
- (x6) 6-32 nuts
- (x3) 4-40 x 1" bolts
- (x1) 4-40 x 1/4" bolt
- (x4) 4-40 nuts

Step 22: Wire the sockets

Place the wall sockets side-by-side. Wire the left side of one to the left side of the other and the right side to the right side. Be careful not to cross these connections or you risk blowing a fuse in your home wiring.

Step 23: Fasten

Attach the wall sockets to the receiver's panel bracket using the _ _ _ " nuts and bolts.

Step 24: Drill

Drill a 5/16" hole in the side of the case for the power cable.

Step 25: Cable

Pass the cable through the hole that you just drilled and tie a knot to prevent it from being pulled back out of the case.

Step 26: Relay mount

Place the solid state relay inside the case and mark where each of its mounting holes are. Drill an 1/8" hole through each of these marks.

Step 27: Wire it up

Connect an 8" heavy gauge wire to one of the AC output terminals on the wire. Connect one wire of the power cord the other AC terminal output.

Step 28: Affix

Attach the relay to the inside of the case by passing bolts up through the bottom and fastening each with a nut.

Step 29: Arduino mount

Place the Arduino into the enclosure and make 3 marks that correspond with its mounting holes. Drill through each of these marks with a 1/8" drill bit.

Step 30: Secure

Fasten the Arduino to the inside of the case using nuts and bolts in the same way the relay was just attached.

Step 31: Program

Make certain the the power select switch is set to USB. Once you are sure, plug in the USB cable and program the chip with the following code:

When you are done, unplug the cable and toggle the power switch back to "micro SD."

Step 32: 9V holder

In spot large enough for a 9V battery, drill another 1/8" hole in the bottom of the case.

Affix the 9V battery holder to this spot with a nut and bolt.

Step 33: Wire it up

Solder a 220 ohm resistor to one end of a red wire. Plug one end of this wire into digital pin 3 on the Arduino and fasten the other end to the DC positive terminal on the relay.

Connect ground from the Arduino to the negative DC terminal on the relay.

Step 34: Power

Plug in the 9V battery connector into the power jack on the Arduino and then attach a 9V battery.

It is now powered up.

Step 35: One last thing

Connect the thick gauge wire from the relay to one of the pairs of power sockets on the front panel.

Connect the free power cord wire to the other pair from the front panel.

Make sure that you do not accidentally cross these pairs/wires.

Step 36: Close it

Fasten the case firmly shut.

It is now good to go.

Step 37: Front light

Turn off your house's front light.

Thread a light bulb into the transmitter's light socket.

Replace the light bulb in the front of the house with the light bulb in the special socket connected to the transmitter.

Make sure the PIR sensor is facing outwards.

It is not set up to transmit and tell all of the other lights to turn off. You should turn the front light back on.

Step 38: Inside lights

Plug in your receiver boxes into the wall, and then plug lamps into the boxes. These lamps will now be controlled by the sensor in the front of the house.

Step 39: Profit

Whenever some pesky trick-or-treaters approach your house, the lights will now turn off and they will go away.

You may want to consider disabling the doorbell as well.
<p>Although I admired your tenacity, I'm a bit &quot;scared&quot; of your project. You could have saved yourself a bunch of difficult work by getting a socket that has screw terminals built in already, most free standing lamps have one. Second the wire you used to run to 4 sockets is a fire waiting to happen. This thing would not meet any code or electrical approval, in use, if it did start something your insurance would be void! Lastly, you could load more steps per &quot;page&quot;. And after all that ...why not just leave the light off to start with?</p>
I guess this is one option... Wouldn't it be easier to spend the money going out to dinner and a movie? Oh, I forgot... you're no fun!;-)
How is this a waste of money?!?
um... you could just turn the lights off and or post discouraging statements on your door, that would be cheaper and less complicated than two xbees and an arduino.
whats the fun in that ?! <br>
form always follows function. i.e. look up the Halloween history plz.
Hate halloween myself - its never been a &quot;thing&quot; here in New Zealand until the last couple years when retail merchants start to push all the commercial side of stuff.<br><br>Simply put.... Halloween is Extortion.<br><br>Standover tactics from a school aged bully.<br><br>To me, &quot;trick or treat&quot; boils down to &quot;give me lollies or I'll do something nasty to you and yours.&quot; That's bullying.<br><br>Is that what you want to teach kids?<br><br>
&quot;Trick or treat&quot; sounds more like they are asking for either a trick or a treat. This house succeeds in tricking them, so I say it is well within the spirit of halloween.<br> <br> At our house, we give both. It's not a real halloween until children leave your doorstep crying. Even more satisfying are the teenagers who are too scared to even come to the door.<br>
please tell me what you do to them!!
This is exactly how America started the &quot;Trick or Treat&quot; tradition. Kids used to vandalize and cause havoc on Halloween, but some people found they could bribe the kids with treats and their houses were spared the damage. It wasn't long before the marketing companies started picking up on it and pushing it around.
&quot;give me lollies...&quot; -If I had a time machine, thats what I would change the phrase to!
To me, &quot;trick or treat&quot; is a figure of speech...
instead of having witches rip you off and ghosts trying to haunt me, i give them a fright before they do. once a group of people went all the way around to my backyard and scared me from behind, wasn't prepared for that. <br> <br>don't you think that you could make some money out of Halloween? i made a lot of money once, i sold zappers to some friends, i charged them for building some cool anti-Halloween thingies, and my friend, who was more of a fan of Halloween, set up a course(he had lots of land) for little critters and he ripped them off, probably because he attracted visitors with prizes. he also made about $50.
i have a friend who likes to squirt people who don't hand over on Halloween. he owns a powerful water pistol. <br> <br>for some reason, he made me make a rig to disperse large quantities of leaves off a tree which goes over his driveway. it was triggered when someone stepped on some planks of wood. once it rained all day and it was really bad, and once i accidentally stepped on the wrong step and my friend was in the way and he got so itchy that we stopped doing those pranks from then on, it was a bit cruel.
ha ha ha ha that is really funny <br> <br>I'm not so good at all that technology, i can only understand what happens but not the detail, maybe a bit of the codes, is it similar to C++? <br> <br>i have an idea. i think you could just put some switches in a floor mat and opens a circuit when the mat is stepped on and switches the lights off. <br> <br>at Halloween, i got some thin black thread and connected it to the front door. i held the other end behind the garage and when someone came (without an adult) i would pull the string and the kids will get a fright, while my mum waits for people to arrive. next time maybe i could make it automatic, but it is not a good idea to go poking around without paying much attention, because a very daring person might see it as an opportunity to rob my house without even needing to open the door!
Randy, you are so funny.;)
I'm going to be that old man that gives out rocks ;D
hating Halloween? what kind of monster are you?
Wouldn't it have been easier to hack a motion detector light? One relay in place of the bulb and you'd have been done.<br><br>Garden variety 1/2&quot; hex hardware is 5/16 X 18 UNC thread.
It's funny but next year for even more fun, get up on your roof with the hose.
His shoulders dropping when the lights go out; that was the greatest.
BOOO! Halloween is a great holiday. Makes for perfect excuse to buy lots of candy to gobble without guilt... afterall...its for the kids... and is a great excuse for that whip and cuffs you might have in the garage...they are ummm Halloween props.
Too bad they don't celebrate halloween in my country. I wish I could be mean to the kids but here this proyect is purpuseless. LOL.
Way too much effort! I just go out to dinner and a movie, and get back home after all the munchkins are gone for the night.
Dude. Why the effort? I just put a empty Halloween-themed bowl out on the porch with a sign that says &quot;Happy Halloween!&quot;. No one ever rings.
Because some peple enjoy making things.
The effort is what makes it funny.
I want to come up with a nice, simple way to say &quot;We wish we could leave you candy, but we're the ones doing the amazing fireworks show you're going to see at 8 pm, so we're not home right now.&quot; Unfortunately, one of my roommates WILL be home on Halloween, but he's deaf and probably won't wanna answer the door. We wish we could be home, but as pyrotechnicians, you never get a Halloween off. :)
How about a big sign on your lawn, or a pre-recorded message that plays using a proximity sensor...
And the house that will get egged on Halloween, then vandalized by angsty teenagers and short-changed by paperboys and delivery guys for years to come belongs to...
oh you're twisted. I love this. Maybe add a non-lethal shocker to the doorbell for really hard to deter children. Or you could have done the worst thing.....<br> passed out handfuls of horrible candy. &nbsp;
Hand out vegetables, lol.
VEGGIES?!? Oh, the horror! I'm still laughing.
Those peanut butter taffy things were my favorite!
I always thought adding a motion sensor to a sprinkler system would be nice for such situations...
Well, the social contract AND social convention of this holiday is &quot;TRICK or treat&quot;, right? <br><br>Don't be surprised if irritated kids wreak their vengeance on you.
You could always make your house look like it was made of ginger bread and candy and then stuff the fattened kids in your oven...<br><br>This is such a cool project!
Just a piece of paper that says: OUT OF CANDY...
One year, I put a box on the front step with a sign reading: &quot;Kiddies! Put your candy in the box and go away quietly, and no one will be hurt.&quot;<br><br>No one stopped at my house that year.
It was probably the scariest house on the block.
Very cute. Just hope no one comes up with an automatic egg launcher.
&gt;:) You just had to say it. Kidding
the flamethrower pumpkin is a bit overkill, literally.
Oops, I thought this was going to be a waste disposal or gardening instructable. On the email it says, &quot;How to get rid of trick or treaters.&quot; My bad.
LMAO! How quickly after they leave does it come back on? I can just picture them walking up to the porch as it turns off, then as they leave it comes back on, so they're like, &quot;Oh, let's try again.&quot; repeat...
No you want it that do so you can watch them lol
Hahah! Great idea!
actually I love reading the different ways to keep them away, very funny
on Step 37Front light dont you mean NOW instead on &quot;not&quot; <br>It is not set up to transmit and tell all of the other lights to turn off. You should turn the front light back on.<br>you should have said <br>It is now set up to transmit and tell all of the other lights to turn off. You should turn the front light back on.<br><br>or you need another step to set it up lol
Hand out those mini bible comics and &quot;testa-mints&quot; if you live in a diverse community. Or if you're in a more conservative community, make some of your own Flying Spaghetti Monster comics about how trick or treating is actually stealing candy from the pirates and midgets, and is contributing to global warming. Me, personally, I'm just setting out an empty bowl.

About This Instructable


56 favorites


Bio: My name is Randy and I run the Instructables Design Studio. I'm also the author of the books 'Simple Bots,' and '62 Projects to ... More »
More by randofo: Bedfellow Robot Bed Easy Science Fair Project Chocolate Blackout Cake
Add instructable to: