🤖
DIY robot concept

Build a safe DIY mosquito air-defense trap

Parts cost
USD 76.00

A laser-free vision tunnel that detects small flying insects, pulls them into a removable fine-mesh cup and logs each interception without exposed blades, high voltage or open optical hazards.

Parts

We may earn a commission from purchases through these links, at no extra cost to you.

0 of 11 partsRemaining priced parts: USD 76.00
  • Low-cost controller with 16 MB flash and 8 MB PSRAM; confirm the board includes the matching camera connector

    USD 8.00

  • IR-sensitive short-range camera for silhouette detection; choose the correct 24-pin ribbon length and lens angle for the tunnel

    USD 5.00

  • Approximately 45 CFM class; mount downstream of the capture mesh with guards on both faces

    USD 9.00

  • Backlights one enclosed detection plane; add a diffuser and opaque baffles so nobody can stare into the LEDs

    USD 6.00

  • Single low-voltage supply for fan and illuminator; select the exact 12 V / 3 A / 36 W option, correct mains plug and barrel polarity

    USD 6.00

  • Replaceable 2 A fuse on the 12 V positive lead, installed close to the adapter output; do not substitute a 20-40 A automotive fuse

    USD 3.00

  • Dedicated regulated logic rail for the ESP32-S3 camera board

    USD 4.00

  • Open-collector level interface for the four-pin fan PWM input; the transistor does not carry fan motor current

    USD 3.00

  • Air-permeable capture cartridge placed upstream of the fan, with no gap larger than about 1 mm

    USD 8.00

  • 20-40 cm enclosed optical tunnel, tapered inlet, light anti-backflow flap, service door and guarded exhaust

    USD 18.00

  • Optional replaceable attractant mounted outside the capture cup; do not improvise pressurized CO2 or combustion indoors

    USD 6.00

Photon Matrix is a real pre-order product, not a cheap laser turret.

Photon Matrix is a real pre-order product, not a cheap laser turret. Its maker describes LiDAR, millimeter-wave radar, AI vision, galvanometer aiming and either a 450 nm or 976 nm strike beam. The official store currently lists the infrared model at $988 and declares an internal IEC 60825-1 Class 4 diode. Independent reporting says mandatory laser-safety certifications were still in progress in June 2026. Those facts make the laser subsystem the wrong thing to copy at home.

This build keeps the useful experience—detect, intercept and count—but changes the interceptor to enclosed airflow.

This build keeps the useful experience—detect, intercept and count—but changes the interceptor to enclosed airflow. A mosquito-sized insect enters a matte-black tunnel 20-40 cm long. An 850 nm board shines through a diffuser across one narrow detection plane while an IR-sensitive camera watches for a moving silhouette. A downstream fan pulls air through a removable fine-mesh cup, so the insect reaches the mesh before the guarded blades rather than passing through a propeller.

Build the air path before the software.

Build the air path before the software. Print or cut a square tunnel, seal light leaks, put a tapered inlet at one end, then mount the capture cup, a light anti-backflow flap, fan and exhaust guard at the other. With the electronics disconnected, use incense smoke outside the inlet to confirm smooth inward flow and no recirculation. The cup must be removable only when power is off, and both sides of the fan need finger guards.

For the first firmware milestone, run the fan continuously at low speed and use the ESP32-S3 camera only as a counter.

For the first firmware milestone, run the fan continuously at low speed and use the ESP32-S3 camera only as a counter. Downsample frames, maintain a slowly updated background, reject blobs outside a calibrated pixel-area range and require motion in three consecutive frames before recording an event. The inexpensive OV2640 uses a rolling shutter and can blur or miss fast crossings, so treat its count as a tuning signal rather than ground truth. Do not call this species identification: dust, moths and other small insects can trigger it. Save only a short event counter or low-resolution diagnostic frame, not continuous room video.

Only after capture works mechanically should you add the air-defence effect: drive a four-pin fan's PWM control through an open-collector transistor, hold the fan at a quiet baseline and ramp it for several seconds when a candidate crosses the detection plane.

Only after capture works mechanically should you add the air-defence effect: drive a four-pin fan's PWM control through an open-collector transistor, hold the fan at a quiet baseline and ramp it for several seconds when a candidate crosses the detection plane. Wire 12 V directly to the fused fan and illuminator branch; feed the ESP32 from the buck converter's adjusted 5 V output. Connect the fan PWM lead to the transistor collector, emitter to ground and the ESP32 GPIO to the base through a 1 kΩ resistor. Join grounds at one point, verify the buck output with a meter before connecting the camera and never feed the fan's 12 V line into an ESP32 pin. A commercial mosquito lure can improve attraction, but the device should make no public-health or bite-reduction promise without a controlled field test.

Sources and validation

Product claims, safety boundaries and the capture architecture are linked to their original sources. Marketplace prices remain live and may change.

Design variants

Simple always-on trap

Skip PWM and run the guarded fan continuously. Use the camera only for counts and tuning. This is the fastest way to validate airflow and capture rate.

High-speed vision bench

Replace the ESP32 camera with an OV9281 120 fps global-shutter USB module and a Pi-class computer. This improves motion data but raises the parts budget by roughly $60-100 and still does not guarantee species identification.

Patio enclosure

Use a rain-sheltered PETG enclosure, conformal-coated low-voltage boards and a drip loop. Keep the optical tunnel horizontal, never aim illumination into open space and bring the unit indoors during severe weather.

FAQ

Why not copy Photon Matrix with a blue or infrared laser?

The official product declares an internal Class 4 laser diode and relies on multiple proprietary safety layers. A hobby galvo, camera or LiDAR check is not a certified safety system. This guide intentionally contains no strike laser, galvo or open beam path.

Will the ESP32 identify mosquitoes by species?

No. The baseline detects small moving silhouettes inside a controlled tunnel. Species classification needs a labeled dataset, better optics and validation against real mosquitoes; until then label events as small-flying-insect candidates.

Does it replace bed nets, repellents or professional control?

No. CDC and WHO guidance treats traps as one surveillance or control tool whose performance depends on species, lure, placement and testing. Keep proven bite-prevention and source-reduction measures in place.

Where should I put the lure?

At the inlet, outside the optical gate, so the scent plume leads toward the airflow. Use a commercial refill with instructions. Do not put liquids or powders near the fan, camera or power boards.

How do I test it without making inflated claims?

First measure airflow and escape rate with harmless paper specks, then run timed indoor or screened-patio trials. Log trap-hours, candidate events and physically confirmed mosquitoes. Compare equal nights with and without the fan or lure before claiming an improvement.

Robot build paths

How to make a robot

Related robot guides

Turn this concept into a sourced build

Start with this prompt prefilled, then let RoboHub generate the live parts list, wiring plan, CAD and firmware.

One concept like this every week

If this was useful, the weekly digest sends one new concept page + the latest addon every Monday. No spam, one click to unsubscribe.