Electric Roach Motel 24 Comments by: Will O'Brien January 9, 2008 Title: Copy Short Link: Copy [Luhan] built this PIC controlled roach motel. It’s the first micro-controller project that I’ve seen devoted to exterminating a member of the insect world. A PIC 16F675 is used to generate 10 pulses at 400 volts per second. Crispy. permalink
24 thoughts on “Electric Roach Motel”
haha, thats so cool. not only is high voltage involved, but you get to kill something with it
My friend has a “mouse problem”… maybe I’ll up the voltage a bit and help her out :)
Why didn’t you just use a 555 timer in astable mode?
it’s gonna smell like bbq’d dog hair…
I think a microcontroller here would normally be referred to as “overkill”… no pun intended
does it work? if i was still in my bronx apartment, i could have tested. the roaches were everywhere. my mom bought me one of those “ultrasonic” things that were supposed to scare away the roaches. i tried it for a few months and of course it did not work. i opened it up to see what made it tick. there were roaches living inside it.
nice project! finally, an excuse to get back into hobbying ;)
heeeere kitty, kitty, kitty…
I don’t think the electric pulse will be fatal to insects… The “what seems to be” gold trace on the pcb seems to be of enough conductivity to transmit the full 400V pulses to the insect but with it’s carapace, the insect will not absorb enough current to kill, therefore just sort of paralysing it. It’s the same principle as the taser gun; a lot of tension but very very few current passing through the body resulting in a stun/paralyse state instead of death. Current kills, voltage sort of paralyse (to be simpler because on a medical term I don’t think it’s imsple as that).
I’d really like to see proof that this thing actually kill.
In which case you use higher voltage, use the controller with trigger for 40’000 vdc
automotive ignition coil 😁
This sounds like a recipe for a roach on fire – a dead roach will just sit there and smoke, no way to remove it!
This needs an motorized paddle to move across and wipe the dead roach into a bin! True automated killing – you have a few extra lines on that PIC, right? When C1 takes a big voltage hit charring a roach, finish frying it for an extra second or two and then activate the wiper.
@bennyboy: well if it’s only stunned and not dead – wipe it into the bin… then activate a crushing device, heh heh heh :D
I was going to build something like this out of an electric swatter to deal with my fruit fly problem – unfortunately a simple trap made out of a bottle and vinegar made short work of them, with no satisfying sparks or loud bangs necessary :(
No cleanup mechanism necessary for fruit flies… they just fall through the mesh.
Anyone here read “The Wasp Factory”? All of a sudden I’m reminded of it… :)
“In order to consrver power, a zener was used in place of the usual 5 volt regulator. This allows doing extra tricks with the sleep mode for extended battery life.”
Er. What would these be? I don’t see how a zener diode is a better choice of 5V source than, say a linear regulator (assuming a low quiescent current).
WRT using a 555 – you could but I’d favour the programmability of a PIC. Also the A/D allows the voltage to be measured and it’s always handy to have a spare I/O here or there.
I think I would probably have to go with some form of a capacitor discharge system. I could yank a couple photo flash caps from some disposable cameras, which would give quite a bit more current that what’s being provided here. Certainly enough to kill a roach I would think, and very possibly mice as well. Hmmmm…
Why not just make a board with traces like the one above and connect it to 120vac.
Guaranteed crispy critters !
Probably dont need much current to kill a roach. kind of like those electric flyswatters; you can smack your friend with it and make him scream like a little girl, but it wil set a fly on fire if you keep the juice going. I believe those use cheap little transformers for voltage amplification from a 9v battery with constant voltage as opposed to pulsed.
wouldnt really need a body removal system either, the little fellow would just cook until he doesnt conduct anymore (i.e. burnt to a little briquette)
Still love to see it in action.
come one man… trip to the petstore… a feeder pinkie? maybe a handful of crickets?.. a pinkie?
i figure an insect’s legs should make excellent physical contact with the surface considering how sticky the feet are. as for how conductive they are, i’d like to know. see if you can get a roach and a multimeter. also, i’d absolutely love to see this thing on youtube.
The only failsafe protection is a blow capacitor and a blown diode. No switch?
Also, couldn’t you convert this to a micro stungun?
hmmmmmmmm I wonder if you could use this to keep the dogs from raising their leg in your yard?????
to really be effective, it needs to use a voltage on the order of thousands of volts. most bug zappers run in the 5 to 15 kilovolt range.
That looks so fun. Never tried etching a board before.
In the above comment, someone mentioned using a 555 timer in astable mode, I think 555 timers are easier to find and doesn’t need programming. Has anyone developed a more “efficient” version of this device?
Sure seems like something nice to leave in the corners to keep the bugs in check.
I built a similar roach motel back in the 1980’s. Mine was powered from a 9-volt battery. It used a 555 timer to create a square wave, that was fed into a step-up transformer. I was getting over 200 volts out of the transformer. The output was wired to two copper clad boards, which were laid on the floor so the roaches could then crawl over and complete the circuit through thier bodies..
We saved a lot of money at the grocery store that way.
Do we have to program the PIC..I’m a liltle bit confused.need answer ASAP :)
hello. can I ask about the coding for PIC12F683?
Please be kind and respectful to help make the comments section excellent. (Comment Policy)