Design of audio mouse repeller using 51 microcontroller

Publisher:喜悦的38号Latest update time:2023-09-12 Source: elecfans Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

introduction

For a long time, rats have caused great trouble to domestic cattle work and agricultural production. However, existing mechanical methods, chemical methods, and biological control all have obvious shortcomings. The disadvantage of mechanical rodent control is that after being injured by such a device, rats will retain a deep memory of the device to avoid recurrence of the injury. The long-term use of chemical drugs will not only cause environmental pollution, but also cause certain harm to the human body. As for biological control, the control intensity is difficult to grasp, so the effect is not ideal. Therefore, a more scientific, environmentally friendly and effective product is needed to achieve the function of repelling rats. The existing electronic mouse repeller products on the market have complex circuit designs and high costs. Therefore, the audio mouse repeller based on the 51-type microcontroller came into being.


1 Overall design of audio mouse repeller

The design of the mouse repeller is generally divided into four modules, namely power module, induction module, control module and audio module. The power module provides +5V DC power to the entire system to support the overall operation of the mouse repeller.

Pyroelectric infrared sensing module is used to sense rodent intrusion. The control module uses 51-type microcontroller programming for clock control. The audio module generates meows to scare rats, and the ultrasonic waves make rats feel irritated, physically uncomfortable and other symptoms. Under the dual effect, the effect of repelling rats is achieved.

In short, when a rodent invasion is sensed, the microcontroller controls the audio module to emit sound to achieve the purpose of driving away mice.


2 System design of audio mouse repeller

2.1 Induction module design

The sensing module is implemented based on the principle of pyroelectric infrared sensing.

Since rats are warm-blooded animals with a body temperature usually around 37°C, they can emit infrared rays with a specific wavelength of around 10 μm. When the mouse's activity enters the detection area, its temperature is different from the ambient temperature. Therefore, the infrared rays of about 10 μm emitted by the mouse are enhanced by the Fresnel lens filter and then concentrated on the infrared sensing source (pyroelectric element). When the induction source receives infrared radiation, it will lose the charge balance and release the charge outward, thereby generating a temperature difference ΔT and outputting ΔT to the peripheral circuit. The subsequent circuit can generate an alarm signal after detection and processing. The working detection range of the pyroelectric infrared sensor is 10-20m, and it can work normally in the temperature range of -10℃~+40℃.

2.2 Control module design

The control module is programmed using a 51-type microcontroller. The program code is shown in Figure 3.

Design of audio mouse repeller using 51 microcontroller

Program function: When a rodent intrusion is detected, a high level is generated, and the microcontroller controls the audio module to sound. This program is set to a 5-second time delay. After that, the microcontroller resets to a low level.

2.3 Audio module design

The design of the audio module is divided into two parts: the meowing module and the ultrasonic module.

The cat meowing module is based on the principle of bionics, that is, by studying certain characteristics of living things, instruments and machines similar in structure and function to biological organs are developed. In the design of the mouse repellent, the frequency of the buzzer is adjusted to simulate the sound of a cat and scare the mice to achieve the effect of repelling mice.

Ultrasound waves of a certain intensity will cause heating of body tissues; when the frequency is higher, the heating will become more severe, causing the water molecules in the body to be burned and the surrounding tissues to be destroyed. This is dangerous for a long time. Therefore, high-power and high-intensity ultrasonic waves continue to act on rats, which will cause them to feel uncomfortable or even die. Therefore, ultrasonic waves are used to cause discomfort in the physiological tissues of rats to achieve the purpose of driving away rats.


3 Advantages and prospects of audio mouse repellers

(1) Compared with traditional rodent repellent methods, this rodent repeller is more scientific and environmentally friendly, and long-term use will not cause harm to the ecological environment and the human body.

(2) Compared with the existing electronic mouse repeller equipment on the market, this mouse repeller has a simple circuit design and simple process, which effectively reduces production costs.

(3) The pyroelectric infrared sensing principle adopted by this product will not emit ultrasonic waves or meows at any time. It will only emit sounds to repel rats when it senses an invasion of rats. It will not cause additional sound interference and is convenient. Production and living.

(4) Wide range of applications. Rat repellers can be placed in different locations such as kitchens and warehouses depending on the area and location where rodents need to be prevented from invading, and are widely used in family life and agricultural production.


4 Conclusion

This article designs an audio mouse repeller based on the 51-type microcontroller, which overcomes the shortcomings of the traditional method and creates a more scientific, environmentally friendly and convenient mouse repeller atmosphere. After on-site debugging and testing, which simulated the on-site activities of mice, when the designed mouse repeller was turned on, the mice showed obvious symptoms such as irritability and restlessness. After many tests, it has been proven that this rat repeller has good rat repelling ability.


Reference address:Design of audio mouse repeller using 51 microcontroller

Previous article:External structure of microcontroller and basic explanation of C language programming
Next article:Fingerprint identification module 51 microcontroller program

Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号