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.
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:
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.
For more detail: Remake the Mosquito Killer using Arduino
This Post / Project can also be found using search terms:
- arduino home automation
- how we make homemade mosquito killer circuit
- mosquito keller using arduino