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

[box color=”#985D00″ bg=”#FFF8CB” font=”verdana” fontsize=”14 ” radius=”20 ” border=”#985D12″ float=”right” head=”Major Components in Project” headbg=”#FFEB70″ headcolor=”#985D00″]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.[/box]

For more detail: Remake the Mosquito Killer using Arduino


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top