EMP Generator

Keeps away the bees.

Background

In freshman year of college, I took a class called Ethics and AI. Near the end of the semester, our professor played us an episode from Black Mirror, titled “Hated in the Nation.” If you haven’t seen it before, the synopsis is that bees went extinct so people built robot bees, but the robot bees have been hacked and are killing people.

Seeing people get attacked by robot bees was pretty terrifying to watch, and I thought it would be interesting to try and find a way to fend off such an attack. After a couple internet rabbit holes, I settled on making a portable handheld EMP generator. It’s pretty short-range, so if you did get attacked by killer robot bees, they’d have to get pretty close to your face before you could use it. Just a heads up.

The Process

Enclosure

I designed the enclosure myself using SolidWorks and 3D printed it on my own Flashforge 3D printer with PLA. The enclosure contains holes on the sides for two buttons - both have to be pressed in order to activate the EMP, kind of like how a lighter has two switches so you don’t accidentally light the wrong birthday candle. Inside it has some structures to screw in place the battery and other components, as well as two divots on each shell to hold magnets, allowing the EMP generator to be magnetically sealed while keeping its shell easily separable. I used magnets since I wanted it to be pretty easy to open up the device and troubleshoot whatever was inside, and I didn’t want ugly screws ruining the smooth exterior.

Electrical System

Inside we have a 3.7V LiPo battery, two 1nF capacitors in series (each one is rated for ~25kV, so in series we can handle ~50kV), a high-voltage transformer that can output a maximum of 1.5A at 50kV, and a few turns of copper wire around the bottom to create an inductor. There’s also a spark gap formed by putting electrical tape over two strands of wire to hold them about 5mm apart.

Using the diagram below as a reference, the idea is that the high voltage transformer turns up the incoming 3.7V from the battery to about 50kV at its output (in layman’s terms, a lot of volts). This will charge up the capacitor, creating a 50,000 volt difference between ground and one end of the capacitor. By placing the wires in the spark gap close enough together, we can get them just far apart enough that the high voltage is capable of ionizing the air and arcing across. This arc is demonstrated in the video, and while you can’t tell just by watching, it smells really bad. The arc will cause the capacitor to discharge extremely quickly through the inductor - by Lenz’s law, inductors resist a change in current by creating an opposing magnetic field, so the huge change in current will result in a huge magnetic field, resulting in an even larger electric field (the “electromagnetic pulse”). This even larger electric field then induces current spikes in nearby electronics, which can fry the internal circuitry if they’re not equipped to handle current surges.

Component & Cost Breakdown

It’s a pretty brief components list, but remember to exercise caution when working with really high voltages. The transformer does produce more than enough current to kill you if it passes through your heart, and the high voltage means you don’t actually have to touch the wires for them to arc through the air and shock you.

ComponentDetailsVendor
Power Source3.7V LiPo Batterywww.amazon.com
Capacitors2 25kV 1nF Capacitorswww.amazon.com
Transformer50kV High-Voltage Transformerwww.amazon.com
InductorCopper Wire LoopYour local copper mine
Safety Switch2 Pushbutton Switcheswww.amazon.com