Let's Make Robots!

Mosquito killer robot

I am from south India My neighboring village is suffering from mosquitoes

So I want to help them by making a project with picaxe or other ic .I want rotate a dcmotor after five days what will be the code if I use picaxe 28 X1 (in this project i want place water in a bowl .Mosquito lay eggs in it they will hatch in to larva .in 5 to14 days larva will be mosquitos,before that (after 5 days) the water in the bowl should be filtered to 2nd bowl and kill the larva in the 1st bowl  and again place the water again to 1st bowl. with this project I think I can kill 1000 s of mosquitoes and will be a great help to the people.

So pls help me to make the project

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

are atracted to co2 (your breth ), i have seen mosquito traps that use carbondioxide to luer the mosquito's in to a trap were thay die allso mosquito's lay there eggs on the verry edge of water the idea is the next time it rains the mosquito's have  water for them to grow in .some things to consider (know your self and know your enemy )


Hai Ignoblegnome ,

I am with the work of mosqito killer robot searching for the sutable bowl now,And moerover that my laptop felldown and broke the lcd panal by my son. so i can't contact with this site ,thankyou for ur valuble advises. I shall be with you shortly.

Haven't heard from you for awhile. How's the project going?

You can use Picaxe digital inputs to check if your bowl is empty of water. For the level sensor Geir suggested a float switch valve. This is also a good recommendation. 

For this particular switch, when the bowl is empty, the ball falls and the switch is disconnected. When there is water in the bowl, the ball floats and the switch is connected. Read the section of Picaxe Manual 3 on interfacing switches. Pay attention to the part about switch debouncing. There is also a Picaxe 'button' command that incorporates debounce features. 

I don’t think she needs to worry about debouch in this circuit as there is no need for accuracy. What I would do is to; when the time comes to move the water, start the pump and monitor the switch in a loop (no need for interrupt as there is nothing else going on). Then when the state changes run the pump a couple of seconds more so it doesn’t start oscillating when the water in the pipe rushes back into the tank when the pump stops.

So far, I think Geir's suggestion is the best. I don't think she needs to know the level of the water, only if it is empty or not. The simple float switch is the type used in sump pumps. It is rugged, reliable, and cheap.

http://www.sparkfun.com/products/10221 Not something I consider cheap though.

a pair of metalic strips, one tied high, maybe through a resistor and the second to a digital input on the PICAXE. No water = no conductivity = low input on the digital pin.

Hai Ignoblegnom

At first I want to make just a prototype .Volume of the bowls should be 2 Ltr .small pumps like that anderson show in the comments.I dont know such shops near to me .12 v bataries may be get here.At first a simple model then improvise it thats my plan


Those pumps look pretty good for your purposes. 


  • Power line: 1.5m ( water proof )
  • Pump head: 3m ( with a pipe diameter 4-6mm)
  • Rated Voltage: 12V  DC
  • Rated Current: 1A
  • Capacity: 2.5 L / Min.
  • Measure.: 32mm (diameter); 88mm (H)
  • Water outlet: 6mm (outer diameter)
  • Power: 12W

You will use two digital outputs of the Picaxe to control the pumps, one for each pump.

So you need enough power to run two of these pumps, though possibly not at the same time. That should not be difficult with the type of 12V DC battery we have discussed.

Look at Picaxe Manual 3 for the circuit describing interface to a relay. You'll need two of these circuits to run two pumps.

The 1N4001 is a diode. It protects your circuit from damage when the coil in the relay switches off. The BCX38C is an NPN transistor. When the output pin of the Picaxe is set HIGH, it will turn the transistor on. This will turn on the relay, which will turn on your pump. Set the output pin LOW to turn your pump back off.

For the relay, I suggest an automotive 12VDC relay. It is overkill for the amount of current your pumps will use, but they are probably easy to come by, and they are ruggedly constructed.

If you have any trouble finding either the 1N4001 or BCX38C, there are safe substitutes we can help you find.