Specific implementation functions
The system consists of STC89C52 microcontroller + DS18B20 temperature sensor + digital tube + fan + button + power supply.
Specific functions:
1. Use DS18B20 temperature sensor to measure temperature and use digital tube to display in real time;
2. You can manually set the upper and lower limits of the temperature; there are 3 buttons in total: set button, plus button, minus button;
3. When the temperature is lower than the lower limit, the fan will not rotate. When the temperature is between the upper and lower limits, the fan will rotate at 50%. When the temperature is higher than the upper limit, the fan will rotate at full speed.
design background
In recent years, with the rapid development of the air-conditioning industry, the price of air-conditioning has "dived" significantly, and the electric fan industry has been generally considered a "sunset industry". In fact, this is not the case. Market insiders said that household electric fans have not faded out of the market with the popularization of air-conditioning. On the contrary, there has been a trend of market recovery in the past two years. The main reasons are: first, the cooling effect of fans and air-conditioning is different; (air-conditioning has a powerful cooling function and can quickly and effectively reduce the ambient temperature, but the wind of electric fans is gentler and more suitable for the elderly, children and people with weak constitutions.) Second, electric fans have price advantages. They are cheap and relatively energy-saving, and are very simple to install and use.
Traditional electric fans are mostly controlled mechanically, with few functions, high noise, and large wind speed changes. With the development of science and technology and the improvement of people's living standards, household electrical appliances tend to be automated, intelligent, environmentally friendly and humanized, making the emergence of intelligent electric fans controlled by microcomputers possible.
hardware design
This article introduces the design of an intelligent electric fan speed regulator based on STC89C52 single-chip microcomputer. This design cleverly uses infrared remote control technology, single-chip microcomputer control technology, stepless speed regulation technology and temperature sensor technology, and applies intelligent control technology to the control of household appliances. The motor speed of the electric fan is used as the controlled quantity, and the digital temperature signal collected by the single-chip microcomputer is analyzed, and the fan motor is adjusted through the thyristor. Thus, the wind speed can be automatically adjusted without human control.
Schematic
The schematic diagram of this system was designed using Altium Designer19, as shown in the figure.
program
This design uses KEIL5 software to implement program design, as shown in the figure.
Simulation Implementation
This design uses protues8.7 software to implement simulation design, as shown in the figure.
Previous article:38-Simple fan control based on 51 single chip microcomputer
Next article:36-Soil humidity detection and automatic watering system based on 51 single chip microcomputer
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Detailed explanation of intelligent car body perception system
- How to solve the problem that the servo drive is not enabled
- Why does the servo drive not power on?
- What point should I connect to when the servo is turned on?
- How to turn on the internal enable of Panasonic servo drive?
- What is the rigidity setting of Panasonic servo drive?
- How to change the inertia ratio of Panasonic servo drive
- What is the inertia ratio of the servo motor?
- Is it better for the motor to have a large or small moment of inertia?
- What is the difference between low inertia and high inertia of servo motors?
- Battery Pack BMS Coulomb Counter Chip Solution
- New member, please take care of me
- Application of TI current detection device INA series in TWS battery box
- How to distinguish between pads and vias_Differences between vias and pads
- Could you please tell me what circuit is generally used to implement the 0/4-20mA drive circuit?
- Principle and application of diaphragm pressure gauge
- Today at 10:30 am, Maxim Live Broadcast [IO-Link Solution]
- This week's review information is here~
- [AT-START-F425 Review] No.1 Unboxing AT32F425
- Showing off your products (6) - silicon lab