Introduction: Laser Based Bug-blaster

I moved into a house that has high ceilings and getting rid of those occasional flying critters that park themselves on the ceiling is a real pain. Moths like to lay their eggs in the corners where the wall and ceiling join making them really hard to reach. So I decided to try a different approach to the ubiquitous fly swatter.

WARNING: This instructable makes use of laser technology and is not a toy. Do not attempt to make the end product described here unless you are thoroughly familiar with safety procedures in working with a laser and are of adult age (over 18). Not doing so could result in injury to yourself, others, and permanent loss of eye-sight! Never operate a laser without proper eye protection. Review of the following safety procedures is highly advisable http://www.laserfx.com/BasicSafety/BasicSafety4.h... and http://www.laserfx.com/BasicSafety/BasicSafety4.h...

Disclaimer- By constructing this project you are agreeing to the following:

  1. You are over 18 years of age.
  2. You understand that the laser component mentioned in the body of this document is dangerous when not properly assembled into the finished product.
  3. You will use the components and properly incorporate them into the described finished product.
  4. You will use the assembled end product in a safe and responsible manner and for a legal purpose.
  5. You are legally responsible for the use and assembly of these components and the improper use of said components or the end product.
  6. You are legally responsible for any injury to anybody resulting from the use of or assembly of these components or the finished product.
  7. You accept and agree to be legally responsible for any and all LIABILITIES resulting from and during construction and the end product use. Therefore, this end product is exempt from compliance with the appropriate requirements of FDA 21CFR, section 1040.10 and 1040.11 for complete products.

I wanted to make use of readily available technology to create my new swatter and without breaking the budget. I decided to make a laser-based swatter, or perhaps better put, a “bug-blaster”. Hobbyist lasers are common place these days and not super expensive. Using a laser would allow me to “reach out and touch” these invaders with immediate and devastating affect... at least in theory. If it failed to perform its intended function, the journey of its construction would be a good learning experience and fun nonetheless. I wanted to satisfy the following requirements… where possible:

  1. Keep things simple and cost under $100
  2. Adapt and apply common house-hold items in uncommon ways
  3. Must be stable and easy to aim and operate
  4. Rechargeable internal battery using high capacity 16650 cells
  5. Effective range- close, say 1 or 2 meters. I’m not going to hitting something as small as a moth from 10 meters away

It was decided to use and modify the familiar pistol-grip flashlight as the platform for my bug-blaster. That would eliminate having to construct a complicated housing to contain all the stuff that would have to go inside it. All I needed to do was pull out the guts of the flashlight then customize the cavity to contain batteries and any other supporting electronics needed. The end result is shown here...

The following steps are guidelines used to create your own bug-blaster. Making changes to these guidelines to personalize and improve it to your liking is what it’s all about. A reference list of parts used in this instructable are listed at the end. Everything was obtained from eBay at minimal cost. Miscellaneous resistors, capacitor, diodes, alligator clips, wire etc. can be obtained from Radio Shack, Fry’s, or on-line from eBay or Digi-Key etc.

Skills needed: You need to know some basic electronics. How to identify polarity on a battery and diode. How to read a simple schematic then wire and solder according to it. You also need access to a multimeter and how to use it. I’ve added a few TECH NOTES to add details for those interested. You’ll also need some familiarity with common hand and power tools, electric drill, dremel tool, hand saw, solder iron etc. If you are patient you will be successful. If you think you can build this in the time it takes to watch a movie you might want to try a different instructable.

Step 1: Selecting a Laser Module-

