学位论文-—基于单片机的温度智能风扇设计.doc

0 下载量 175 浏览量 更新于2023-11-24 收藏 1.61MB DOC 举报
affordable cost, small size, and easy operation. However, people's requirements are becoming more and more demanding, and ordinary fans are difficult to meet the needs of the public. This paper designs a temperature intelligent fan, which is composed of four parts: temperature acquisition module, processor, LCD display module, and motor drive module. The temperature acquisition module adopts DS18B20, which is a digital transmission temperature sensor that samples signals to the processor AT89S52 in a high and low level manner, providing a stable signal transmission to the processor. The designed processing center is the AT89S52 microcontroller, which is widely used in the market and is a highly integrated processor. The motor drive module uses L298, which is a full-quad drive chip with 2 sets of circuits that can simultaneously control two motors. It has small size, low price, and high cost performance. When the microcontroller receives the signal from DS18B20, it responds to the motor, and the motor drive module sends the PWM pulse width value and temperature value to the LCD screen. The display module is LCD1602, which has the advantages of almost no flicker and high refresh rate, making it not visually blurry when observed by the user. The temperature fan with these four modules reflects the characteristics of real-time detection, complete functions, and cost-effectiveness. Keywords: intelligent temperature fan; DS18B20; L298