Remake the Mosquito Killer using Arduino




Hi, everyone, i would like to introduce how i remake my mosquito killer here. With this remaking, my mosquito killer become “Smart”, and really facilitate my life.

Mosquito Killer(Arduino)




I rented a room in very remote place to save my money, in the summer, the biggest  trouble I come across, is the mosquito.These annoying mosquitoes always woke me up in the middle of the night and bite me scarred. So, I bought an electric mosquito coil to drive them away. But I found that my electric mosquito coil runs fast very soon because I always forget to turn it off when I wake up in the morning.

This is not only a problem of money, but also harmful to my health. I don’t know if this “Mosquito killer”  will kill me too if i stay in the room with this killer  on all the time.

And as I know, usually the mosquito do not trouble me in the daytime, and, if the temperature is not so high, the mosquito sleeps in home and do not trouble me, too.

So, I need something to
1. Turn off my electric mosquito coil in the morning and turn it on in the night automatically,
2. When the temperature is low, turn off the electric mosquito coil, to save money and my health.

As a software engineer and Arduino lover, I decide to make such a device.

Step 1: Connect the temperature sensor to the screw shield

Ok, let’s go! The first step is connecting the temperature sensor to the screw shield. Just as the picture shows, a resistor is needed here. Connect a 4.7k resistor in parallel to the red and white pins of the temperature sensor( thanks to the carefulness of elecrow , this resistor was packaged with the temprature sensor) . Then, connect the wires to the screw shield as in the picture.
The three wires of the temperature sensor definition are:
VCC<->RED;
GND<->BLACK;
SIGNAL<->WHITE;

Step 2: Connect the RTC module to screw shield

The second step is to connect the RTC module, we need this module to supply us the time information. I do not need to worry about the driver of this module, there is already a library to operating this module. In addition, we only use this module to supply time information, so we just need to use 4 pins: VCC, GND SDA, SCL.

Follow the picture to connect the RTC module to the screw shield. And, don’t forget to install a battery to the RTC module.
As the time setting, please refer to the comment in the code to learn how to set the current time.

Step 3: Connect the shields

After the last two steps, the temperature sensor and the RTC module has been connected to the screw shield, now we just need to plug the screw shield to the crowduino and plug the relay shield to the screw shield.

Mosquito Killer parts

Major Components in Project

First, I need:
1. A RTC module, to give out the current time message.RTC is a “real time-counter”, and gives the real time to the system: ”hey, man, it’s time to wake up! ”
2. A Relay shield, to control the on/off of my electric mosquito coil,“Relay” is a kind of module to help you control the on/off of large current/high voltage device, with low voltage.
3. An Arduino board,  i use the crowduino from elecrow, it works well, and, inexpensive.
4. A Waterproof temperature sensor, to detect the environment temperature.I use this sensor to get the temperature, when the temperature is low, the killer should not be on.
5. A Screw shield and some tools like the pliers, to make your connection more convenience.With the screw shield, it would be easy for you to connect the wires, you do not a soldering iron any more.

All parts are buy form Elecrow, an open hardware store, all parts are work nice and the price is cheap enough.

For more detail: Remake the Mosquito Killer using Arduino




This Post / Project can also be found using search terms:

  • arduino home automation
  • arduino
  • how we make homemade mosquito killer circuit
  • mosquito killer code on arduino
Clip to Evernote

Leave a Comment

(Spamcheck Enabled)

Read previous post:
Photo-Booth
Instagram Inspired DIY Photo-Booth using Arduino

I decided to build a simple photo-booth as a fun addition for events, this goes through the basic steps of...

Close
Scroll to top