This is the most expensive part of the project. You need something that delivers a devastating punch in a fraction of a second. There are a lot of options here. A laser of only a few hundred mW can burn paper or flame a match but you have to be really close to the target… my adversary will never let me get within that range. I need it to burn from 1-2 meters away and very quickly. I decided on a 2W laser module (item #2). It has everything included (driver and focusable lens), just apply power and it works!

IMPORTANT NOTE- The laser module comes with the black and red wires twisted together, this is to prevent static discharge from killing the laser. To keep the lens dust-free I used a small piece of black electrical tape over the lens cap until mounting and test time.

Step 2: Mount the Laser Module in the Heatsink and Set Focus-

Lasers generate a lot of heat that must be dissipated or they’ll die suddenly. I selected item #3 to host the laser module because it’s relatively small yet has enough mass to do the job assuming I’m not using it like a flashlight. The firing pattern is to use short well aimed bursts.

The first thing to be done is to set the focus range. Insert the laser module into the heatsink as shown and just lightly tighten the screws. The lens focus ring is the part just protruding from the heatsink.

To set the focus we need to power up the laser using the power supply that comes with the flashlight. I made a simple adapter to plug the power supply into then use alligator clips to connect to the laser module.

Position a cardboard target 1-2 meters or so away from the laser. Put on your laser safety glasses then apply power to the laser. With the laser heatsink steady turn the focus ring so the smallest possible dot appears on the target. The smaller the dot the more intense the burn.

Once the focus is set remove power from the laser. Remove the laser module from the heatsink. Apply some sandpaper or other abrasive to the surface where the laser module inserts this will help the glue to adhere when mounting the heatsink to the tube discussed at the end of this article.

Apply a very thin coating of heat conductive grease to the module then insert it back into the heatsink as shown below. This is the reverse to that used to adjust the focus ring pictured above. I chose this orientation
because it protects the lens from dust and the focus ring from being bumped and loosing focus. Tighten the screws just firm.

Step 3: Select a Pistol-grip Flashlight-

I wanted a pistol-grip style because it’s much easier to aim and hold steady than the traditional wand pointers. After all, this is not a simple pointing device that you wave around like a Star Wars laser sword, we’re going after and zapping bugs so a steady aim is essential.

The flashlight chosen has to allow disassembly so we can get to the internals. These things are mass produced and often press-fix together so they can’t be opened. So I looked for something with screws. Item #1 looked close to what I needed. I would need some luck here since I had no clue as to the insides and how much effort it would take to customize.

Step 4: Disassemble the Flashlight-

This unit fortunately disassembles easily with just (2) snap panels in the grip and (6) screws, (2) in the grip and (4) in the head. Remove the snap panels from each side of the grip first. You have to pry them off. Use something made of hard plastic else you’ll mar the surface.

Now remove the (6) screws, with a some giggling the housing separates into four pieces. Be careful here because the trigger is spring loaded and it needs to be kept intact with the housing.

Remove the circuit board and unplug all connecting wires. Unscrew and remove the circuit board located in the end cap. Remove the (4) small screws from the lens head to remove the LED housing, washer and glass lens. Set aside the (4) small screws and washer for reuse later. Only the trigger, and power jack in the handle will remain. This flashlight includes a power supply that will be used to charge the internal battery. Keep the other internals for your next DIY project!

Make sure to remove the trigger-hold piece shown below. Just wiggle it out. It will not be included in the final assembly.

These are the pieces from which the bug-blaster will be constructed. There is also a lens washer and (4) small screws that will be reused but not shown here.

Step 5: Creating a Cavity for the Batteries-

This step takes a some time and patience and a decision on your part. The internal cavity has to be customized to hold two batteries. While I was originally going to use (2) 18650’s I decided to use the higher capacity 26650’s instead. Here’s a size comparison.

Fitting (2) 18650 is very easy and does not require much cavity customizing. I choose instead to use the much larger 26650’s because of their capacity, but I wasn’t sure they would actually fit until I tried it. Turns out they will, just barely. Customizing the cavity to accommodate these monsters takes more time but not that difficult and the payoff is much better. Just follow the pictures and take your time. I use wire clippers like those shown to snip away at the internal plastic structure to make room for the batteries. Avoid removing too much material as this will reduce housing stiffness.

As you incrementally remove material to make room for the batteries constantly check how well they are fitting so you don’t remove more than is necessary.

After some work this is what’s left from each half of the housing and end-cap. Compare your work with these pictures. If you can get them to fix and leave more material intact, my hats off to you. Remember less is better.

Step 6: Fit the Batteries to the Cavity-

Notice the gap on the left side of the battery. I used a piece of ¼” thick bubble foam cut to the size of the gap to keep the batteries from moving around.

Test for clearance by snapping together both halves of the housing and the end cap.

Step 7: Wiring the Battery Charger Board-

The bug-blaster will be wired using this ultra-simple schematic. The battery charger is driven from the power jack located in the base of the handle. I utilized the existing wire associated with the power jack and the trigger. All other wire is red and black 26 gauge.

Cut off the white connector leading to the power jack then solder the wires to the IN(+) and IN(-) pads of the charger board (shown below on the left side). The two white wires are labeled with “+” and “-“. Double check to make sure you get this correct.
Solder (2) 1N4007 diodes in parallel then solder the anode to the OUT(+) terminal of the charger board. These can be seen in the photo below next to the alligator clip on the right.

TECH NOTE: the two diodes in parallel prevent the batteries from discharging back through the charger when the batteries are NOT being charged. Two diodes were used to allow up to 2A of charging current.

The charger board can be test fitted in the cavity already provided by the existing housing. As it just happens, it fits perfectly without any modifications.

Step 8: Setting the Battery Charger Voltage and Current Limits-

Once the power jack has been wired to the charger board we need to set the current and voltage output limits to accommodate our batteries.

By default the charger board has been set to limit output current at 1A and is controlled using the blue potentiometer on the far left in the photo below. To set a different current limit, place an amp meter across TP1 and TP2 (see schematic). Connect the flashlight power supply to the power connector. Some LEDs lights on the charger board should light up indicating it has power. Now turn the potentiometer counter-clockwise to decrease the current to 0.3A or 300mA. This is the rating of the flashlight power supply.

Next adjust the voltage limit by attaching a voltmeter across TP1 and TP2. The potentiometer on the far right is used to adjust the voltage. Turn clockwise to increase the voltage to about 8.2 volts.

Unplug the power supply from the flashlight power jack.

TECH NOTE: If you want to upgrade to a power supply with greater current capability you can. They are cheap and plentiful. Just look for something rated 12VDC at 1 to 2 amps or more. Make sure it comes with a male 2.1 x 5.5mm plug. Use the same procedure for setting the charger current limit but set it to match your power supply (up to 2 amps). I have even used a Dell laptop power supply with an appropriate connector adaptor to give me 2A of charging current.

Step 9: Wiring the Batteries-

Solder the two batteries in series to give an output voltage of +8 volts. This voltage will power the laser module when the trigger is pulled. I used a small piece of 20 gauge or lower wire to connect the batteries in series.

Next, solder the positive battery terminal to the cathode side of the parallel connected diodes (refer to the schematic). Solder the negative side of the battery to the OUT(-) pad of the charger. I added a bead of hot-glue between the two batteries to keep them tied together.

Step 10: Step #10 Wiring the Battery Charging LED-

The LED on the original flashlight control board below can be used as a battery charging indicator. Cut out the 3 pin LED. This LED is dual-colored red and green. I will use the red LED as a battery charging indicator. Use a 1.5V battery to determine which outside lead corresponds to the anode of the red LED. The center lead acts as a shared cathode to both LEDs.

Solder a 680-ohm resistor to the anode of the LED then solder connecting red and black wires to the leads corresponding to the anode and cathode respectively. Solder the connecting wires per the schematic. Test fit the LED to the housing as shown below to make sure only the head appears. If you need to snap together the other half of the housing to convince yourself the fit is correct then do so. Use some hot glut to secure the LED in place.

Once the glue dries insert the power supply plug into the flashlight power jack located in the base of the handle. The LED should turn on. Now unplug power to the power jack so the LED turns off.

Step 11: Plexiglass Tube Supports-

Cut the plexiglass tube to 400-450mm or about 16-18 inches. Make sure both end surfaces are flat and perpendicular to the tube axis. Sometimes cutting can cause the edge to run askew.

The laser module heatsink will be attached to one end of the plexiglass tube and the other end to the flashlight housing. To do this two wood supports are needed to secure the tube to the flashlight housing. One is a disk and the other is rectangular.

A wood disk replaces the glass lens of the flashlight. A package of 3” wood disks can be found at Walmart in the hobby section. Trim one of the wood disks to 60mm in diameter. The trimmed disk will be secured into the lens housing using the original washer and (4) screws later in this description. Below is the original housing, lens, washer and screws.

An 18.7 mm diameter hole is made in the center of each wood piece. This is the diameter of the plexiglass tube that will pass through both pieces. The rectangular piece is 62 x 32mm and was made from a 5 gallon paint stirring stick found at Walmart or paint stores. I used a ½ drill bit to make the initial hole then a dremel tool fitted with a sanding bit to enlarge the hole to the correct size.

IMPORTANT NOTE: the plexiglass tube needs to fit snug when passing through the two holes to prevent wobble. As you are sanding a hole constantly check by trying to pass the plexiglass tube through the hole. When creating these parts adhere closely to the outside dimensions so that both pieces fit snug into the flashlight housing.

With the disk fitted to the lens head shown above, add back the lens washer and (4) screws to secure it to the lens head. Test fit the plexiglass tube through both wood supports. There should be no wobble. Just for fun I painted the disk side facing outward red to match the plexiglass tube.

Step 12: Wire the Laser Module-

Since the laser module heatsink will be mounted to the end of the plexiglass tube it’s necessary to provide wire from the housing to the end of the tube. Cut off the white connector leading to the trigger. Solder one end of the white trigger wire to the positive side of the battery. Solder the other end of the trigger wire to a piece of red 26 gauge wire that is as long as your plexiglass tube + 5 or 6cm. Solder another black wire of equal length to the negative side of the battery (see schematic).

Lightly twist the red and black wires together and feed them through both holes of the wood supports then down through the end of the tube. Secure the two wires now protruding out the end of the tube with a large paper clip (or some tape). This will prevent them from disappearing back into the tube while you make some final tests.

Step 13: Testing the Laser Module-

Prepare the red and black wires coming from the end of the tube for soldering. After stripping and tinning, attach a voltmeter to the wires. The reading should be near 0V. Now pull the trigger the voltage should be over 8 volts assuming fully charged batteries. Release the trigger and the voltage should drop to near 0V again. If everything appears OK solder the wires from the plexiglass tube to those of the laser module. Red wire to red wire and black wire to black wire. The polarity must be absolutely correct or you could destroy the laser module.

Set up a cardboard target a few feet away taking proper caution. Aim the laser module at the target. Put on your laser safety glasses then pull the trigger. You should see the laser light begin to burn a mark on the target. Release the trigger.

Step 14: Final Housing Assembly-

Now that everything appears to be working you can snap together the housing with the end cap.

If you were precise in making your wood support pieces the tube should be fairly rigid. I added a bead of hot-glue around the tube where it passes through the rectangular support piece hole. This will prevent the tube from sliding out of the housing. I did not apply glue to the disk because if disassembly is necessary the head piece will slide down the tube away from the housing.

Step 15: Laser Module Mounting and Final Test-

At this point the main housing should be assembled together except for adding back the screws and snap panels to the grip. Making sure all the housing seams are snug fit, add back just one screw to the body housing. This will prevent the housing from coming apart as the laser heatsink is attached to the end of the plexiglass tube. If something goes wrong during mounting it will me much easier to disassemble the housing to investigate by removing just the one screw.

Turn on your hot-glue gun and let it get really hot. Also make sure you have at least 3 or 4 cm of glue stick margin. Don’t want to run out of glue at this critical point.

Coil the excess wire into the tube.

It really helps to have an extra pair of hands here to hold the bug-blaster while you align and attached the heatsink.

Place the heatsink on a flat surface with the beam end facing down. Hold the bug-blaster so the free end of the tube is pointing down. Center the heatsink to the tube so that the two surfaces are flush with each other. Now with your glue gun tack two places at the intersection of the tube and heatsink with a small amount of glue. Fine adjust the heatsink to make sure it’s centered on the tube, make haste before the glue sets. If you mess up the alignment just remove the two small tacks of glue and start again.

After the tacks dry add a bead of glue around where the tube and heatsink meet. Build up the bead until it reaches the edges of the heatsink. Apply equal portion of glue to both the tube and heatsink. This should be enough to keep it in place. Let the glue dry thoroughly before final assembly and test.

Step 16: Final Assembly and Test-

Once the glue dries add the remaining screws to the housing body and snap panels to the grip.

Set up a target, put on your laser safety glasses and take some shots, practice your aim, you’ll need it to hit anything as small as a moth or fly.

A great target practice medium are the white mailing labels that come on today’s packages. They blister nicely under extreme heat. From the photo, each mark is about 4mm wide made with a 1 sec burst at 2 meters. These were all shot over a 15 minute period.

IMPORTANT NOTE: Monitor how warm the heatsink is getting during use. If it gets warm let it cool a few minutes. Use short well aimed bursts to prevent rapid heat buildup.

Step 17: Bill of Materials

Step 18: List of Tools-

  1. Soldering iron
  2. Hot glue gun
  3. Screw driver, power drill, dremel tool and accessories
  4. Xacto knife
  5. Wire, heat-shrink tubing, electrical tape, alligator clips
  6. Wire cutters and stripper, needle nose pliers
  7. Multimeter

Step 19: Variations on a Theme...

Having created the original bug-blaster based on a pistol grip flashlight here are some variants I've made using other approaches. This might if you some idea in creating your own.... Enjoy!

The top one is made entirely of PVC pipe the head contains a 6W laser and sound effect is housed in the tail section. It used 3x3 18650 batteries to create 12 VDC. A power jack in the base of the handle allows for charging the batteries with a 12VDC adapter. The whole thing looks a bit like a RPG (rocket propelled grenade) launcher.

Second from top is also made from PVC. The head contains a 2W laser with sound effect in the tail. It has a strobe at the head. A strobe overwhelms the eyes of a fly so it can't see what coming next! Yes it really works. 12VDC is generated from (3) 18650 batteries in the (long) handle grip.

Third from top is made using a pistol grip flashlight. A 6W laser is in the body. A small fan is attached to the rear of the flashlight body to dissipate heat from the laser. The laser bean travels down the center of a Plexiglas tube. where a lens attached to the end is used to reduce divergence. 6W lasers have absolutely dreadful divergence. A bicycle light battery pack (6x 16850's) is used to power this beast and are externally attached to the body.

The bottom two were created using the housing of a non functioning paintball rifle with the laser mounted at the muzzle end. Utilizing the trigger, action lever and sights makes this the perform form factor for a bug blaster because it can be steadily aimed with spot-on precision. The down side trying to fit (4) 16850 batteries, all the wiring and modified trigger switch into a place where very little empty space exists. Also getting the thing apart and back together is not easy. There is also a fair amount of grinding and cutting of housing material needed. But all the work and frustration paid off in the end product. Unlike the other variants which look like a hack, these look rather professional.