News for hackers. Stuff that matters.
Re:Raspberry Pi for Kill Mosquitoes by Laser by helsinkiandrew on Sunday March 07, 2021 @10:57AM (#26376854)
This work (I think) worked with the mosquitos 30cm away with a servo scanning Pi Camera (1080p) and a 1W laser.

To work in the real world - cover a whole room or terrace - presumably a much higher resolution camera (or much faster scanning system) would be required. Even a 1W laser is dangerous to eyesight, if it was being fired at targets mingling with people.

The system could be mounted on small drones that would patrol larger areas - but the idea of robotic drones armed with lasers roaming around is beginning to sound worse than the mosquitos.

Re:Raspberry Pi for Kill Mosquitoes by Laser by janoc on Sunday March 07, 2021 @01:21PM (#26378218)
Good luck detecting a mosquito optically from a distance of several meters using a cheap camera and Raspberry Pi. Oh and you want to do from a moving drone. That will certainly make it work!

Just look at the images in the article - the guy's best result was detecting a black speck appearing on a nearby white wall with some 60-70% reliability (based on his own numbers). So you would be missing a lot of mosquitoes - but will be happy firing the laser at random shadows and what not. And that was in a completely stationary setup and controlled lab conditions, i.e. not at all something resembling a typical poorly lit room!

This article is BS. Preprints are not peer reviewed (i.e. nobody has checked anything in it - so could even be a complete hoax), it is a pretty typical gadgetry style paper (we do it because we can, not because it makes sense) you do at when you need to fill up your resume with research papers (e.g. for keeping/obtaining a job reasons).

The "save the world" (mosquito control, diseases, etc.) justification is also par for the course for this type of crappy paper. Anyone who seriously thinks that one could control mosquito problem by shooting them one by one by a laser is delusional.

But neural networks and "AI" are being used, so it has to be cutting edge groundbreaking stuff, right?

BTW, this nonsense idea has been floated as a publicity stunt a few years ago (including a slow motion video of a laser burning off wing of a mosquito in flight) and it seems that some Russian PhD student from a fairly obscure uni either didn't do their research or has reinvented the wheel (or just plain copied the thing without attribution). The list of irrelevant or only very tangentially relevant (it is about mosquitoes, so in scope, right?) references is a dead giveaway there (paper on mosquitoes spreading zika? seriously?).

Here, it was even on National Geographic in 2010(!): https://www.youtube.com/watch?v=BKm8FolQ7jw

Oh and that was supposed to be a handheld device to boot. With the same "save the world from malaria" spiel too. I wonder what are the owners of the company that was pushing this concept to investors back then trying to sell today ...

There are actually multiple videos on Youtube showing products from different companies that were attempting to push this as some sort of viable concept.

Re:Raspberry Pi for Kill Mosquitoes by Laser by YeGoblynQueenne on Sunday March 07, 2021 @02:51PM (#26379122)
>> This article is BS. Preprints are not peer reviewed (i.e. nobody has checked anything in it - so could even be a complete hoax), it is a pretty typical gadgetry style paper (we do it because we can, not because it makes sense) you do at when you need to fill up your resume with research papers (e.g. for keeping/obtaining a job reasons).

That describes about 80% of the field of machine learning today: that's how most new work in machine learning is presented to the community, through preprints on arxiv that never get published, therefore peer-reviewed; and most of it is of the "we did it because we can, not because it makes sense" type. The same goes for much of AI research in the past. Here's John McCarthy:

1. Much work in AI has the ``look ma, no hands'' disease. Someone programs a computer to do something no computer has done before and writes a paper pointing out that the computer did it. The paper is not directed to the identification and study of intellectual mechanisms and often contains no coherent account of how the program works at all.

http://www-formal.stanford.edu/jmc/reviews/lighthill/lighthi...

(Take note that the above was written in 1973)

I'm prepared to bet that the exact same work could be published by a respectable research team (you know, with good English) and it would get many adulatory comments in social media (though I hope you would retain your skepticism).

Re:Raspberry Pi for Kill Mosquitoes by Laser by walrus01 on Sunday March 07, 2021 @05:26PM (#26380400)
> using a cheap camera

even if you had a RED Komodo feeding uncompressed 4K DCI 60fps video to a pci-express bus capture card, the sensor resolution and tiny size of mosquitoes means that unless the lighting conditions are just right, and the mosquito is somehow highlighted against a background, it's going to be very hard to pick them out at distances of 2 or more meters.

and that's before you get into the software problem of processing the fire hose of data that is 4096x2160 at 60fps raw. and the hardware cost of a very serious workstation class PC capable of taking the capture at 1:1 realtime.

possibly a lidar based sensor or something might be more suitable to locating the x/y/z position of mosquitoes in a few meter area.

Re:Raspberry Pi for Kill Mosquitoes by Laser by samatman on Sunday March 07, 2021 @08:14PM (#26381399)
Mosquitos, as we all know, have a highly distinctive auditory signature.

A phased microphone array is the only sensible approach to localized mosquito detection. It would probably work reasonably well.

The problem is that the entire field is patent encumbered, because Myhrvold's company Intellectual Ventures has done some research on it, and no on in their right mind would go up against those guys.

Re:Raspberry Pi for Kill Mosquitoes by Laser by walrus01 on Sunday March 07, 2021 @08:17PM (#26381418)
Why am I absolutely not surprised that somebody with a background at Microsoft is an intellectual property patent squatter?
Re:Raspberry Pi for Kill Mosquitoes by Laser by westurner on Sunday March 07, 2021 @09:11PM (#26381713)
Yeah, they already did sharks with lasers. IDK what the licensing terms are on that
Re:Raspberry Pi for Kill Mosquitoes by Laser by walrus01 on Sunday March 07, 2021 @09:15PM (#26381736)
ONE MILLION DOLLARS
Re:Raspberry Pi for Kill Mosquitoes by Laser by silon42 on Monday March 08, 2021 @07:05AM (#26384814)
Maybe some kind of audio resonance could be used to prevent then from flying or at least annoy them.

It would probably be louder than desired, though, unless ultrasonic.

Re:Raspberry Pi for Kill Mosquitoes by Laser by agravier on Sunday March 07, 2021 @07:10PM (#26381039)
A LIDAR is not the right solution. A LIDAR misses most of the space a few meters away, and even if by chance the beam passes right over a mosquito, it will be filtered out by the built-in denoising algorithms.
Re:Raspberry Pi for Kill Mosquitoes by Laser by swayvil on Sunday March 07, 2021 @05:57PM (#26380612)
Would targeting the distinctive mosquito whine be feasible?

You could have several bluetooth mikes scattered around the room for good triangulation

Re:Raspberry Pi for Kill Mosquitoes by Laser by squarefoot on Sunday March 07, 2021 @10:54PM (#26382155)
Audio would surely be the way to go, IMO, although I would avoid Bluetooth and generally any non essential digital transport both because of latency and possible compression artifacts. One could trick the mosquitoes into flying through a small restricted area in which wires wouldn't pose a problem by making it the only possible way to some bait for example, then setting mikes and traps in there.
Re:Raspberry Pi for Kill Mosquitoes by Laser by janoc on Wednesday March 10, 2021 @03:57PM (#26416129)
Or you could just spray RAID or something similar and kill all the mosquitoes there for pennies. No laser, no bluetooth, no microphones.

And if you want to actually solve the mosquito issue, don't have standing water around. Or make sure fish and frogs can live in it. They love eating mosquito larvae.

Not this boondoggle. Remember, engineering is also about realizing that the fact that you are able to do something doesn't always mean you should.

Re:Raspberry Pi for Kill Mosquitoes by Laser by swayvil on Wednesday March 10, 2021 @10:04PM (#26419707)
it's a good point
Re:Raspberry Pi for Kill Mosquitoes by Laser by danielheath on Sunday March 07, 2021 @08:30PM (#26381488)
There’s a reason bats hunt by sonar instead of vision.
Re:Raspberry Pi for Kill Mosquitoes by Laser by bigiain on Sunday March 07, 2021 @09:02PM (#26381655)
To be fair though, part of that is because they hunt at night.

There are a few places here in Sydney where you see a remarkable cloud of bats feeding in bright light - the lights over the harbour bridge and several of the tax buildings bordering the Botanic Gardens regularly have flocks of bats whirling around presumably attracted to all the insects flying in the bright lights...

Re:Raspberry Pi for Kill Mosquitoes by Laser by danielheath on Sunday March 07, 2021 @10:27PM (#26382047)
There's lots of food that only comes out at night; if it weren't bats, some other predator species would have developed sonar to hunt them.
Re:Raspberry Pi for Kill Mosquitoes by Laser by xxs on Monday March 08, 2021 @06:44AM (#26384697)
Bluetooth has too much latency, 50-100ms even quite optimistically. There are a lot better ways to have a custom solution.
Re:Raspberry Pi for Kill Mosquitoes by Laser by bigiain on Sunday March 07, 2021 @08:59PM (#26381641)
Hmmmm, I wonder...

The paper claims "1 - 5mm" for a mosquito, which seems plausible. Lets pick 5mm out of pure optimism. The new(ism) HQ Raspberry Pi camera modules are 12megapixel ~4000x3000 pixel sensors, if you assume you could recognise a mosquito based on it's flight/movement pattern rather than needing to have an image of the mosquito, maybe having a 2x2 pixel resolution of it might be enough, so you could use an appropriate lens and cover a 5mm x 4000pixel / 2 = 10,000mm or 10m wide by 7.5m tall region. That seems totally do-able. Even up to 4x4 pixel per mosquito at 5m x 3.75m would happily cover the wall of my bedroom with the windows. You _might_ even be able to do that with the cheaper 8 megapixel V2 camera module instead of the HQ one.

The background subtraction is fairly easy to do in OpenCV. Assuming there's not too much moving in the background (I might need to tie back my curtains?) I wonder if the path a mosquito traces out would be distinct enough to detect?

Research (read "the first google hit) suggests mosquitos fly at 1.6-2.4kmh - call it 2 - which is just over half a meter per second, so about 20mm per frame at 25fps, or 8mm per frame at 60fps. If we choose to use the 4px = ~5mm numbers from above, that means if you detect a thing that might be a mosquito, you don't need to search very far around it in the subsequent frame to track it - if it's a mosquito, it's likely to be still there and within 6 or 7 px of where it was in the previous frame. (I've never tried doing this on something so small, but that technique works really well tracking people across multiple frames in a video. See: https://data-flair.training/blogs/python-project-real-time-h... )

I don't think that at least x,y detection of a mosquito in a 12 or 8 megapixel camera is impossible. The 8MP raspi camera has a 63deg horizontal field of view, so that 5m wide assumed view from earlier would be at 5m distance give or take. If you could get your shoot-down laser close enough to your detection camera, you might not need to care about the z axis. The camera module is about 20mm square - at 5m range shooting the laser across the edge of the camera module pcb might be "close enough"? Might not work at short range, though once you're close you could scan the bean around a bit, it'll be super obvious in the camera view when you've got a hit (assuming the background doesn't;t reflect the laser brighter that a lit up mosquito? Great, now I have an excuse to paint my walls with VantaBlack...)

Another idea... Assume a similar setup - a camera aimed at a 5x3.75m cross section of space, with a line laser shining across it (one of those lasers shone through a cylinder that makes a line, like some power tools use to project guidelines). I'd guess it'd be possible (maybe even easy) to distinguish between dust mites and mosquitos lighting up as they cross the line laser? Perhaps have three co-planar line lasers 10mm or 20mm apart to make the timing of aiming your shoot-down laser easier, use the first flash as a detection signal and swivel your galvos to that region, and then use the 2nd/3rd flashes close by to quickly fine tune the aim without needing to swing too far?

(Now I just need to work out which if any of my half finished projects I should stop working on and half finish this one... ;-) )

Re:Raspberry Pi for Kill Mosquitoes by Laser by Gravityloss on Monday March 08, 2021 @06:48AM (#26384721)
Great post. I think line laser though is just a point source that spins, creating an illusion of a plane. So it only looks like a line but is actually a moving point. So if the mosquito travels its own length+the line thickness in a time that is less than the time between laser passes, it won't be touched by the laser.
Re:Raspberry Pi for Kill Mosquitoes by Laser by bigiain on Monday March 08, 2021 @05:05PM (#26392299)
Maybe some line lasers are made like that (now that you mention it I do recall seeing tripod mounted lasers which are probably spinning POV things), but I’ve got a bunch of line and cross laser modules which 100% do not have moving parts. I’m not sure why I think this, but I understand they’re made by just putting a glass cylinder in front of the laser diode module, working as a kind of 2D lens... Pretty sure that’s what you get in jigsaws and circular saws as well?
Re:Raspberry Pi for Kill Mosquitoes by Laser by worik on Sunday March 07, 2021 @02:35PM (#26378985)
All you say is so true...

That would make you a spoil sport, burst my bubble... I am going to have a little cry in the corner now.

I really wanted a AI powered, laser equipped, mosquito hunting drone for my house. After all, what could possibly go wrong?

Re:Raspberry Pi for Kill Mosquitoes by Laser by danielheath on Sunday March 07, 2021 @08:34PM (#26381503)
You know, you could use a bioreactor-powered neural-net driven drone to hunt them, if you kept a small bat as a pet.
Re:Raspberry Pi for Kill Mosquitoes by Laser by Covzire on Sunday March 07, 2021 @02:56PM (#26379171)
Shrug, add a nice zoom lens to make it's effective range several meters instead. Of course it would be far sighted but maybe you know most mosquitos will be several meters away anyway. Or have 3 cameras, one for the cm, one for the m and one able to zoom many meters to look at known problem spots like puddles or a bird bath.
Re:Raspberry Pi for Kill Mosquitoes by Laser by hutzlibu on Sunday March 07, 2021 @03:57PM (#26379697)
Or use a better method than a cheap camera. Like a radar and microphone like the other more famous project does. Because mosquitos have a distinct frequency of flapping their wings. Meaning you can then actually target the biting type. Because .. 95% of the mosquitos around actually do not sting humans(number from the back of my head from a friends paper some years ago). And killing them all has a quite negative impact on biological diversity.
Re:Raspberry Pi for Kill Mosquitoes by Laser by onion2k on Sunday March 07, 2021 @05:46PM (#26380544)
An alternative solution would be to genetically engineer bigger mosquitoes.

This is why I should not be in charge of anything.

Re:Raspberry Pi for Kill Mosquitoes by Laser by antonvs on Sunday March 07, 2021 @07:11PM (#26381047)
Be sure to include some laser-resistant capabilities in the engineered mosquitoes, so that consumers will be forced to buy upgrades to more powerful lasers.
Re:Raspberry Pi for Kill Mosquitoes by Laser by bigiain on Sunday March 07, 2021 @09:08PM (#26381694)
"Assume a perfectly spherical mosquito of uniform density..."
Re:Raspberry Pi for Kill Mosquitoes by Laser by macintux on Sunday March 07, 2021 @08:02PM (#26381334)
I'm sure there's an XKCD similar in spirit to your idea; if not, there should be.
Re:Raspberry Pi for Kill Mosquitoes by Laser by Animats on Sunday March 07, 2021 @03:59PM (#26379709)
Yes, at 300mm range, it's just a toy, and mounting a 1W laser with a targeting system on a drone is a terrible idea. I can see ways to make this work, though.

You need a good way to tell that you're on target. The way to do that is to use the vision system only as a search radar, to find that there's something to shoot at and approximately where it is. Then point the laser near the target, at low power, and start scanning around the target. Modulate the outgoing beam, so you can see when it's illuminating something. Get range from time of flight. When you find something worth shooting, go to high power and take it out.

This is roughly how radar-controlled anti-aircraft gun systems work.

An ordinary UV lamp with bug zapper will probably be more effective.

Re:Raspberry Pi for Kill Mosquitoes by Laser by Jedd on Sunday March 07, 2021 @04:11PM (#26379798)
> An ordinary UV lamp with bug zapper will probably be more effective.

Alas, as I discovered recently when looking at those nifty, cheap, USB-powered UV + fan mosquito killers -- mosquitoes aren't attracted to UV.

Evidently they are attracted to CO2 and warmth, which are a bit harder to generate at 5V, sadly.

Re:Raspberry Pi for Kill Mosquitoes by Laser by klipt on Sunday March 07, 2021 @05:25PM (#26380380)
There are some blog posts about building mosquito traps that generate CO2, I think they use yeast to do it and can be pretty effective!
Re:Raspberry Pi for Kill Mosquitoes by Laser by pmontra on Sunday March 07, 2021 @05:47PM (#26380547)
I saw those videos. The problem is the maintenance, adding yeast and cleaning the trap. Imagine scaling to multiple traps in a house or the garden.

On the other side, burning methane generates CO2: CH4 + 2 O2 → CO2 + 2 H2O. Methane is distributed nearly everywhere in my country for cooking and heating. That at least solves the problem of refilling.

I guess we should burn a very small amount of methane to lure mosquitoes into those traps. But how about climate change etc.?

Re:Raspberry Pi for Kill Mosquitoes by Laser by xorcist on Monday March 08, 2021 @06:47AM (#26384712)
> Imagine scaling to multiple traps in a house or the garden.

If you have a mosquito problem, refilling your traps is the least of your worries.

(These types of traps are commercially available and quite effective.)

Re:Raspberry Pi for Kill Mosquitoes by Laser by thatcat on Sunday March 07, 2021 @11:23PM (#26382271)
You could possibly compost, which already is generating CO2 in your garden, and arrange it into a trap
Re:Raspberry Pi for Kill Mosquitoes by Laser by fao_ on Sunday March 07, 2021 @07:04PM (#26381016)
> You need a good way to tell that you're on target. The way to do that is to use the vision system only as a search radar, to find that there's something to shoot at and approximately where it is. Then point the laser near the target, at low power, and start scanning around the target. Modulate the outgoing beam, so you can see when it's illuminating something. Get range from time of flight. When you find something worth shooting, go to high power and take it out.

Not only more effective, but i imagine it would be easy to misdetect someone's iris as a fly D:

Re:Raspberry Pi for Kill Mosquitoes by Laser by bigiain on Sunday March 07, 2021 @09:04PM (#26381667)
"Do not look in laser bean with remaining eye."
Re:Raspberry Pi for Kill Mosquitoes by Laser by craftinator on Sunday March 07, 2021 @04:53PM (#26380130)
> Good luck detecting a mosquito optically from a distance of several meters using a cheap camera and Raspberry Pi.

Same thought as well. They must not have done the math on the optics... You'd have a much better chance using an acoustic array (mosquitoes put out a very distinctive sonic frequency), or even better an array of radar modules. There is simply too much noise and data in the visible spectrum to catch something that small without expensive optics and an expensive processor to process all of those pixels.

Re:Raspberry Pi for Kill Mosquitoes by Laser by trulyme on Sunday March 07, 2021 @05:05PM (#26380220)
This. Acoustic array sounds like a great solution for finding that pesky mosquitto that is hiding somewhere in the room. Anyone know how difficult it would be to make this?
Re:Raspberry Pi for Kill Mosquitoes by Laser by craftinator on Sunday March 07, 2021 @09:56PM (#26381909)
Well, you can get a radial acoustic 7 array of MEMS microphones for ~$50, doing stuff with the output is the hard part. That being said, I've used one to localisation the direction that lightning is coming from. Have no idea how good the accuracy would be, but there's likely large room for optimization in that setup; it likely just comes down to the accuracy of the microphones.

I personally would go with the radar route; it's slightly more expensive that the acoustic route, but accuracy would be fantastic, even at a distance.

Re:Raspberry Pi for Kill Mosquitoes by Laser by toomanyducks on Sunday March 07, 2021 @09:37PM (#26381836)
> This article is BS.

it's literally called ``Raspberry PI for Kill Mosquitoes by Laser'' not quite sure what you were expecting

Re:Raspberry Pi for Kill Mosquitoes by Laser by uuidgen on Sunday March 07, 2021 @07:04PM (#26381019)
With a proper lens I think it just might work. You need to get huge focal length to make those pixels work. Then you need illumination because with those focal length it will be really dim. Then you need to scan the area because your FOV is tiny (but at least you'll get something like 90FPS @VGA res which is enough for AI) so you should be able to see those mosquitoes shining in the air like dust particles in sunlight coming from the window.

But then using a laser just insane - anything that has enough energy to down a mosquito will have enough energy to blind someone unfortunate to see the laser or its reflection. I'd go with power LED and some focusing with very narrow focal depth. maybe a lens moved like in optical drives, maybe a MEMS reflector like are used in projectors (but instead of spreading all pixels to cast a projection focusing it in a single point?

Re:Raspberry Pi for Kill Mosquitoes by Laser by LeifCarrotson on Sunday March 07, 2021 @07:41PM (#26381201)
I've integrated a few laser engravers and laser-cutting CNCs, so let me clear up a couple misconceptions: Lasers typically have a narrow focal length, just like your LED proposal - otherwise they'd damage the optics/mirrors! They're designed to pass a coherent beam of about 10mm diameter through a series of lenses and mirrors. The beam of an engraver might carry 10W of power in that diameter, which is pretty bright, but decent lenses or mirrors with high transmission and reflection won't be damaged. It's safe for both skin and optics until, say, 100mm after it goes through the primary lens. Hopefully at the surface of the thing you're cutting or engraving, it's a spot size of 0.1mm! With 10W of power in that tiny area, even exotic antireflective glass that can transmit 99% of the light will be atomized.

If the thing you're cutting/engraving isn't present, then 100mm past the focal plane, it's back to 10mm diameter, and 100mm after that, it's 20mm, and just continues dissipating. It's really pretty hard to focus it back into a coherent beam sufficiently narrow to damage eyesight (much less skin).

Yes, the CDRH is really concerned about the possibility of a laser system accidentally lasing a blob of metal into a perfect mirror that will send a coherent beam directly into the eye of an operator standing meters away; I've got laser systems with thousands of hours on them etching reflective foil off of plastic and there's no sign of reflections causing damage to the smoked acrylic that's shrouding the operation.

The typical mechanism used to drive laser engravers is more like a HDD actuator that moves the read/write heads - it's called a galvanometer. Basically a mirror on a stick connected to a magnet. A voice coil pulls the magnet +/- 10 degrees or so; They've got sub-millisecond response times so hitting a moving mosquito would be no problem!

I propose that you suck the mosquitoes through an enclosure with something like a box fan or duct booster. Make sure the entrance and exit has to go through a couple right angles so your laser optics are never visible to someone outside the box. Backlight the inside of the box so that instead of AI to see whether the thing in your camera FOV is a mosquito or a songbird really far away, you just zap any black mosquito-sized blobs that pass through.

Re:Raspberry Pi for Kill Mosquitoes by Laser by uuidgen on Monday March 08, 2021 @11:56AM (#26388004)
I just played a bit with CNC engraving and laser projection, so don't have that extensive knowledge, but AFAIK:

Even with your example of 10W, 10mm beam it has a bit more than 0.12 W/mm^2. Hundred times the power output from the sun. Even if we use a 1W laser, which should be enough for a mosquito, it's still like looking into the sun with a 10x magnifier.

And as you said - you focus the spot in 0.1mm with a small focal length - that's great for cutting or engraving but won't deliver enough energy to a mosquito 5 meters away unless you start with the same beam size, then focus it 5 meters away at the target. Only then it will need another 5 meters for the beam to return to the initial diameter and many more times that to finally be safe.

What I propose is a big reflector and aiming optics directed at it(a bit like a satellite antenna). I didn't do the math, but tens of centimetres or even more than a meter of dimeter. Let's say 50cm==500mm.

Then if you want to focus it to 5mm at 5 meters it will have less than 10mm at +-5cm. You could do the same with a laser but you just don't need to. Instead of 1W laser you can use a 10W powerled, have the same energy at the target but it will be much safer at almost every stage before it.

And what most people think about when they talk about shooting mosquitoes with a laser is, I think, sending a coherent 5mm beam directly - e.g. from a laser pointer. So you don't have to estimate the distance, but it is even more dangerous.

Re:Raspberry Pi for Kill Mosquitoes by Laser by iudqnolq on Sunday March 07, 2021 @07:11PM (#26381046)
> But then using a laser just insane ... I'd go with power LED and some focusing with very narrow focal depth. maybe a lens moved like in optical drives, maybe a MEMS reflector like are used in projectors (but instead of spreading all pixels to cast a projection focusing it in a single point?

haven't you just described how to make a laser?

Re:Raspberry Pi for Kill Mosquitoes by Laser by rowanG077 on Sunday March 07, 2021 @07:19PM (#26381089)
No a laser is coherent. It has almost the same intensity in it's entire path. If you know the approximate distance you can accurately focus a normal beam of Light into that area. Killing the bug but much safer.
Re:Raspberry Pi for Kill Mosquitoes by Laser by danielheath on Sunday March 07, 2021 @08:33PM (#26381499)
This would protect people standing behind the bug, but if the system mistakenly identified an eye as a bug you would still be delivering a burning quantity of energy focussed on the eye.
Re:Raspberry Pi for Kill Mosquitoes by Laser by iudqnolq on Sunday March 07, 2021 @07:22PM (#26381106)
Thanks for teaching me something
Re:Raspberry Pi for Kill Mosquitoes by Laser by est on Monday March 08, 2021 @04:01AM (#26383585)
> This article is BS

Not completely BS for me. I have actually learned something:

> The size of a mosquito can vary from 1 mm to 5 mm, this is the main criterion for the method of detection and retrieval of mosquito coordinates. When monitoring the position of the mosquito with ultrasound, it is necessary to use several sensors in different places and processing their information to calculate the location, which theoretically is suitable only for detecting one mosquito, but if there are several mosquitoes, the device will not work correctly. The temperature of the body of a mosquito due to its cold blood is like the temperature of the environment. With a very high resolution of the thermal imager, the mosquito temperature will differ insignificantly against the background - on the order of 0.1 C. The use of sonar has several difficulties when working in open areas where it is necessary to use sonar with a narrow beam and a narrow radiation pattern.

tl;dr, ultrasonic/infra-red/sonar don't work either.

Re:Raspberry Pi for Kill Mosquitoes by Laser by jacquesm on Sunday March 07, 2021 @02:59PM (#26379203)
The way to do this is to attract the mosquitoes by slowly letting out a bunch of CO2, that way you need to search a much smaller area.
Re:Raspberry Pi for Kill Mosquitoes by Laser by cma on Sunday March 07, 2021 @01:59PM (#26378628)
> BTW, this nonsense idea has been floated as a publicity stunt a few years ago [...] Here, it was even on National Geographic in 2010(!)

The paper cites even earlier stuff:

> For the first time, the idea of using a laser to protect against insects was expressed in the early 1980s by American astrophysicist Lowell Wood.

Re:Raspberry Pi for Kill Mosquitoes by Laser by denysvitali on Sunday March 07, 2021 @06:04PM (#26380665)
I think you basically described my feelings when reading the paper. Thanks for this comment!
Re:Raspberry Pi for Kill Mosquitoes by Laser by k_sze on Sunday March 07, 2021 @11:28AM (#26377173)
I can think of an alternative, not sure whether that would be practical, but it's possibly safer than laser: instead of shooting laser, make a turret that shoots (biodegradable, edible) soap water at the mosquitoes, in the smallest dose necessary to make the mosquito's wings stick. It would require some fluid-aerodynamics and projectile motion calculation, however.
Re:Raspberry Pi for Kill Mosquitoes by Laser by minhazm on Sunday March 07, 2021 @12:39PM (#26377839)
It would probably be too slow (or you'd need crazy high pressure). The mosquito would have plenty of time tom ove out of the way, especially since it will probably make a sound when shooting the liquid. The advantage of using a laser is that it's basically instant and quiet.
Re:Raspberry Pi for Kill Mosquitoes by Laser by plutonorm on Sunday March 07, 2021 @03:27PM (#26379457)
You think a mosquito can dodge a speeding blob of water? It can barely dodge stationary objects. It's basically a homing missle for co2
Re:Raspberry Pi for Kill Mosquitoes by Laser by hutzlibu on Sunday March 07, 2021 @04:00PM (#26379719)
Depends on the mosquito I would say. I used to train martial art skills by catching mosquitos midflight.

Most are indeed very lethargic, but there are some much more agile variants out there.

Re:Raspberry Pi for Kill Mosquitoes by Laser by trulyme on Sunday March 07, 2021 @05:08PM (#26380247)
I assume you used sticks, karate kid style? :)
Re:Raspberry Pi for Kill Mosquitoes by Laser by hutzlibu on Sunday March 07, 2021 @06:57PM (#26380981)
Sometimes.(but I actually did not watch karate kid) But mostly just with hands. I still do it as a habit ..
Re:Raspberry Pi for Kill Mosquitoes by Laser by eecc on Sunday March 07, 2021 @06:02PM (#26380649)
Or was it The Revenge of the Nerds?
Re:Raspberry Pi for Kill Mosquitoes by Laser by Eric_WVGG on Sunday March 07, 2021 @11:31AM (#26377214)
not a bad idea… something manually controlled but otherwise similar already exists, the "bug-a-salt" gun. https://www.bugasalt.com
Re:Raspberry Pi for Kill Mosquitoes by Laser by spoonjim on Sunday March 07, 2021 @12:58PM (#26378007)
Where are you supposed to use this? Indoors it will corrode your plumbing and outdoors it will kill your plants.
Re:Raspberry Pi for Kill Mosquitoes by Laser by kube-system on Sunday March 07, 2021 @02:28PM (#26378906)
A few grams of sodium chloride is not going to destroy your plumbing or your landscaping. Your plumbing is in daily contact with sodium chloride from the food we eat, the sodium chloride that is in municipal water supplies, and it is a common substance to be found outdoors as well, including soil.

You don’t want to put kilograms of it in your garden, but this device is not consuming anywhere close to that amount of salt. It holds about the quantity of a salt shaker of salt, and can be fired 80 times from that amount.

Re:Raspberry Pi for Kill Mosquitoes by Laser by oops on Sunday March 07, 2021 @01:28PM (#26378288)
Well that's where the Roomba carrying a tray of margaritas comes in.
Re:Raspberry Pi for Kill Mosquitoes by Laser by dkubb on Sunday March 07, 2021 @01:47PM (#26378494)
If one could be made to shoot fine sand, it could be used outside I bet.
Re:Raspberry Pi for Kill Mosquitoes by Laser by momirlan on Sunday March 07, 2021 @11:30AM (#26377205)
Use a garden hose, cover the whole area
Re:Raspberry Pi for Kill Mosquitoes by Laser by OneLeggedCat on Sunday March 07, 2021 @01:39PM (#26378403)
Even better, a fire hose. It's the only way to be sure.
Re:Raspberry Pi for Kill Mosquitoes by Laser by Bartkusa on Sunday March 07, 2021 @01:52PM (#26378553)
Re:Raspberry Pi for Kill Mosquitoes by Laser by unloco on Sunday March 07, 2021 @01:46PM (#26378484)
Since we've got a firehose, might as well light it up first.
Re:Raspberry Pi for Kill Mosquitoes by Laser by joedevon on Sunday March 07, 2021 @01:58PM (#26378614)
problem solved! whew
Re:Raspberry Pi for Kill Mosquitoes by Laser by clort on Sunday March 07, 2021 @12:59PM (#26378027)
I think the problem with that would be, that there would be a huge damp patch on the ground where a million mosquitoes would lay their eggs..
Re:Raspberry Pi for Kill Mosquitoes by Laser by momirlan on Sunday March 07, 2021 @01:05PM (#26378073)
Omg, people take these comments seriously ?
Re:Raspberry Pi for Kill Mosquitoes by Laser by ben_w on Sunday March 07, 2021 @01:36PM (#26378370)
On Hacker News? Someone has probably already tried it. Possibly even more than one person — I mean, the linked paper isn’t even the first time I’ve seen research into the idea of anti-mosquito lasers, so anti-mosquito water cannons have probably been tried too.
Re:Raspberry Pi for Kill Mosquitoes by Laser by yetihehe on Monday March 08, 2021 @08:17AM (#26385362)
Plain water doesn't work. They just bounce droplets off [0]. My experiments with garden hose and some mosquitoes during watering my garden confirm those findings. Maybe water with soap will work better (due to lower surface tension, droplets will envelop mosquitoes) but I did not try this.

[0] https://www.livescience.com/20733-mosquitoes-survive-raindro...

Re:Raspberry Pi for Kill Mosquitoes by Laser by jacquesm on Sunday March 07, 2021 @03:02PM (#26379231)
Guilty as charged.
Re:Raspberry Pi for Kill Mosquitoes by Laser by bigiain on Sunday March 07, 2021 @09:12PM (#26381725)
So???

How well/badly dd it work?

Where's the blog post?

:-)

Re:Raspberry Pi for Kill Mosquitoes by Laser by jacquesm on Monday March 08, 2021 @03:00AM (#26383264)
I didn't think it worthy of a write up. The ML part that made it a bit more interesting was to keep the bees alive but to get the wasps (I'm allergic to wasps), and I couldn't get it to reliably differentiate between the two so it never hit 'production'.
Re:Raspberry Pi for Kill Mosquitoes by Laser by IgorPartola on Sunday March 07, 2021 @11:56AM (#26377445)
Salt also works.
Re:Raspberry Pi for Kill Mosquitoes by Laser by jasonlenik on Sunday March 07, 2021 @11:13AM (#26377009)
I agree, there needs to be multiple orders of magnitude improvements in HW&SW, as well as domain specific dataset development for this to work at all. I can imagine using a very accurate image segmentation algo to analyze the background and thereby prevent shooting lasers at vulnerable targets, but it's still hard to see how this is a good idea.

A 1W laser is even more dangerous than you say. It is powerful enough to start wood fires.

Re:Raspberry Pi for Kill Mosquitoes by Laser by avian on Sunday March 07, 2021 @11:49AM (#26377378)
1 W laser is in the “a diffuse reflection can do damage” safety class. It’s the kind of laser where you lock doors to the optics lab to prevent people without eye protection accidentally entering when the laser is in operation.

Having a computer point-and-shoot one at random directions in free air is just madness. There is zero discussion of human safety of such a system in the paper.

Re:Raspberry Pi for Kill Mosquitoes by Laser by qwerty456127 on Sunday March 07, 2021 @02:37PM (#26379010)
> the idea of robotic drones armed with lasers roaming around is beginning to sound worse than the mosquitos.

I don't really mind mosquitos outdoors, what I really hate is when I'm trying to sleep and there is a mosquito in the room. This means I have to turn the light bright on and spend time hunting them down or fill the room wit a toxic insecticide gas.

I would rather leave the room (or stay there with my eyes covered - to serve as a bait for the mosquitos), activate the robot and come back when it's done.

Re:Raspberry Pi for Kill Mosquitoes by Laser by hutzlibu on Sunday March 07, 2021 @04:05PM (#26379759)
When I am in high spirits, I am able to catch them in the dark by their sound. But failing to succed in that for a couple of times, makes my high spirit go away very fast and wanting a auto laser turret, too.
Re:Raspberry Pi for Kill Mosquitoes by Laser by thombat on Sunday March 07, 2021 @05:53PM (#26380592)
Now imagine trying to sleep in a room that has a multi-rotor drone hunting mosquitos...
Re:Raspberry Pi for Kill Mosquitoes by Laser by BrandoElFollito on Sunday March 07, 2021 @01:16PM (#26378169)
Or shoot only horizontally at 1 cm from the ceiling. Sooner or later the mosquito/fly will be there as wellOr shoot only horizontally at 1 cm from the ceiling. Sooner or later the mosquito/fly will be there as well
Re:Raspberry Pi for Kill Mosquitoes by Laser by dheera on Sunday March 07, 2021 @12:07PM (#26377534)
If you are assuming a drone, I feel like it would be more far, far more effective to just fly the drone into the mosquitoes and chop them up, than to have the drones individually pinpoint 1 mosquito at a time with a laser.
Re:Raspberry Pi for Kill Mosquitoes by Laser by MayeulC on Monday March 08, 2021 @03:30AM (#26383412)
Yeah, this doesn't really scale.

For safety, I think using multiple coordinated laser sources would be better (making them all converge at a single point). That, plus obviously a wavelength not dangerous for our eyesight.

Angular precision is an issue, but one could probably go around it by using a closed-loop control system that targets before increasing the power.

Targeting is hard as well, if you want a reliable system, there's probably no alternative to sensor fusion (sound, active infrared range-meter, maybe radar & ultrasound).

In the end, it's probably overkill compared to a trap, but the challenges are interesting.

Re:Raspberry Pi for Kill Mosquitoes by Laser by LargoLasskhyfv on Monday March 08, 2021 @04:32AM (#26383748)
I'd prefer an indoor 'killer drone'. Something like a little quadcopter, remote controlled in realtime to the target by whichever means, shredding it with one of its rotors.

Bzzzt.

Re:Raspberry Pi for Kill Mosquitoes by Laser by kumarvvr on Sunday March 07, 2021 @12:56PM (#26377986)
One solution would be to lure mosquitos to a container or location and then zap them.
Re:Raspberry Pi for Kill Mosquitoes by Laser by hinkley on Monday March 08, 2021 @02:51AM (#26383219)
Honeypot those little buggers.
Re:Raspberry Pi for Kill Mosquitoes by Laser by tartoran on Sunday March 07, 2021 @12:57PM (#26377998)
I think lamps surrounded by charged coils do decent job of passively zapping mosquitoes since they zap themselves practically.
Re:Raspberry Pi for Kill Mosquitoes by Laser by adrianN on Sunday March 07, 2021 @01:29PM (#26378293)
Mosquitos are not particularly attracted to light, they use CO2 and body odour to find their prey.
Re:Raspberry Pi for Kill Mosquitoes by Laser by tpmx on Sunday March 07, 2021 @11:41AM (#26377309)
I started thinking about something similar last summer to deal with aggressive flies from a nearby farm.

Perhaps it's possible to make something that's kinda safe for eyesight if you make it track and light up the fly/mosquito for e.g. 50 seconds instead of 0.5 seconds.

Re:Raspberry Pi for Kill Mosquitoes by Laser by maxerickson on Sunday March 07, 2021 @01:34PM (#26378344)
Did you try a fly trap jar yet?

You hang it out behind a shed or garage, the lid has a little maze that they crawl into and then they can't find their way out.

My parents always used https://www.bigstinkyflytrap.com/ . It definitely caught a lot of flies, which can be different than catching enough flies of course.

Re:Raspberry Pi for Kill Mosquitoes by Laser by michaelbuckbee on Sunday March 07, 2021 @01:59PM (#26378626)
We had a small but persistent issue with flies hanging out by our garbage cans so I purchased one of these fly traps with bait.

It worked far too well.

Within a day it had attracted flies from a large surrounding area. The nearly filled jar of flies had a presence I can only describe as "Stephen King-esque" just buzzing with raw malevolence. If you think one large black fly can make quite the noise I invite you to listen to a 1000+ angry flies in a jar.

And while many were certainly capture - an equally abhorrent number were all over the cans and the side of the house. So a mixed experience.

Re:Raspberry Pi for Kill Mosquitoes by Laser by jfroma on Sunday March 07, 2021 @07:11PM (#26381045)
I had the exact same experience it was absolutely disgusting. I attracted all flies from the neighborhood.

I also tried once with an insecticide which also contained a bait, it came in granules and you had to mix with water and spray all over. The floor of my outdoors where full of dead flies.

Best advice I can give: never use any kind of bait. That’s completely BS, you are never going to kill them all. You want flies to go to another place, keep things clean.

Flies hate wind, use fans.

Re:Raspberry Pi for Kill Mosquitoes by Laser by yetihehe on Monday March 08, 2021 @08:23AM (#26385411)
My coworker once had one very annoying fly, he was trying to sleep but that fly constantly was landing on him. He turned fan and directed it on bed, so fly couldn't land on him. Now, that little bugger landed just beside of airflow area and just walked to him.
Re:Raspberry Pi for Kill Mosquitoes by Laser by tpmx on Sunday March 07, 2021 @02:04PM (#26378682)
Ugh.

The method I devised to get rid of these large black flies from indoors:

Open a door and simply herd/walk them out by making yourself big. It's surprisingly easy - so much easier than trying to swat them. They seem to instinctively avoid things moving towards them, and because of that they're pretty easy to herd.

Re:Raspberry Pi for Kill Mosquitoes by Laser by dTal on Sunday March 07, 2021 @03:15PM (#26379366)
Relatedly - if you need to get a light-seeking insect (such as a moth) out of a room, you can just turn off all the lights and open the window. In general, people look at you like a wizard when you exploit the behavior of a creepy-crawly to get it to do what you want. For example you can catch a spider quite easily by placing a drinking glass in front of it and nudging its behind. It will panic-run forward into the glass.
Re:Raspberry Pi for Kill Mosquitoes by Laser by tpmx on Sunday March 07, 2021 @03:33PM (#26379502)
I'm sure there's a fantastic book published in like 1878 containing these tips and lots more we haven't thought of yet.
Re:Raspberry Pi for Kill Mosquitoes by Laser by CodeWriter23 on Sunday March 07, 2021 @02:25PM (#26378883)
Target “shooting” with a canister vacuum provides a decent fun:efficiency ratio.
Re:Raspberry Pi for Kill Mosquitoes by Laser by tpmx on Sunday March 07, 2021 @03:10PM (#26379317)
That's a fun idea - I'll try it this this upcoming summer.
Re:Raspberry Pi for Kill Mosquitoes by Laser by CodeWriter23 on Sunday March 07, 2021 @03:24PM (#26379438)
Just make sure to block their exit when you put the vacuum away.
Re:Raspberry Pi for Kill Mosquitoes by Laser by crb3 on Sunday March 07, 2021 @08:27PM (#26381474)
That's when you go out there with a shopvac with a long extension tube; they're already gathered for you. Maybe finish with a long shot of insecticide, then just plug the intake hose into the exhaust port and let it sit for a few days.
Re:Raspberry Pi for Kill Mosquitoes by Laser by CodeWriter23 on Sunday March 07, 2021 @02:23PM (#26378872)
Also, a mason jar with about a half inch of sugar water as bait and a sheet of letter size paper rolled into a cone with the small aperture in the jar works pretty well.
Re:Raspberry Pi for Kill Mosquitoes by Laser by tpmx on Sunday March 07, 2021 @01:51PM (#26378540)
I'm in Sweden. That one doesn't seem to be sold in the EU. Interesting...
Re:Raspberry Pi for Kill Mosquitoes by Laser by BrandoElFollito on Sunday March 07, 2021 @01:15PM (#26378157)
Or shoot only horizontally at 1 cm from the ceiling. Sooner or later the mosquito/fly will be there as well
Re:Raspberry Pi for Kill Mosquitoes by Laser by cma on Sunday March 07, 2021 @01:46PM (#26378489)
Is there a wavelength that could blind mosquitos and not humans? Mosquitos aren't party to any blinding laser weapons convention, and while it wouldn't kill them they might not survive too long after being blinded.
Re:Raspberry Pi for Kill Mosquitoes by Laser by thombat on Sunday March 07, 2021 @05:56PM (#26380602)
They don't use their eyes to hunt, just to detect potential attackers.
Re:Raspberry Pi for Kill Mosquitoes by Laser by cma on Sunday March 07, 2021 @06:16PM (#26380723)
Ah yeah, they aren't really swayed from finding meals by pitch black dark. It might make them more susceptible to predation but wouldn't be a solution for targeted small areas.

Other than just sensing CO2 and other chemicals they have some kind of way of sensing heat, but maybe that's separate from their eyes. If that is sensed radiatively that might be a good target for some kind of eye safe laser (if it is following thermal gradients in the air near the skin or something, not so much).

Re:Raspberry Pi for Kill Mosquitoes by Laser by rossdavidh on Sunday March 07, 2021 @11:29AM (#26377183)
I share your concern, but mosquitoes do currently kill an awful lot of people.
Re:Raspberry Pi for Kill Mosquitoes by Laser by jonplackett on Sunday March 07, 2021 @08:01PM (#26381327)
Maybe you could detect them with a bunch of microphones and measure the time difference between sound arrival time.

Or at least that could tell a camera where to look.

Re:Raspberry Pi for Kill Mosquitoes by Laser by Havoc on Sunday March 07, 2021 @06:52PM (#26380949)
Within a room I could see it being used in say only the top half a meter of the room. Bugs fly to the ceiling, eyeballs generally not